Every tool, every prompt
crowded51,220
tokens before any work, for 60 tools from 4 servers.
Module 64 · Tools and MCP in production
Every tool has a painted outline: the one you approved. Load tools only when a request needs them, and refuse any that no longer fits its outline.
The whole idea in one example
51,220
tokens before any work, for 60 tools from 4 servers.
3,040
tokens: the search tool and the three tools it found for one request.
A toy workshop: the servers are made up and tool sizes are hand-set.
How it works
60 definitions crowd the prompt and the pick
Anthropic’s tool search docs (checked November 2026): Claude’s ability to pick the right tool degrades once more than 30–50 tools are available.
Source, checked 3 November 2026
A search loads only the few tools a request needs
Anthropic’s tool search docs (vendor-reported): searching for tools typically cuts the tokens spent on definitions by over 85%, loading only the 3–5 tools a request needs.
Source, checked 3 November 2026
A tool you approved can change tonight, and no longer fit
Invariant Labs (April 1, 2025) call it a rug pull: a malicious server can change a tool’s description after the client has already approved it.
Source, checked 3 November 2026
A description can carry orders only the model reads
Invariant Labs (April 1, 2025) showed a tool whose description hid an order to read the user’s SSH key file and send it along: the person never saw it, the model did.
Source, checked 3 November 2026
The story
Larkspur Supply Co.’s assistant hangs 60 tools from 4 supplier servers on a workshop shadow board, and learns to load, check and sign in to them safely. You help Tomás decide what hangs on the board.
Your path

Chapter 1 · done
What does loading every tool cost, and what does it do to the pick?






Chapter 7 · done
Which servers do you trust, pin and load only when needed?
Anyone connecting an assistant to outside tool servers. Tool calling and Dependencies first help; no maths is needed.