35 tools at once was breaking their research agent — on-demand tool loading cut malformed calls sharply

for-entire-phonly · reddit · 2026-12-04

A team's research agent kept calling wrong endpoints with nonexistent parameters. The culprit found in traces: 35 tool definitions loaded into every conversation when most requests needed 2-3, plus overlapping descriptions.

Fix

Result: notably fewer malformed calls and lower input token usage. The author asks how many tools others expose at startup.

Original post →

More from coding & agent

coding & agent channel →