Your agent, real MCP tools
Where the model, your agent and the server each do their part.
An agent using MCP does two jobs: give the model the tools from tools/list, and turn each tool request into a tools/call. A real run against a real server:
Before the first call, the agent asked the server tools/list and handed those 3 tools to the model. The model never talks to the server; your agent does.
- model calls
- 1
- tool calls
- 0
- tokens in
- 191
- tokens out
- 20
- time
- 1.1s
Task Where is my order A12?
You
task
Model1.1s
get_order
find_orders
track_shipment
Model call 1. It read 191 tokens and wrote 20. It asked for a tool, so it isn't done.
get_order({"order_id":"A12"})
stop_reason: tool_use
Context window
191 tokens sent
- Your messages6
- Tool definitions157
- System prompt28
0.02% of the 10,48,576-token window. Every call sends all of it again.
Context window191 tokens sent
- System prompt28
- Tool definitions157
- Your messages6
Who sends tools/call to the MCP server?