How it works
The client lives in the host, beside the model call. It spawns a local server or dials a remote one, finishes initialize, and holds the session. It turns tools/list into the tools array the provider API expects: name, description, JSON schema. When the model returns a tool call, the client sends tools/call with that name and those arguments, then maps content blocks into a tool message on the provider follow-up. Resource reads and prompt fetches take the same path from session to context.
Translation is where mismatches hide. A client can drop a tool whose schema uses a keyword it does not understand, keep a stale list after the server changed a name, or attach a result to the wrong call id. It also decides whether a resource read needs a person to approve the bytes before they enter the prompt. The client is not the server and it is not the model. A trace that shows only the provider tool call hides the session the client spoke.
A worked example
A design host mapping tools/list
Host: a layout editor. Client: in-process, session to the file server.
Server tools/list returns three tools: open_board (board_id), export_png (board_id, scale), list_comments (board_id).
The client builds the provider tools array with those names and schemas, and sends it on the model request.
User: Export the checkout board at 2x.
Model returns a provider tool call, name export_png, arguments {"board_id":"checkout","scale":2}, id "call_c2".
Client sends MCP tools/call export_png with those arguments, receives a content block with the file URI, and posts a provider tool message on call_c2 with that URI.
Next week the server renames export_png to render_png. A client that keeps Monday's list still offers export_png. The model calls export_png, the server answers unknown tool, and the editor says it cannot see the checkout board. A client that had refreshed tools/list would have offered render_png instead.
Illustrative example, not a production trace and not a measured result.
What goes wrong
- The client drops list_comments because the schema has an unfamiliar keyword. The model never hears that comments exist, and a question about notes gets a guess even though the comments are still on the board.
- The tool message is posted against call_c9 while the model emitted call_c2. The provider rejects the follow-up, and the URI never enters context.
- Approval for a resource read is skipped, and a board the person did not open is inserted into the prompt because the client auto-forwards every read.
How to measure it
Log the tools/list the client last applied, the provider tools array it produced, and each tools/call paired with the provider call id. A name in the provider array that is absent from a fresh tools/list is a stale client cache.
When a designer corrects the board name, or says the editor described an old file, compare the arguments on the MCP call with the list that was current. The correction marks a client that called with yesterday's schema.
Further reading
How Abracadabra helps
A designer who corrects the board name after the reply described an old file is showing that the client called with a stale list rather than the tools the server advertises now.
Tool events are searchable even when the person never wrote a complaint. Abracadabra keeps the task outcome next to those calls, because a tool can return success while the task is unfinished. MCP analytics, which would group calls by server and tool, is in early access.
Request access to read this on your own agent.