Dozens of MCP tool schemas eat your agent's context — defer with alwaysLoad
Independent-Sir3234 · reddit · 2026-11-16
A Reddit post breaks down how MCP tool schemas burn system-prompt context before your agent writes any code: a server exposing 30-40 tools serializes every schema (names, parameter types, descriptions) into the prompt each turn, costing thousands of tokens and confusing tool selection.
Fixes
- In hosts with tool discovery (Claude Code and other agent runners), keep tools deferred until explicitly searched
- Set alwaysLoad: false in the MCP server config (or globally via ENABLETOOLSEARCH) to keep large tool bundles out of turn-1 context
- Mark only must-have tools (file search, terminal execution) as upfront loads
- For agents without dynamic tool search, group granular actions into a single CLI runner or scoped endpoints instead of registering 40 endpoints
More from coding & agent
- Jay Alammar's An Illustrated Guide to AI Agents tops Amazon AI bestsellers with 300+ figures — JayAlammar · 2026-11-16
- Dev vibe-codes a retro CD crate app "My 20" in just a handful of prompts — evilrabbit_ · 2026-11-16
- Nebius analyzes 143K coding-agent trajectories: equal solve rates, very different behaviors — nebius · 2026-11-16
- Perplexity agents can cite every number in financial research to the exact filing line item — AravSrinivas · 2026-11-16
- VibePrevisBench: a benchmark turning scripts, photos or videos into executable Blender 4D scenes — _akhaliq · 2026-11-16
- Weaviate paper: tiered retrieval effort lets you trade accuracy, latency and cost per query — CShorten30 · 2026-11-16