MCP tool chains burn context on intermediate data; letting models write scripts wins on tokens

Future_AGI · reddit · 2026-08-21

A team shares a concrete comparison between wrapping APIs as MCP tools and letting the model write code. On a task that pulled records from one service, filtered them, and forwarded a subset to another, chained MCP tool calls meant a round trip per step, with most tokens spent on intermediate rows passing through the context window. Given the same two APIs and allowed to write a short script, the model finished in roughly one pass, with intermediate data never touching context.

Their rule of thumb: MCP earns its keep for discovery and auth (the parts you want standardized across servers), while for tight multi-step data work, code execution keeps winning on both calls and tokens.

Original post →

More from coding & agent

coding & agent channel →