The Research Report
MCP Prompts: The Third Pillar of Server-Defined Intelligence
Why the MCP specification's prompts primitive is the missing piece between tools and resources—and how it's reshaping how agents get their instructions.
You know the pattern. You're building an agent, and the system prompt is a growing monster—2,000 words, then 5,000, then 10,000. Every new capability means another paragraph. Every edge case means another clause. You're hand-editing a document that was supposed to be dynamic, and somewhere along the way you realize: the agent isn't reading most of it anyway.
The Model Context Protocol has a better idea. Three better ideas, actually—tools, resources, and prompts. Tools let servers expose actions. Resources let servers expose data. And prompts? Prompts let servers expose structured, reusable instruction templates that give agents exactly the context they need, exactly when they need it.
If you've been following MCP, you probably know tools and resources well. Prompts is the quiet third pillar—the one that's finally getting the production adoption it deserves. Here's why it matters, how it works, and what happens when teams get it wrong.
The Three Pillars, Revisited
The MCP specification defines three server primitives, each serving a distinct role in the agent-server contract:
| Primitive | Purpose | Analogy |
|---|---|---|
| Tools | Expose callable actions | API endpoints |
| Resources | Expose addressable data | File system / REST responses |
| Prompts | Expose reusable instruction templates | Parameterized prompts / slash commands |
Tools are verbs—things the agent can do. Resources are nouns—things the agent can read. Prompts are scripts—structured instructions the agent can adopt, parameterized with dynamic arguments.
The distinction matters. A tool says "I can run a code linter." A resource says "Here's the linter's configuration file." A prompt says "Here's how you should think about reviewing code, given the language, the team's style guide, and the current diff."
That last one is doing something fundamentally different. It's not just capability or data—it's contextual intelligence, delivered in a format the agent can immediately use.
How MCP Prompts Actually Work
The MCP specification defines prompts through two operations: discovery and retrieval.
Discovery: prompts/list
A client asks the server what prompts are available:
{
"jsonrpc": "2.0",
"id": 1,
"method": "prompts/list"
}
The server responds with a catalog of prompt templates, each declaring a name, description, and the arguments they accept:
{
"prompts": [
{
"name": "code_review",
"description": "Asks the LLM to analyze code quality and suggest improvements",
"arguments": [
{
"name": "code",
"description": "The code to review",
"required": true
}
]
}
]
}
This is discoverable, self-documenting, and paginated. No guessing, no scraping documentation.
Retrieval: prompts/get
When the client (or user) selects a prompt, they provide the arguments and get back a fully-formed message sequence:
{
"jsonrpc": "2.0",
"id": 2,
"method": "prompts/get",
"params": {
"name": "code_review",
"arguments": {
"code": "def hello():\n print('world')"
}
}
}
The server responds with structured messages—multi-turn conversations, not just single strings:
{
"description": "Code review prompt",
"messages": [
{
"role": "user",
"content": {
"type": "text",
"text": "Please review this Python code:\ndef hello():\n print('world')"
}
}
]
}
Notice what just happened. The server didn't just return a string—it returned a conversation structure with roles (user, assistant) and rich content types (text, images, audio, embedded resources). This means a single prompt can encode multi-turn instruction sequences, reference server-side resources, and include multimodal content.
Dynamic Updates
Servers that declare "listChanged": true in their capabilities can notify clients when the prompt catalog changes. This means a server can add, remove, or modify prompt templates at runtime—no restart required, no client-side configuration updates needed.
Why This Is Different from System Prompts
If you're thinking "this is just a parameterized system prompt," you're half right—but the half you're missing is the important half.
System prompts are static. They're baked into the client configuration, hand-edited by developers, and applied universally to every conversation. They can't adapt to what the user is actually doing right now.
MCP prompts are dynamic, contextual, and composable. They live on the server, are discovered at runtime, and are invoked with arguments that reflect the current situation. Consider the difference:
| System Prompts | MCP Prompts | |
|---|---|---|
| Location | Client-side config | Server-side, discovered at runtime |
| Parameters | None (or string interpolation hacks) | Structured arguments with types and descriptions |
| Content | Plain text | Multi-turn messages with roles, images, audio, embedded resources |
| Discoverability | Read the docs | prompts/list — machine-readable |
| Composability | Copy/paste | Servers compose and serve; clients invoke |
| Updates | Edit config, redeploy | Server updates, clients auto-discover |
The practical impact: instead of one monolithic system prompt that tries to cover every scenario, you get a library of focused, context-specific instruction templates that the agent can invoke on demand.
The Anatomy of a Good Prompt Template
Not all prompt templates are created equal. The best ones share a few characteristics:
1. Single-Purpose and Focused
A prompt called doeverything is an anti-pattern. Good prompts do one thing well. Instead of a generic "help the user" prompt, you want troubleshootapierror, generatemigrationscript, explainarchitecture_decision.
2. Well-Documented Arguments
Each argument should have a clear name, description, and required/optional flag. This isn't just courtesy—it's what makes auto-completion and validation possible. The MCP specification supports argument completion through its completion API, meaning clients can offer intelligent argument suggestions.
3. Multi-Turn Structure
Don't cram everything into one message. Use the messages array to construct a proper conversation flow. A code review prompt might start with an assistant message setting up the review criteria, followed by a user message containing the code:
{
"messages": [
{
"role": "assistant",
"content": {
"type": "text",
"text": "I'll review this code for correctness, readability, and potential bugs. Please share the code."
}
},
{
"role": "user",
"content": {
"type": "text",
"text": "Review this Python code for issues:\n{{code}}"
}
}
]
}
4. Embedded Resources
One of the most powerful features: prompts can embed server-side resources directly. This means a prompt template can pull in documentation, configuration files, or reference materials without the client needing to know where they live:
{
"type": "resource",
"resource": {
"uri": "resource://styleguide/python",
"mimeType": "text/plain",
"text": "Content of the Python style guide..."
}
}
This is where prompts and resources genuinely interlock—the prompt provides the structure of the instruction, while resources provide the substance of the reference material.
Production Adoption: Who's Using This
The prompts primitive is moving from specification to practice. Several notable examples:
CallSphere
CallSphere has adopted MCP prompts as a core mechanism for exposing their telephony platform's instruction templates. Rather than requiring developers to hard-code IVR scripts and call handling logic into agent system prompts, CallSphere servers expose prompt templates like handleinboundcall, transfertodepartment, and escalatetomanager—each parameterized with caller context, queue status, and agent availability. The result: agents get situationally appropriate instructions without the client needing to understand telephony domain logic.
AgenticThinking
AgenticThinking made headlines in the MCP community by refactoring their platform's 7 "super-tools"—large, multi-purpose tool definitions—into 20 focused operations, many of which are now exposed as prompt templates rather than tool calls. The insight: not everything a server offers is an action. Some of it is instruction. By moving their decision-making heuristics, workflow orchestrations, and reasoning frameworks from tools to prompts, they reduced token overhead, improved discoverability, and made their platform's intelligence composable in ways that monolithic tool descriptions never could.
This is the pattern to watch: when your tool description is longer than most system prompts, it's probably a prompt template in disguise.
Hugging Face MCP Course
Hugging Face's official MCP course now includes a dedicated module on prompts, treating them as a first-class concept alongside tools and resources. The curriculum walks developers through building a prompt server from scratch, including argument validation, multi-turn message construction, and the completion API. This is a meaningful signal: one of the largest ML platforms in the world is teaching prompts as a standard part of the MCP developer experience, not an advanced optional feature.
Anti-Patterns: What Allen Chan Wants You to Stop Doing
Allen Chan's "AI Agent Anti-Patterns Part 4: MCP Tools" (published June 20, 2026) has become a reference document for MCP integrators, and its lessons apply directly to prompts. Several anti-patterns Chan documents for tools have direct analogues in the prompts world:
Anti-Pattern 1: Prompts-as-Dumping-Grounds
Just as some teams overload tool descriptions with every possible parameter and edge case, some early MCP implementations treat prompts as a place to dump entire system prompts. A prompt that returns 3,000 words of generic instructions isn't a prompt template—it's a system prompt that happens to be served over JSON-RPC. Good prompts are scoped, purposeful, and parameterized.
Anti-Pattern 2: Ignoring the User-Controlled Model
The MCP specification is explicit: prompts are user-controlled. They're designed to be surfaced through UI affordances like slash commands, not injected silently into agent context. If your server exposes a prompt called secretoptimizationhint that the user never sees, you've misunderstood the model. Prompts are for user-initiated context switches.
Anti-Pattern 3: Mixing Tools and Prompts
This is the subtle one. If your prompt's primary effect is taking an action—creating a resource, modifying state, triggering a side effect—it should be a tool. If its primary effect is shaping the agent's thinking—providing context, setting criteria, establishing a frame—it should be a prompt. When a prompt has side effects, you've crossed a boundary that breaks the user-controlled model.
Anti-Pattern 4: No Argument Validation
The spec requires servers to validate prompt arguments. Missing a required argument? Return -32602 (Invalid params). Invalid argument value? Same. A prompt template that silently ignores bad arguments is a prompt template that will produce silently wrong outputs.
Building Your First Prompt Server: A Quick Pattern
Here's a minimal pattern for exposing prompts from an MCP server:
// Register a prompt template
server.setRequestHandler(ListPromptsRequestSchema, async () => ({
prompts: [
{
name: "debug_error",
description: "Provides a structured debugging workflow for a given error",
arguments: [
{
name: "error_message",
description: "The error message to debug",
required: true,
},
{
name: "language",
description: "Programming language context",
required: false,
},
],
},
],
}));
// Handle prompt retrieval
server.setRequestHandler(GetPromptRequestSchema, async (request) => {
if (request.params.name !== "debug_error") {
throw new Error("Unknown prompt");
}
const { error_message, language } = request.params.arguments;
return {
description: "Structured debugging workflow",
messages: [
{
role: "user",
content: {
type: "text",
text: `Debug this error: ${error_message}\n\nLanguage: ${language || "unknown"}\n\nWalk through: (1) reproduce, (2) isolate, (3) identify root cause, (4) propose fix.`,
},
},
],
};
});
Notice the structure: discovery is separate from retrieval, arguments are validated, and the response is a proper message array. This is the pattern that scales.
The Composability Promise
Here's where prompts get genuinely exciting. Consider a scenario where:
- A documentation server exposes a prompt called
explain_conceptthat takes a topic and returns structured explanations with embedded resource references. - A code server exposes
review_prthat takes a diff and returns a review checklist. - A deployment server exposes
rollout_planthat takes a target environment and returns a step-by-step deployment guide.
An agent connected to all three servers can compose these prompts in sequence: understand the change → review the code → plan the deployment. Each prompt provides domain expertise that the agent's base system prompt could never contain. Each is maintained by the team that owns that domain. Each is versioned, documented, and discoverable through the protocol.
This is the composability promise of MCP prompts: domain expertise, served on demand, without hand-editing a single system prompt.
Security Considerations
The MCP specification is explicit about security:
- Validate all inputs. Prompt arguments are user-supplied. Treat them as untrusted. Validate types, lengths, and formats before interpolation.
- Validate all outputs. Ensure the generated messages don't leak sensitive data or contain injection payloads.
- Respect the user-controlled model. Prompts should be visible to users. Don't use them as a covert channel for instructions the user wouldn't endorse.
- Scope resource access. When prompts embed resources, ensure the user has access to those resources. A prompt shouldn't bypass access controls.
These aren't theoretical concerns. As MCP adoption grows, prompt injection through maliciously crafted arguments is a real attack surface. Treat your prompt templates with the same rigor you'd apply to any API endpoint.
When to Use Prompts vs. Tools vs. Resources
The decision framework is simpler than it sounds:
- Use Resources when the server has data the agent needs to read — files, records, configurations, documentation.
- Use Tools when the server has actions the agent needs to execute — API calls, state mutations, side effects.
- Use Prompts when the server has instructional context the agent needs to adopt — workflows, frameworks, decision criteria, domain expertise encoded as structured messages.
If you're unsure, ask: "Is the primary value here information (resource), action (tool), or instruction (prompt)?" That usually resolves it.
And if the answer is "all three" — congratulations, you've found a place where all three primitives compose together. That's MCP working as designed.
Looking Ahead
MCP prompts are the youngest of the three primitives, and the ecosystem is still catching up. But the trajectory is clear:
- Tooling is maturing. SDKs for TypeScript, Python, and other languages now support prompts as a first-class feature.
- Courses and documentation are expanding. Hugging Face's MCP course is a bellwether.
- Anti-patterns are being documented. Allen Chan's work and the growing body of integration experience are helping teams avoid common mistakes.
- Composability is becoming real. As more servers expose prompts, the network effects compound. An agent that can discover and invoke specialized instruction templates from multiple servers is fundamentally more capable than one that relies on a single, hand-crafted system prompt.
The future of agent instruction isn't a single, monolithic system prompt. It's a distributed library of contextual, parameterized, discoverable prompt templates—each maintained by the domain experts who understand them best, each available on demand through a standard protocol.
MCP prompts are how we get there.
The MCP specification's prompts primitive is defined in the official specification. For implementation guidance, see the MCP TypeScript and Python SDKs.