Unused tool pruning
IF a tool is advertised to the agent but used in fewer than 5% of sessions → THEN remove it from the agent's toolset → RESULT every turn stops paying to describe a tool the agent never calls, and the token saving is projected per turn.
The signal in the agentic log
- Signal: a tool present in
offered_tools/tools_offered/available_toolsmetadata (or one that was used at some point) is used in < 5% of sessions. - Field source:
CustomMetadatatool inventory,ToolCalls,SessionId. - Requires the offered-tool inventory in metadata; without it the log cannot tell "unused" from "never advertised".
The setup
- Confirm the MCP companion behind the tool is healthy and fresh — otherwise "unused" may really mean "unavailable". See MCP companions.
- Accept the unused-tool pruning recommendation.
- Remove the tool from the agent's manifest.
The result
- Projected saving is about 100 tokens per tool per turn across all turns, at the input rate, per month.
- A smaller toolset also reduces the chance the model picks the wrong tool.
Behind it
- Detector: unused-tool pruning.
- Related: Missing tool backfill for the opposite case.