arXiv(opens in a new tab)cs.SESep 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2609.08327

Tool Retrievers Are Underestimated: Annotation Expansion Reveals True Capability

Yanyu Zhu, Chenheng Zhang, Shaoshen Chen, Hoilam Pao, Yufei zhang, Jiajun Chai, Dongnian Wang, Zhaoyu Hu, Guojun Yin, Wei Lin, Hai-Tao Zheng

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

In open-world scenarios with massive and evolving tool repositories, tool-augmented large language models rely on a retriever to surface relevant tools for a given query. Because such repositories often contain many tools that implement the same functionality, a single query can often be resolved by several distinct but functionally equivalent tool combinations, making the natural query-to-tool mapping inherently one-to-many. However, existing tool retrieval benchmarks annotate each query with a single relevant tool combination, collapsing this one-to-many mapping into a rigid one-to-one annotation and causing valid retrieved tools to be misjudged as failures. To address this, we propose ToolEX (Tool Equivalent eXpansion), a framework that automatically discovers and annotates the tool combinations functionally equivalent to the labeled ones. Applied to the 7,360-query Tool-DE benchmark, ToolEX finds that 67.9% of sub-queries admit equivalent alternatives, expanding the singular ground truth to an average of 5.3 valid combinations per query. Using the expanded benchmark ToolEq, we re-evaluate eight base retrievers and two fine-tuned variants; metrics on ToolEq rise substantially over Tool-DE, showing that one-to-one annotation systematically underestimates retrievers and that 30–47% of the reported fine-tuning gain is an evaluation artifact rather than genuine improvement. Applying the same pipeline to skill retrieval on SKILLRET further confirms that the one-to-one problem extends beyond tool retrieval.

1 Introduction

As LLM agents move toward open-domain deployment, tool retrieval becomes a prerequisite for execution: an agent cannot invoke a capability it fails to retrieve. This has motivated dedicated tool retrieval benchmarks such as ToolRET (Shi et al. 2025), Tool-DE (Lu et al. 2025), and MetaTool (Huang et al. 2024b). These benchmarks are typically built by aggregating tools and task demonstrations from large tool-use corpora, including ToolBench (Qin et al. 2024), ToolACE (Liu et al. 2024a), and ToolEyes (Ye et al. 2024). However, this construction process inevitably introduces tools with overlapping functionality under different names, providers, or interfaces. The resulting query-to-tool relation is therefore naturally one-to-many: a single query may be solvable by multiple distinct but functionally equivalent tool combinations. Existing benchmarks ignore this equivalence and in-

Figure

Figure 1: The one-to-many relationship between queries and tools in real-world tool libraries. A single user query can be satisfied by multiple functionally equivalent tools, yet existing benchmarks annotate only one as ground truth.

stead assign each query a single annotated ground-truth combination. Consequently, a retriever that returns an equivalent but unannotated tool is scored as wrong despite producing a valid retrieval. We call this the one-to-one annotation problem.

Figure 1 illustrates the problem on a concrete query that asks to "retrieve a list of historical events that occurred on a specific calendar date." A dense retriever ranks candidate tools by similarity. Only one tool, QueryHistoryToday, is annotated as the ground truth; four others — Get Historical Events of Today, /vl/historicalevents, Historical Events by API Ninjas, and vl_historicalevents — are functionally equivalent yet unannotated, and are therefore scored as misses, inducing a systematic underestimate of retrieval quality.

To close this gap, we propose ToolEX, a fully automated annotation pipeline that discovers functionally equivalent tool combinations without human labeling. ToolEX operates in three stages (Figure 2): an LLM first decomposes each composite query into k atomic sub-queries, one per

*These authors contributed equally. †Corresponding author.

Copyright © 2027, Association for the Advancement of Artificial Intelligence (www.aaai.org). All rights reserved.

tool in the ground-truth combination; for each sub-query, a dense retriever (Qwen3-Embedding-4B (Zhang et al. 2025)) retrieves the top-20 candidate tools, which an LLM then verifies to determine whether they satisfy the capability specified by the sub-query; finally, the verified per-sub-query tool sets are merged via Cartesian product, ranked with Reciprocal Rank Fusion (RRF) (Cormack, Clarke, and Buettcher 2009), and filtered by an LLM dependency check that removes combinations violating inter-tool constraints. Applied to the 7,360-query TOOL-DE evaluation set, which uses the same queries as TOOLRET (Shi et al. 2025) but augments the tool documentation as in TOOL-DE (Lu et al. 2025), TOOLEX expands the average annotation from 1 to 5.3 tool combinations per query, with 67.9% of sub-queries receiving at least one additional equivalent tool beyond the original ground truth.

Using these expanded annotations, we construct TOOLEQ, a new benchmark that credits a retrieval whenever it matches any valid equivalent combination, and re-evaluate eight base IR models and two fine-tuned tool retrievers. TOOLEQ corrects a systematic underestimation: across the eight base retrievers it raises NDCG@10 by 5–7 pp on average over TOOL-DE (Table 2), recovering the credit withheld from retrievals of functionally equivalent but unannotated tools. This underestimate also inflates the apparent fine-tuning gain: correcting it narrows the gap between fine-tuned and base retrievers on TOOLEQ (0.6B: +6.4 pp → +4.5 pp; 4B: +7.2 pp → +3.8 pp), so part of the gain reported on TOOL-DE reflects the evaluation protocol rather than only improved retrieval. We further find that applying the same pipeline to the SKILLRET benchmark (Cho, Kang, and Kim 2026) confirms the one-to-one annotation problem is ecosystem-wide.

In summary, our contributions are fourfold:

  • We unveil the one-to-one annotation problem in existing tool retrieval benchmarks, demonstrating that scoring functionally equivalent tools as misses systematically underestimates retriever capability.
  • We propose TOOLEX, a fully automated three-stage pipeline that discovers functionally equivalent tool combinations without human annotation, and construct TOOLEQ as a new evaluation framework that credits any valid equivalent.
  • By expanding singular ground truths to an average of 5.3 valid combinations per query, TOOLEQ corrects the underestimation: eight base retrievers gain 5–7 pp NDCG@10 on average over TOOL-DE. Correcting the metric also exposes that fine-tuning gains are partly an evaluation artifact, as the fine-tuned-to-base gap shrinks once equivalents are credited.
  • Extending TOOLEX to SKILLRET shows the one-to-one problem is ecosystem-wide, confirming that functional equivalence is not specific to tool repositories.

References (38)