by Samy (Kondasamy Jayaraman)

Module 64 · Tools and MCP in production

Advanced

A shadow board for tools

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.

Read as
???

The whole idea in one example

Every tool loaded, or only what a request needs

Every tool, every prompt

crowded

51,220

tokens before any work, for 60 tools from 4 servers.

Search, then load

lean

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

Four ideas carry the module

  1. ???

    1 Every tool, every prompt

    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

  2. ...

    2 Fetch when needed

    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

  3. ???

    3 Tools change

    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

  4. !!

    4 Hidden orders

    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’s tools come from outside

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.

51,220
tokens to load every toy tool, on every request
3,040
tokens when a search loads three
30–50
tools, past which Anthropic says picks degrade
11 of 15
requests done in the best hand-written week, with no leaks

Your path

The chapters

  1. Chapter 1

    60 tools, one prompt

    What does loading every tool cost, and what does it do to the pick?

  2. Chapter 2

    Fetch when needed

    How much does loading only the tools a request needs save?

  3. Chapter 3

    The tool changed

    What happens when a server changes a tool you already approved?

  4. Chapter 4

    A fingerprint per tool

    How do you notice a tool changed before the model uses it?

  5. Chapter 5

    Hidden instructions

    Can a tool’s description give the assistant orders?

  6. Chapter 6

    Who is calling

    Why should each server get its own sign-in, never one shared key?

  7. Chapter 7

    Workbench: a week of changes

    Which servers do you trust, pin and load only when needed?

Who it’s for

  • Engineers
  • Product managers
  • Security
  • No code needed

Anyone connecting an assistant to outside tool servers. Tool calling and Dependencies first help; no maths is needed.