Firegoat finds GitHub MCP payloads beat tool count
Firegoat ran 36 Claude Code evals across three versions of GitHub's MCP server and found that consolidating 55 flat tools into 40 method-based tools barely moved accuracy or token spend. The real gains came in v2.3.0, where returning linked data like closing PRs directly in issue payloads cut token usage up to 68% and eliminated rate-limit failures.
The MCP ecosystem has been obsessing over tool counts and schema compression as if upfront definitions are the primary bottleneck. Firegoat's trace analysis proves what agent builders learn the hard way: multi-turn compounding dwarfs schema overhead, and a single missing field in a JSON payload costs far more than 7k tokens of tool definitions.
- –**Next-step data kills multi-turn spirals**: Adding `closed_by_pull_requests` to `issue_read` in GitHub MCP v2.3.0 dropped pull-request search calls from 31–38 down to zero, lifting bug-research pass rates to 5/5 while slashing token spend from 0.77M–1.07M to 0.34M.
- –**Tool consolidation is neutral, not magic**: Merging 55 flat tools (v0.17.1) into 40 `method`-dispatched tools (v0.20.2) delivered identical 5/5 PR-task accuracy with zero parameter errors and virtually identical token burn (0.84M vs 0.83M), countering both method-routing fears and claims that fewer tools automatically cut costs.
- –**Fewer turns beat smaller schemas**: Even though v2.3.0 shipped the largest upfront definitions (52.5k tokens/request vs 45.7k on v0.20.2), it used the fewest total tokens on PR research (0.53M vs 0.83M) because leaner payloads (13.9k vs 22.7k chars/call) and better fields cut runs from 8.6 turns to 5.4.
- –**Empty responses trigger permanent CLI escape hatches**: When older versions returned empty legacy statuses for GitHub Actions, Claude Code abandoned the MCP after 5 calls and completed the rest of the task with `gh api`—once an agent loses trust in an MCP tool surface, it rarely returns.
- –**Agent loops turn API rate limits into hard failures**: 39 of 40 tool errors were GitHub search rate-limit hits caused by agents hunting for missing fixing-PR links, reinforcing why MCP servers need task-level evals and response shaping rather than thin REST wrappers.
DISCOVERED
36m ago
2026-12-04
PUBLISHED
59m ago
2026-12-04
RELEVANCE
AUTHOR
mattzcarey
