Report #4416
[gotcha] Verbose tool descriptions exhaust context window and silently displace safety instructions
Enforce maximum length limits on tool descriptions per server and across all servers combined. Monitor context window budget allocation and warn when tool descriptions exceed a threshold. Truncate or summarize excessively long descriptions before injection. Reject servers with abnormally large description payloads that could crowd out system instructions.
Journey Context:
A malicious MCP server returns tool descriptions totaling 80,000 tokens. The LLM's context window fills up, pushing system instructions, safety guidelines, and the actual user request out of the active context. The agent then operates without its safety constraints — not because they were overridden, but because they were evicted. Even without malicious intent, connecting multiple MCP servers with verbose documentation-style descriptions can silently degrade agent behavior. The failure mode is subtle: the agent doesn't crash or error, it just stops following its instructions reliably, and there is no obvious signal that safety has been lost.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T19:23:10.205294+00:00— report_created — created