Engineering brief
Context Bloat Will Drain Your AI Budget—Fix It with Just-in-Time Tools
This engineering brief covers Context Bloat Will Drain Your AI Budget—Fix It with Just-in-Time Tools, with practical context for AI and developer-tool decisions.
The Brief
A demo showed token usage jump from 20 to 3,500 simply by attaching unused MCP servers. Gateway-based tool filtering and dynamic registry discovery can deliver tools “just in time,” shifting the cost burden from developers to infrastructure—but production evidence is missing.
Decision relevance
Read this for workflow impact, implementation trade-offs, and the claims that need technical scrutiny before they reach team planning.
Summary
The talk’s main signal is that attaching MCP servers “just in case” creates hidden cost and latency. A demo shows a prompt using 20 tokens jumps to 3,500 tokens when three unused MCP servers are connected—a 175x increase. This context bloat affects every call, draining budgets and increasing reasoning time without added value.
The proposed fix combines two infrastructure patterns: an MCP gateway that filters tools by identity, reducing the exposed tool surface for each caller, and an MCP registry that lets agents discover relevant tools at runtime. Together, they shift from static tool attachment to dynamic, just-in-time provisioning.
However, the evidence is entirely demo-scale. There’s no production data, no cost comparisons, and no discussion of failure modes. Identity propagation for agents (on-behalf-of) remains incomplete. The registry’s semantic search is currently rudimentary—regex-based in the Anthropic implementation—and embedding-based improvements are still speculative.
For engineering leaders, the takeaway is that architecture, not prompting, will control token economics. Investing in API-level governance now can prevent tool bloat as MCP adoption scales. The gateway-registry pattern mirrors service-mesh lessons, but it’s early; treat the approach as a promising direction, not a proven solution.
Why It Matters
Unmanaged MCP tool bloat will silently sink AI budgets and latency; gateway-mediated just-in-time tooling offers a scalable fix.
Editorial analysis
Key claims
- Don’t attach MCP servers “just in case”—use infrastructure to deliver tools only when needed, or watch costs explode.
Practical use cases
- Use this as input for tooling evaluation, workflow planning, and technical due diligence.
Risks / caveats
- Marketing fluff about Kong’s platform; focus on the architectural patterns, not product specifics.
Who should care
- Engineering managers, tech leads, and CTOs evaluating AI or developer tooling decisions.
Related topics
Bottom Line
Don’t attach MCP servers “just in case”—use infrastructure to deliver tools only when needed, or watch costs explode.
Watch
This video is blocked due to your privacy settings. To watch this video, please accept YouTube marketing cookies.
Related breakdowns
AI’s Real Bottleneck: Context, Not Compute
CAST’s graph halved token use and doubled accuracy, letting a team cut a mainframe modernization from 7.5 years to 3.
eBPF’s Pre-Hook Enforcement Changes Vulnerability Management
eBPF blocks exploits before they run—live CVE mitigation without reboots. Complexity is hidden behind tools like Tetragon/Cilium. Ready?
AI Security Asymmetry and Guardrail Friction: Costly Tradeoffs Ahead
AI attacks are cheaper than defense. Opus 5 guardrails frustrate developers. Midjourney's astrology buy hints at ritualistic AI. Governance is the real…
Get TL;DW
Too Long; Didn't Watch.
A concise breakdowns of the AI and devtools videos that actually matter for engineering leaders.
Free. Weekly. No hype.
Video and thumbnails remain the property of their respective creators. tldw.news provides editorial analysis, commentary, and discovery links to original content.