Manuscript Offprint

arXiv:2610.33633

ProbeID: Verifying MCP Tool Identity for LLM Agents under Registry Drift

Guanxing Chen, Sining Zhang, Haohuai He, Qiujie Lv, Yu-An Huang, Zhi-An Huang

ABSTRACT

Agents select tools by copyable descriptions, which cannot establish which implementation runs. ProbeID compares canonicalized responses to schema-valid probes with a trusted admission reference and abstains on ambiguity, so a squatter must copy probe-observable behavior. With the gold present, independent probes and a fixed margin, standard concentration arguments give a shared probe budget logarithmic in the candidate count and bound the joint probability of a wrong decision. On cached MCP-IdentityDrift cases, strict choice reaches 0.956 hit@1 while description routers fall near chance, but simpler exact comparisons tie it, MMD better tolerates heavy value noise, and a 32B behavioral judge is similarly accurate at higher cost. Random probes from agent banks and a prospective held-out study of 38 tools test theory-set thresholds. On the agent banks, equality refuses every reachable replacement from 64 probes and the bounded distance from 512, and sharper post hoc gates halve both. Two tools whose drift no bank probe reaches always pass. In an MCP-Bench agent, verification cuts tainted tasks from 15 to 9 of 16 at unchanged task success. Over eleven weeks, 7 of 59 real tools changed responses despite version pins. Verification depends on reference integrity, probe coverage, and response noise.

1 Introduction

Large language model (LLM) agents increasingly act through external tools, and the Model Context Protocol (MCP) has turned this into a fast-growing open ecosystem of community-published tool servers (Model Context Protocol, 2025; Song et al., 2026). An agent that needs a capability searches a large registry and ranks tools by their advertised descriptions (Qin et al., 2024; Fei et al., 2025), so unauthenticated, attacker-editable text decides which implementation runs (Sneh et al., 2025). Audits find most tool descriptions underspecified (Hasan et al., 2026), server behavior departing from the descriptions at registry scale (Li et al., 2026), and squatting among the main attack vectors (Maloyan & Namiot, 2025). The protocol's security interest group lists runtime drift and tool identity as open problems (Model Context Protocol, 2026).

However, description routing and admission-time binding both assume that declared metadata fixes behavior, and registry drift breaks that assumption. A squatter copies the description of a trusted tool but implements different behavior (Beurer-Kellner & Fischer, 2025a; Wang et al., 2025b), so a description router admits it and may select it. Admission controls bind definitions or provenance (Bhatt et al., 2025; Narajala et al., 2026; Metere, 2026), but a definition bound at admission does not expose a later change in behavior. In an adaptive-distractor setting, certified correctness of metadata-based selection falls to about twenty percent after ten rounds (Yeon et al., 2026). No description matcher can recover the intended tool from identical descriptions.

PREPRINT

(a) Metadata ambiguity

(b) Reference admission

Figure

(c) Behavioral comparison

(d) Identify or abstain

Figure 1: Behavior decides what copied metadata cannot. (a) Identical tool metadata can hide different responses. (b) Admission stores canonicalized trusted responses to schema-valid probes (M1). (c) Selection sends secret bank probes to candidates and compares their paired responses with the stored reference (M2 to M4). (d) Multiple candidates pass the distance and gap gates (M5), while a sole candidate faces only the distance gate. ProbeID otherwise abstains (M6). Glyphs, names, and distances are schematic.

To remove the dependence on declared metadata, we identify a tool by its behavior, as black-box model fingerprinting identifies a model (Pasquini et al., 2025; Gao et al., 2025). Behavioral identity here means agreement of probe-observable responses with a reference recorded at admission, not endpoint or cryptographic identity. Probing candidates at selection time and comparing what they return forces a squatter to match behavior rather than text. The comparison observes only responses, so the probes must reach the difference and the reference must be trusted (Figure 1).

ProbeID is a post-admission behavioral verifier that generates schema-driven probes, canonicalizes the responses, and selects the candidate nearest the reference under a bounded behavioral distance, abstaining when no candidate matches or the decision is ambiguous. At a fixed margin, adding k squatters raises the number of shared probe inputs only by a logarithmic factor, while a router the squatters mimic falls to chance 1/(k+1)1/(k+1). We validate the protocol on MCP-IdentityDrift, built from real cached tool behavior (Guo et al., 2024) with injected schema-compatible squatters, and test its error bounds with random probes from the attested banks of an agent study and from a prospective held-out study. The contribution is the protocol, which does not depend on one comparison. Exact equality ties the bounded distance on the cached cases and verifies deterministic drift with fewer probes, and a set-level maximum mean discrepancy (MMD) tolerates heavy value noise better.

Our contributions are as follows.

• A reference-based verification protocol that separates identity selection from abstention (Algorithm 1) and calibrates both with standard concentration arguments. For independent probes it needs a shared budget m=O(γ−2log⁡((n+k)/δ))m = O(\gamma^{-2} \log((n+k)/\delta)) and, with the gold present, keeps the joint probability of a wrong decision below

PREPRINT

δ\delta, with a matching lower bound on the leading term under independent candidate channels (Appendices B to F).

• MCP-IdentityDrift and an evaluation that separates operating points (Table 1). Routers approach 1/(k+1)1/(k+1) under copied-description rug pull while ProbeID reaches 0.956 strict-choice hit@1. Random probes from the agent banks and from a prospective held-out study show where theory-set thresholds refuse replacements and where their resolution ends (Result 2). An agent gate cuts tasks tainted by the rug pull from 15 to 9 of 16, a harm that task success does not register (Result 4).

• A census of 16 real published MCP servers re-probed eleven times over eleven weeks. Canonicalization succeeds on every recorded response, most tools are deterministic, and 7 of 59 depart from their recorded responses under unchanged version pins, three of them after a reinstall at unchanged versions (Appendix O).

References (56)