Report #54100
[gotcha] Tool definitions consume thousands of context tokens before any user message is processed
Audit total token count of all tool JSON schemas combined. Use tool namespacing or on-demand tool loading to expose only a relevant subset per task. Strip verbose descriptions and enum lists from schemas; move examples into a separate reference tool.
Journey Context:
Every MCP tool's name, description, and inputSchema is injected into the LLM context as part of the system prompt. A single tool with a detailed description and a complex Zod/JSON schema can cost 200-500 tokens. With 40 tools you easily burn 4000-8000 tokens before the user even speaks. This silently shrinks the effective conversation window, causes earlier truncation of chat history, and degrades reasoning—yet the symptom is never attributed to tool bloat because the tool definitions are invisible in the chat UI. Teams add 'just one more tool' until the model starts forgetting earlier conversation turns and nobody connects the dots.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T21:18:01.370764+00:00— report_created — created