What does your business look like to an assistant that never loads your homepage? When an agent reaches you through a Model Context Protocol server, it sees no layout, no hero image and no navigation — only the capabilities your endpoint declares and the words you chose to describe them.
That surface is smaller than a website, and the agent reads it far more literally. Accordingly, this note reads the MCP specification as written: what it defines, what it leaves to the operator, and where an endpoint can recognise, route and receipt an agent instead of turning it away.
Where MCP Came From And Which Revision We Are Reading
Anthropic introduced the Model Context Protocol on November 25, 2024, as an open standard for connecting assistants to the systems where data and actions live. Since then it has spread beyond its origin, and OpenAI, for instance, documents MCP as a built-in integration in its Agents SDK.
The spec is versioned by date. The revision cited here, 2025-06-18, builds on the 2025-03-26 revision that first added an authorization framework and the Streamable HTTP transport, so check the specification changelog for anything newer before you build against it.
The Handshake: What The First Message Declares
Every MCP session opens with an initialize request sent over JSON-RPC 2.0. The lifecycle section specifies that the client sends the protocol version it supports, its capabilities, and a clientInfo object naming the client and its version.
A trimmed client request looks like this:
{
"jsonrpc": "2.0",
"id": 1,
"method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "ExampleAssistant", "version": "1.4.0" }
}
}
The server answers in kind. Its reply carries the negotiated protocol version, the server's own capabilities, a serverInfo object, and an optional instructions string, which is free text the client may pass to the model as context on how to use the server:
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"protocolVersion": "2025-06-18",
"capabilities": { "tools": { "listChanged": true }, "resources": {} },
"serverInfo": { "name": "front-desk", "version": "2.0.0" },
"instructions": "Call check_availability before create_booking."
}
}
Keep in mind that the client writes clientInfo about itself. It works like a User-Agent header — useful for routing and analytics, and only as trustworthy as whoever typed it, which is the distinction drawn in declared versus undeclared agent signals.
That said, the instructions field is the one place the spec gives you a paragraph of your own. Write it the way you would brief a new hire on the front desk: what this server is for, which tool to call first, and what it should never be used for.
Tools: The Verbs You Hand The Model
Tools are the part of MCP most operators picture first. The tools section calls them model-controlled: the language model discovers them and decides when to call them, and the spec recommends that a human be able to deny an invocation.
A client lists tools with tools/list and calls one with tools/call. Each tool definition carries the following fields:
- name. A unique identifier the model uses in the call. Treat it as a stable contract, because renaming a tool breaks every agent workflow that learned the old name.
- title. An optional human-readable label added in the 2025-06-18 revision, meant for display rather than for the model.
- description. Plain-language text explaining what the tool does. In practice, this is the copy the model reads when it chooses between your tools and someone else's.
- inputSchema. A JSON Schema object that defines the expected arguments. It is your first validation layer, and it tells the agent exactly what you need before you will act.
- outputSchema. An optional schema for structured results, also new in 2025-06-18, so the caller can parse your answer without guessing.
- annotations. Optional hints about behaviour, covered below.
All of these fields together are the closest thing an agent has to your service menu. In fact, an ambiguous description costs more here than on a web page, because the model has no surrounding context to fall back on.
What Annotations Promise And What They Do Not
The 2025-03-26 revision introduced four tool annotations: readOnlyHint, destructiveHint, idempotentHint and openWorldHint. They let a server signal that a tool only reads data, may make irreversible changes, is safe to retry with the same arguments, or reaches external systems beyond its own domain.
However, the spec says plainly that these are hints. It tells clients to treat annotations as untrusted unless they come from a trusted server, so a destructiveHint of false never replaces an authorization check on your side.
How A Tool Reports Back
A tools/call result returns a content array — text, images, audio, embedded resources or resource links — along with an isError flag. Note that the spec separates two kinds of error: protocol errors, which come back as JSON-RPC errors for cases like an unknown tool, and tool execution errors, which come back as a normal result with isError set to true so the model can see what went wrong and try again.
That distinction matters for routing. A booking tool that answers "that slot is taken, here are three open alternatives" with isError set keeps the agent in the conversation, while a bare protocol error sends it somewhere else.
Resources And Prompts: The Other Two Primitives
Tools get the attention, yet the spec defines two other server primitives, each with its own control model. The server features overview says it plainly: prompts are user-controlled, resources are application-driven, and tools are model-controlled.
Here is how the three compare as written:
| Primitive | Who controls it | Discovery method | What it is for | |---|---|---|---| | Tools | The model | tools/list | Actions with arguments and results | | Resources | The client application | resources/list, resources/templates/list | Context data addressed by URI | | Prompts | The user | prompts/list | Templated messages a user selects |
Resources are addressed by URI and read with resources/read. A server can publish fixed resources, such as a policy document, a price list or a service-area definition, or it can publish URI templates that let a client build addresses, and clients may subscribe to change notifications where the server supports them.
Prompts, by contrast, are templates shown to the human, often as slash commands. For a front door, a prompt such as "request a quote" with declared arguments gives the user a well-formed starting point that lands on the right tool every time.
Authorization: How The Spec Lets You Know Who Is Calling
Authorization is optional in MCP, and the spec scopes it carefully. The authorization section applies to HTTP-based transports, while servers on the stdio transport are told to get credentials from the environment instead.
Where it applies, the 2025-06-18 revision classifies the MCP server as an OAuth 2.1 resource server. The required pieces read as follows:
- Protected Resource Metadata. Servers must implement RFC 9728 so a client can discover which authorization server issues tokens for them.
- The 401 pointer. An unauthenticated request gets a 401 with a WWW-Authenticate header that points to that metadata document, which turns a refusal into directions.
- Authorization server discovery. Authorization servers must publish RFC 8414 metadata and should support RFC 7591 dynamic client registration, so a new agent can register without anyone filing a ticket.
- Resource indicators. Clients must send the RFC 8707 resource parameter, which ties each token to the specific server it was requested for.
- Audience validation. Servers must check that each token was issued for them and reject any that were not.
The 401 response, shortened, looks like this:
HTTP/1.1 401 Unauthorized
WWW-Authenticate: Bearer resource_metadata="https://mcp.example.com/.well-known/oauth-protected-resource"
What's more, the spec forbids token passthrough. An MCP server that calls an upstream API must use separate credentials for it, so every downstream action traces back to your server rather than to a borrowed token.
The web layer makes the same move with signed agent requests, and the phone layer makes it with STIR/SHAKEN attestation levels. In each case the standard gives the receiving side a claim it can verify and act on, rather than a self-description it has to take on faith.
Recognise: Reading The Signals In Order
Put together, an MCP endpoint receives three tiers of signal, and they deserve different weight. Here is the order we would read them in:
- Transport and protocol version. The MCP-Protocol-Version header, which the 2025-06-18 revision requires on HTTP requests after initialization, tells you which feature set the client speaks before you parse a body.
- Declared identity. clientInfo names the client application. Log it and route on it, but never grant access on it alone.
- Verified identity. The access token's audience, subject, client and scopes tell you who authorized this agent and what they allowed it to do. This is the signal worth building policy on.
Accordingly, treat an unauthenticated agent as a caller you have simply not met yet. The 401-plus-metadata pattern exists so the agent can get the right credential and come back, which is the protocol-level version of the third kind of caller the rest of the front desk is learning to greet.
Route: Let The Token And The Tool List Do The Work
Once a caller is recognised, routing in MCP happens in two places. First, nothing in the spec requires every session to see the same tool list, and the notifications/tools/list_changed message lets a server tell the client when its tools change, so an authenticated session can be offered a booking tool that an anonymous session never sees.
Next, scopes narrow what each call may do. For example, a read scope might unlock availability and pricing resources while a write scope gates the tool that actually commits a reservation — and that decision lives in your authorization layer, where the spec puts it, rather than in an annotation.
Remember that the description field is part of routing too. If two of your tools sound alike, the model will guess, and a guess is the most expensive route you can offer.
Receipt: What The Spec Gives You To Keep
The spec does not define an audit log. That said, it gives the operator every field a receipt needs: a JSON-RPC request id on each call, an Mcp-Session-Id header on Streamable HTTP sessions where the server assigns one, the tool name, the validated arguments, the result and, where authorization is in use, the token's subject and client.
A receipt worth keeping records all of the above as one entry per call. Keep in mind that the person behind the agent may later ask what was done for them, and an answer tied to a verified token and a session id is one you can stand behind.
Moreover, structured output closes the loop for the caller. When a tool returns structuredContent that matches its declared outputSchema, the agent gets a confirmation it can parse — a booking reference, a quote number, a timestamp — instead of prose it has to interpret.
What The Spec Leaves To You
All of the above is what the protocol defines. Several decisions stay with the operator, and most of the real design work happens there:
- Which tools to expose. The spec describes how to declare a tool, not which of your operations deserve one.
- What a description says. The model reads your copy literally, so it deserves the same editorial care as a pricing page.
- How policy maps to scopes. OAuth carries the scopes, and your business rules decide what each one means.
- How long receipts are kept. Retention, redaction and who can query the log are your decisions and, in regulated settings, your obligations.
Overall, MCP gives a business a front door with a nameplate, a menu, and a lock that knows whose key it is. For how agent traffic is measured across channels, see the current Aethelforge Index and the method behind it, or browse the rest of the standards hub.