Search papers, labs, and topics across Lattice.
This paper introduces Causal Minimal Tool Filtering (CMTF), a novel approach for optimizing tool selection in large language model agents by focusing on causal sufficiency rather than mere semantic relevance. By employing lightweight precondition-effect contracts, CMTF effectively narrows down the tool options to only those necessary for the immediate next step, thereby enhancing reliability and efficiency. In extensive benchmarking, CMTF achieved comparable task success to existing methods while significantly reducing the number of visible tools and lowering token usage by approximately 90%.
CMTF slashes tool exposure from 100 to just one per step, cutting token costs by 90% while maintaining task success rates.
Large language model agents increasingly rely on external tools, but larger tool menus can reduce reliability and efficiency by increasing wrong-tool calls, premature actions, and token cost. Existing tool-selection methods often optimize semantic relevance, exposing tools whose names or descriptions match the user request. We argue that relevance is insufficient: a tool may be related to the task while still being unnecessary or premature at the current step. We propose Causal Minimal Tool Filtering (CMTF), a training-free method that selects tools by causal sufficiency. CMTF uses lightweight precondition-effect contracts to expose only the minimal next-step tool frontier needed to advance from the current state toward the user goal. Across multi-step tool-use tasks, we compare CMTF with all-tools exposure, keyword retrieval, state-aware filtering, and causal-path ablations, measuring task success, wrong-tool calls, premature actions, tool exposure, and token cost. In the main benchmark with 102 tasks, 100 tools, four LLM backends, and 2448 task-method-model runs, CMTF matches the strongest causal baseline in aggregate success while reducing visible tools from 100 to one per step and reducing token usage by about 90% relative to all-tools exposure.