Robust Tool Selection Beyond Description Matching
Year: 2026
Type: article
Abstract: Large language model (LLM) agents usually select tools by matching the query against tool documentation. This description matching breaks down when several tools have similar descriptions (ambiguity), when documentation is truncated or missing (degradation), and when a malicious tool is added to an untrusted catalog (injection), and it cannot learn from what happens after a call. We present three-axis tool selection (TATS), a compact contextual bandit that needs no LLM call and learns from execution outcomes, with one component for each condition. On the Berkeley Function-Calling Leaderboard (BFCL) and MetaTool, a memory of the queries each tool has served lifts accuracy 12–14 points above term frequency–inverse document frequency (TF-IDF) retrieval under ambiguity; schema features keep 62.1% accuracy when descriptions and names are removed, against 49.7% for parameter matching and 30.2% for description retrieval; and a success-filtered anomaly penalty (ADAB) cuts the selection of a handcrafted injected tool from 6.9% to 1.7%, provided the attacker cannot fake feedback. We also locate the limit of such a penalty: a white-box attacker restricted to realizable metadata still reaches at least 30%, which motivates a trust signal outside the feature space. Finally, the feedback loop helps where documentation is silent: as a tool shortlister for a multi-step LLM agent on stateful tools, it raises task success from 10.0% to 17.2%.
Source: Applied Sciences
DOI: 10.3390/app162311987
Authors: Zixu Zhao, Wenjie Zhang, Xin Cao
Institution: UNSW Sydney
Language: English
Field: Decision Sciences
Domain: Social Sciences
Open Access status: gold
Estimated APC paid: $2,896
OpenAlex ID: W7222707665
