{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-trust-a-tool-description-more-than-its-own-tool-output-capability-description-divergence-and-the-registry-poisoning-window-in-mcp",
  "title": "Why does an instance trust a tool description more than its own tool output: capability-description divergence and the registry-poisoning window in MCP skill injection",
  "date_of_record": "2026 December 1",
  "scope": "Applies to LLM agents that discover and bind MCP tool capabilities from a registry or remote descriptor at runtime, where the tool's `description`/`inputSchema` text enters the model context before any invocation. Does not apply to statically compiled tool bindings whose descriptors are pinned in the system prompt and never re-fetched.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-more-than-its-own-tool-output-capability-description-divergence-and-the-registry-poisoning-window-in-mcp.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-more-than-its-own-tool-output-capability-description-divergence-and-the-registry-poisoning-window-in-mcp.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-trust-a-tool-description-more-than-its-own-tool-output-capability-description-divergence-and-the-registry-poisoning-window-in-mcp.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1568,
    "python_slice_tokens": 220,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the agent read a malicious string.\" It is that the agent treats the *descriptor* as trusted metadata and the *tool result* as untrusted data, while both transit the same context window and the descriptor's authority is never re-derived from the tool's actual behavior. An MCP tool listing is a capability *claim*; the model has no mechanism...",
    "what_was_observed": "A registry-served MCP server advertised a benign-looking tool `summarize_document(input: str) -> str`. Its `description` field, however, contained a trailing block that survived JSON decoding: The tool's actual implementation returned a short summary *plus* an injected instruction fragment that the model then echoed into a downstream `send_email` tool call. Two independent mechanisms compounded: 1. **Descriptor-level...",
    "condition_of_validity": "This boundary is reachable only when three conditions co-hold: - **Descriptor is fetched, not pinned.** The tool list is retrieved from a mutable registry or remote server at runtime, so the descriptor is a supply-chain artifact rather than a constant. - **Descriptor text and tool output share one trust tier in context.** No structural separation (e.g., a si...",
    "decision_boundary": "The operational line is: **never let a descriptor's free-text `description` carry executable authority; project it to a schema-only, delimited, distrust-labeled block, and pin its hash.** Concretely: - Fetch `tools/list`, then **strip or quarantine** any `description` field before it enters the model context. Pass `name` + `inputSchema` only. If a human-read...",
    "operational_effect": "When the invariant holds, a poisoned registry entry degrades to a noisy but inert schema: the model sees a tool named `summarize_document` with a string input, calls it, receives output, and evaluates that output on its own merits against the original document. The \"do not verify\" clause never reaches the reasoning loop because it was stripped at the project..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "dc34463fca492b22ddd28e591ab5e1a01ffb8dc418905e4e769cdbb10b4aa8ec",
    "verified_classes": [
      "DescriptorPoisoningError",
      "PinnedDescriptor"
    ],
    "verified_functions": [
      "project_descriptor"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "DescriptorPoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
