mlsanityData to 7 Oct 2026

Tool Preferences in Agentic LLMs are Unreliable

arXiv 2505.18135 ↗First posted 23 May 2025cs.AI cs.CL cs.CRcited by 13

On the map: LLM agents and tool use → Tool learning and function calling

Abstract (arXiv)

Large language models (LLMs) can now access a wide range of external tools, thanks to the Model Context Protocol (MCP). This greatly expands their abilities as various agents. However, LLMs rely entirely on the text descriptions of tools to decide which ones to use--a process that is surprisingly fragile. In this work, we expose a vulnerability in prevalent tool/function-calling protocols by investigating a series of edits to tool descriptions, some of which can drastically increase a tool's usage from LLMs when competing with alternatives. Through controlled experiments, we show that tools with properly edited descriptions receive over 10 times more usage from GPT-4.1 and Qwen2.5-7B than tools with original descriptions. We further evaluate how various edits to tool descriptions perform when competing directly with one another and how these trends generalize or differ across a broader set of 17 different models. These phenomena, while giving developers a powerful way to promote their tools, underscore the need for a more reliable foundation for agentic LLMs to select and utilize tools and resources. Our code is publicly available at https://github.com/kazemf78/llm-unreliable-tool-preferences.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Placed in Tool learning and function calling, one of 16 directions in LLM agents and tool use. Builds on 10 of its 20 references that are in the map. First posted on arXiv 23 May 2025.

Builds on

10 of 20 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Masking6 Oct
  2. 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
  3. 2023Gorilla: Large Language Model Connected with Massive APIs24 May
  4. 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb

Other references · 6

  1. 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
  2. 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
  3. 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 476
  4. 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
  5. 2025Prompt Injection Attack to Tool Selection in LLM Agentscited by 145
  6. 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 65

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 1; 2026: 12.

13 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration
  2. 2026Model-Adaptive Tool Necessity Reveals the Knowing-Doing Gap in LLM Tool Use
  3. 2026ToolMenuBench: Benchmarking Tool-Menu Filtering Strategies for Reliable and Efficient LLM Agents
  4. 2026How Consistent Are LLM Agents? Measuring Behavioral Reproducibility in Multi-Step Tool-Calling Pipelines
  5. 2026DOCSCHISEL: Adaptive Tool Documentation Optimization Framework for LLM Agents
  6. 2026Action-Space Shaping for LLM Agents: Measuring and Mitigating Tool-Schema Bias
  7. 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agents
  8. 2025When Refusals Fail: Unstable Safety Mechanisms in Long-Context LLM Agents