Robust Tool Selection Beyond Description Matching

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%.

Authors

Institutions

Publication Details

Journal
Applied Sciences
Published
2026-12-02
DOI
https://doi.org/10.3390/app162311987
Primary Topic
Advanced Bandit Algorithms Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Robust Tool Selection Beyond Description Matching

Zixu Zhao, Xin Cao, Wenjie Zhang
Applied Sciences
Advanced Bandit Algorithms Research
article

Robust Tool Selection Beyond Description Matching

Zixu Zhao, Xin Cao, Wenjie Zhang
article en

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%.

Applied SciencesVol. 16(23)
UNSW Sydney (AU)
Advanced Bandit Algorithms Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon