arXiv:cs.AI· Xiaofan Li, Fengchun Qiao, Xing Gao·· 16 小时前
哪些元数据影响 MCP 中的 LLM 工具选择?来自受控因子级干预的证据
Which Metadata Matters for LLM Tool Selection in MCP? Evidence from Controlled Factor-Level Interventions
AI 导读
对 367,174 个 MCP 工具的元数据分析发现,功能相似的工具存在大量参数 schema 差异。通过五个 LLM、五类任务的受控干预实验,参数 schema 变化引发的选择偏移最大且最一致,模型更偏好分离的顶层参数而非分组或复合形式;解释参数的工具描述也提升选择率,名称效应较弱。当仅有一个 schema 满足明确请求要求时,五个模型均选择兼容工具。
正文
Abstract:In Model Context Protocol (MCP) systems, LLMs select tools from metadata rather than from their implementations. Names and descriptions summarize what a tool does, while the parameter schema specifies the fields a tool accepts and how they are organized. Our analysis of metadata for 367,174 MCP tools reveals substantial schema variation among functionally similar tools. Many of these tools share names and similar descriptions but expose different parameter schemas. This raises a key question: can parameter-schema differences influence tool selection before any call is made? We study this question through controlled metadata interventions across five LLMs and five tasks. Each comparison changes exactly one metadata factor (server name, tool name, description, or parameter schema) while keeping the others fixed. We balance tool positions and use conditional logistic regression to estimate position-adjusted effects. We find that: (1) parameter-schema changes produce the largest and most consistent selection shifts among the tested interventions. Models tend to favor separate top-level parameters over grouped or composite forms. (2) Descriptions that explain parameters also tend to increase selection, while name effects are weaker and less consistent. (3) Targeted comparisons show that schema effects depend on the specific parameter names and on how the request represents the same information. When only one schema satisfies an explicit request requirement, all five models select the compatible tool despite position preferences. These results show that parameter schemas influence not only how tools are called, but also whether they are selected. For MCP developers and evaluators, schema design and tool ordering can therefore affect which implementation is invoked even when functionality is unchanged.
| Subjects: | Artificial Intelligence (cs.AI); Computation and Language (cs.CL); Software Engineering (cs.SE) |
| Cite as: | arXiv:2610.14334 [cs.AI] |
| (or arXiv:2610.14334v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.14334 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Xiaofan Li [view email]
[v1]
Fri, 9 Oct 2026 21:21:16 UTC (420 KB)
来源:arXiv:cs.AI · arxiv.org