Missing tool backfill
IF an agent keeps hand-rolling the same multi-call sequence, or spends a session on long runs of read calls → THEN add the missing tool (a code-search or a custom workflow tool) to its MCP companion → RESULT the improvised turns collapse into one call, and the wasted turns are projected as monthly savings.
The signal in the agentic log
- Repetition signal: the same tool-call sequence (≥ 3 calls) repeats across ≥ 2 turns.
- Read-run signal: a session has > 10 read calls, or unusually long runs of reads.
- Field source:
ToolCalls,TurnSeq,SessionId.
The setup
- Accept the missing tool backfill recommendation.
- If ≥ 60% of the calls are reads, it suggests adding a
grep/search_codeMCP tool; otherwise it suggests a custom workflow MCP tool for the repeated sequence. - Register the tool with the agent's MCP companion and make it report healthy.
The result
- Wasted turns × the average cost per turn is projected as the monthly saving.
- After the tool lands, the log shows the sequence replaced by a single call — the realized delta is measured from that.
Behind it
- Detector: missing tool backfill.
- Related: MCP companions to register and health-check the new tool.