What each server's tool list cost
Measured 16 Nov 2026: each server's real tools/list, pasted into a prompt the way Qwen3.5's chat template does it,
counted with Qwen3.5's tokenizer (other models' tokenizers give slightly different counts).
| Server (version) | Tools | Tokens in every prompt |
|---|---|---|
Notion (@notionhq/notion-mcp-server 2.6.1) |
24 | 21,914 |
Playwright (@playwright/mcp 0.0.85) |
25 | 5,136 |
Filesystem (@modelcontextprotocol/server-filesystem 2.3.0) |
16 | 3,719 |
Memory (@modelcontextprotocol/server-memory 2.1.1) |
9 | 2,342 |
Context7 (@upstash/context7-mcp 4.7.1) |
2 | 1,337 |
| My airline desk (7 clearly described tools) | 7 | 1,042 |
| My 7 + Notion, Playwright, Filesystem, Memory | 81 | 33,365 |
Notion's tools are big because each one carries the full shape of a Notion API call.
What it did to the answers
Episode 13's 30 requests to a made-up airline desk (Qwen3.5 at 4 bits on a 2020 MacBook Air, thinking off, one request at a time). A request counts as right only if the app could run the call as written, or, when no tool fits, if the model presses nothing.
- Small model (Qwen3.5 2B): 25/30 alone, 17/30 with the four servers. (Episode 13's run of the same 7 tools
scored 26; one answer changes between runs.) It said no to impossible requests 3 times in
6 (6 of 6 alone), pressed its own "where is the bag" tool when asked to deliver or move a bag, and asked to refund a
ticket (no refund tool exists), it wrote a call to Notion's
API-retrieve-a-pagewith the booking code as the page ID. - Twice the size (Qwen3.5 4B): 29/30 alone, 28/30 crowded. But both of its new mistakes were requests it should have
refused: for the refund it wrote a call to Notion's
API-patch-page(an edit), for a seat upgradebrowser_navigate. - Time: the small model's first crowded answer took about 5 minutes just to read the tool lists; after that, answers took about twice as long as with 7 tools.
- These are the calls the models wrote; nothing was run. One machine and 30 requests: an example, not a benchmark.
How to check yours
Claude Code
/mcp: your connected servers, each with its tool count./context: what's using your context window, MCP tools included.- Claude Code uses tool search by default on current models: only tool names (and server instructions) load at the
start, and a full tool definition loads when Claude needs it. So adding servers costs far less there than in a simple
agent. (
ENABLE_TOOL_SEARCH=falseturns it off and loads every tool upfront; see the Claude Code docs, "MCP".)
Your own agent (any app that calls tools/list and passes everything to the model)
- Count it: dump the tools you send the model and count the tokens with your model's tokenizer (or its API's token counter). If the tool lists are more than a few thousand tokens, that's reading the model does before every question.
- Connect only the servers this task needs, or load tool definitions on demand (search first, then load).
The checklist (save this)
- Check the cost (
/contextin Claude Code, or count your own agent's tool tokens). - Plug in only what the task needs. Unplug servers you haven't used this week.
- Describe every tool clearly: what it does, when to use it, the exact format with an example, when to say no (episode 13: clear descriptions took the same model from 14/30 to 26/30).
- Edits and deletes ask first. A model reached for a Notion edit when it should have said no. The MCP spec itself says hosts must get the user's consent before invoking a tool.
Try it: a whole MCP server in 15 lines
With the official Python SDK (pip install "mcp>=1.30"), save as server.py:
from mcp.server.fastmcp import FastMCP
mcp = FastMCP("zephyra-desk")
@mcp.tool()
def flight_status(flight: str) -> str:
"""Get the live status (on time, delayed, departed) of one Zephyra Air flight.
flight: the flight number exactly like 'ZP 311' (capital ZP, a space, 3 digits).
"""
return f"{flight}: delayed 2 h 40 min, new departure 16:55, gate B12."
if __name__ == "__main__":
mcp.run() # stdio: the app starts this file and talks to it in lines of JSONAdd it to Claude Code (use the full path to the Python that has mcp installed):
claude mcp add-json zephyra '{"type":"stdio","command":"python3","args":["/full/path/to/server.py"]}'Then ask "Is flight ZP 527 on time?". The same file works in Gemini CLI (an mcpServers entry in
.gemini/settings.json) and any other MCP app.
Sources: modelcontextprotocol.io (current specification 2026-07-28; tested with protocol 2025-11-25); Linux Foundation, Agentic AI Foundation announcement (9 Dec 2025); Claude Code docs, "MCP" (tool search). Tested with Claude Code 2.1.325, Gemini CLI 0.34.0, MCP Python SDK 1.30.0. Not sponsored.