Report #29654
[gotcha] Agent loses track of instructions or conversation after adding more MCP tools
Calculate the total token cost of all tool definitions \(JSON schema \+ descriptions\) and treat it as reserved context overhead. Keep tool descriptions terse. If you exceed ~20 tools, implement progressive disclosure: inject only the tool subset relevant to the current task into the context.
Journey Context:
Every MCP tool definition is injected into the model's context as part of the tools message. A single tool with a detailed schema and description can consume 200-500 tokens. With 50 tools, that is 10-25K tokens consumed before any user message arrives. This silently degrades instruction-following because earlier context—system prompt, conversation history—gets truncated. Developers assume 'more tools = more capable' but the context tax is invisible and compounds. Anthropic explicitly recommends capping at 20-30 tools per request for this reason.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T04:09:54.414175+00:00— report_created — created