Tool Preferences in Agentic LLMs are Unreliable
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
- 2024Hammer: Robust Function-Calling for On-Device Language Models via Function Masking6 Oct
- 2023ToolLLM: Facilitating Large Language Models to Master 16000+ Real-world APIs31 Jul
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May
- 2023Toolformer: Language Models Can Teach Themselves to Use Tools9 Feb
Other references · 6
- 2023Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injectioncited by 1,339
- 2022Ignore Previous Prompt: Attack Techniques For Language Modelscited by 760
- 2024InjecAgent: Benchmarking Indirect Prompt Injections in Tool-Integrated Large Language Model Agentscited by 476
- 2023TaskMatrix.AI: Completing Tasks by Connecting Foundation Models with Millions of APIscited by 184
- 2025Prompt Injection Attack to Tool Selection in LLM Agentscited by 145
- 2022Evaluating the Susceptibility of Pre-Trained Language Models via Handcrafted Adversarial Examplescited by 65
Built on by
Citing papers per year: 2025: 1; 2026: 12.
13 papers.
Sort:
By area:
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2026When Simulation Lies: A Sim-to-Real Benchmark and Domain-Randomized RL Recipe for Tool-Use Agentscited by 5
- 2026MemFlow: Intent-Driven Memory Orchestration for Small Language Model Agentscited by 3
- 2026Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agentscited by 2
- 2026Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Studycited by 0
- 2026Agent-Facing Information Design in LLM Tool Registriescited by 0
- 2026Set-shifting Behavioral Test for Harnessed Agentscited by 0
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMscited by 0
- 2026Scientific Data Skills: Enabling Agent-Ready Scientific Data Services at Scalecited by 0
- 2026MCP-GRANITE Benchmark: GRANularity Interface TEsting for MCP-Based LLM Agentscited by 0
- 2026Learning What to Activate: Combinatorial Capability Allocation for Long-Horizon Multimodal Agentscited by 0
- 2026When Does Action Credit Need Updating?cited by 0
1 more
- 2026PrivacySkills: How Privacy Guidance Shapes Source Selection in LLM Agents28 Sep 2026
- 2026When Does Action Credit Need Updating?24 Sep 2026
- 2026MCP-GRANITE Benchmark: GRANularity Interface TEsting for MCP-Based LLM Agents21 Sep 2026
- 2026Learning What to Activate: Combinatorial Capability Allocation for Long-Horizon Multimodal Agents20 Aug 2026
- 2026Scientific Data Skills: Enabling Agent-Ready Scientific Data Services at Scale20 Aug 2026
- 2026Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agents12 Aug 2026
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMs9 Aug 2026
- 2026Set-shifting Behavioral Test for Harnessed Agents15 Jul 2026
- 2026When Simulation Lies: A Sim-to-Real Benchmark and Domain-Randomized RL Recipe for Tool-Use Agents12 May 2026
- 2026MemFlow: Intent-Driven Memory Orchestration for Small Language Model Agents5 May 2026
- 2026Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Study30 Apr 2026
- 2026Agent-Facing Information Design in LLM Tool Registries12 Apr 2026
1 more
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
- 2026MemFlow: Intent-Driven Memory Orchestration for Small Language Model Agentscited by 3
- 2026Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agentscited by 2
- 2026Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Studycited by 0
- 2026Agent-Facing Information Design in LLM Tool Registriescited by 0
- 2026Set-shifting Behavioral Test for Harnessed Agentscited by 0
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMscited by 0
- 2026MCP-GRANITE Benchmark: GRANularity Interface TEsting for MCP-Based LLM Agentscited by 0
- 2026PrivacySkills: How Privacy Guidance Shapes Source Selection in LLM Agentscited by 0
- 2026PrivacySkills: How Privacy Guidance Shapes Source Selection in LLM Agents28 Sep 2026
- 2026MCP-GRANITE Benchmark: GRANularity Interface TEsting for MCP-Based LLM Agents21 Sep 2026
- 2026Convergent Detour Hijacking: Task-Preserving Resource Amplification in Skill-Based LLM Agents12 Aug 2026
- 2026LLM within MCP Matters: Measuring Inefficient Resource Utilization Driven by LLMs9 Aug 2026
- 2026Set-shifting Behavioral Test for Harnessed Agents15 Jul 2026
- 2026MemFlow: Intent-Driven Memory Orchestration for Small Language Model Agents5 May 2026
- 2026Security Attack and Defense Strategies for Autonomous Agent Frameworks: A Layered Review with OpenClaw as a Case Study30 Apr 2026
- 2026Agent-Facing Information Design in LLM Tool Registries12 Apr 2026
- 2025A Survey of Context Engineering for Large Language Modelscited by 120
- 2026When Simulation Lies: A Sim-to-Real Benchmark and Domain-Randomized RL Recipe for Tool-Use Agentscited by 5
- 2026Scientific Data Skills: Enabling Agent-Ready Scientific Data Services at Scalecited by 0
- 2026Learning What to Activate: Combinatorial Capability Allocation for Long-Horizon Multimodal Agentscited by 0
- 2026When Does Action Credit Need Updating?cited by 0
- 2026When Does Action Credit Need Updating?24 Sep 2026
- 2026Learning What to Activate: Combinatorial Capability Allocation for Long-Horizon Multimodal Agents20 Aug 2026
- 2026Scientific Data Skills: Enabling Agent-Ready Scientific Data Services at Scale20 Aug 2026
- 2026When Simulation Lies: A Sim-to-Real Benchmark and Domain-Randomized RL Recipe for Tool-Use Agents12 May 2026
- 2025A Survey of Context Engineering for Large Language Models17 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2026The Evolution of Tool Use in LLM Agents: From Single-Tool Call to Multi-Tool Orchestration
- 2026Model-Adaptive Tool Necessity Reveals the Knowing-Doing Gap in LLM Tool Use
- 2026ToolMenuBench: Benchmarking Tool-Menu Filtering Strategies for Reliable and Efficient LLM Agents
- 2026How Consistent Are LLM Agents? Measuring Behavioral Reproducibility in Multi-Step Tool-Calling Pipelines
- 2026DOCSCHISEL: Adaptive Tool Documentation Optimization Framework for LLM Agents
- 2026Action-Space Shaping for LLM Agents: Measuring and Mitigating Tool-Schema Bias
- 2025ScaleMCP: Dynamic and Auto-Synchronizing Model Context Protocol Tools for LLM Agents
- 2025When Refusals Fail: Unstable Safety Mechanisms in Long-Context LLM Agents