Cutting MCP tools from 7 to 2: 7% cheaper API calls but 18% more tokens
Independent-Flow3408 · reddit · 2026-11-23
The author of SigMap, an open-source repository navigation MCP server, trimmed its tool surface for code-location tasks from seven tools to two (querycontext and getlines), dropping impact analysis, callees, and verification. In a held-out 20-repo agent study (Messages API, Haiku 5.5), the lean setup cut API cost 7% (95% CI -13%-2%) while time stayed flat (+1%) and total tokens grew 18%. Token accounting: 426 tool-definition tokens per turn for locate vs 1505 for core. The author cautions two tools aren't always better — editing-and-verify workflows may need the removed tools — and asks other MCP builders whether they ship broad toolsets, task-specific profiles, or dynamic discovery. The attached screenshot shows SigMap's GitHub page (97% token reduction, 38 languages).
More from coding & agent
- ME uses AI to design a robot from photos of his parts inventory: "a better engineer than me" — burhop · 2026-11-23
- SigMap study across 20 repos: leaner agent context cut cost 7% but grew tokens 18% — Independent-Flow3408 · 2026-11-23
- Declarative Software Factory: making 'Done' explicit as agents do the work — hwchase17 · 2026-11-23
- huashu-design 3.5 ships: WeChat mini-program design support, two days after 3.4 — AlchainHust · 2026-11-23
- Dev Fixes 3 Agent Eval Holes: Blind Recount Hits 89% Agreement, Pooled 4% Miss Rate Hid a Bad Lane — armanidev_ · 2026-11-23
- Firecrawl vs context.dev: Developers weigh web data stacks for AI agents — lewishorsley96 · 2026-11-23