AI / Agentic AI Interview Questions
Why does context bloat occur when multiple MCP servers are connected simultaneously?
Each MCP server an agent connects to injects its own tool metadata, descriptions, and prompt templates into the model's context window, and those injections stack up as more servers are added.
- The model ends up sorting through far more tool options than are relevant to its current task
- Extra, unused context still consumes tokens and can dilute the model's attention on what actually matters
- Left unmanaged, this can degrade tool selection accuracy even though each individual server's metadata is reasonable on its own
Mitigations like selective tool injection and centralized orchestration gateways exist specifically to expose only the tools relevant to the current step, instead of dumping every connected server's full capability list into context at once.
More Related questions...