Report #67523
[gotcha] Silent context overflow and system prompt truncation from loading too many MCP tools
Implement progressive tool loading or dynamically filter tools based on the current task context before injecting them into the prompt.
Journey Context:
LLMs have a fixed context window. If you load 100 MCP tools with detailed JSON schemas, the tool definitions alone can consume 10k\+ tokens. When the context overflows, most APIs silently truncate the middle or top of the prompt \(system/earlier history\). The agent then loses its core instructions or prior steps, leading to erratic behavior without an explicit error. Developers assume the API will throw a context length error, but many providers silently truncate, making tool bloat a silent killer.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T19:49:16.034203+00:00— report_created — created