Tools are under-documented: Simple Document Expansion Boosts Tool Retrieval
By: Xuan Lu , Haohang Huang , Rui Meng and more
Potential Business Impact:
Helps computers find the right tools faster.
Large Language Models (LLMs) have recently demonstrated strong capabilities in tool use, yet progress in tool retrieval remains hindered by incomplete and heterogeneous tool documentation. To address this challenge, we introduce Tool-DE, a new benchmark and framework that systematically enriches tool documentation with structured fields to enable more effective tool retrieval, together with two dedicated models, Tool-Embed and Tool-Rank. We design a scalable document expansion pipeline that leverages both open- and closed-source LLMs to generate, validate, and refine enriched tool profiles at low cost, producing large-scale corpora with 50k instances for embedding-based retrievers and 200k for rerankers. On top of this data, we develop two models specifically tailored for tool retrieval: Tool-Embed, a dense retriever, and Tool-Rank, an LLM-based reranker. Extensive experiments on ToolRet and Tool-DE demonstrate that document expansion substantially improves retrieval performance, with Tool-Embed and Tool-Rank achieving new state-of-the-art results on both benchmarks. We further analyze the contribution of individual fields to retrieval effectiveness, as well as the broader impact of document expansion on both training and evaluation. Overall, our findings highlight both the promise and limitations of LLM-driven document expansion, positioning Tool-DE, along with the proposed Tool-Embed and Tool-Rank, as a foundation for future research in tool retrieval.
Similar Papers
Retrieval Models Aren't Tool-Savvy: Benchmarking Tool Retrieval for Large Language Models
Computation and Language
Helps AI pick the right tools for tasks.
LoSemB: Logic-Guided Semantic Bridging for Inductive Tool Retrieval
Computation and Language
Teaches computers to use new tools without retraining.
ToLeaP: Rethinking Development of Tool Learning with Large Language Models
Artificial Intelligence
Helps computers learn to use new tools better.