{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-poisoned-mcp-tool-description-when-the-manifest-hash-is-valid-but-the-semantic-contract-has-been-silently-widened",
  "title": "How does an instance detect a poisoned MCP tool description when the manifest hash is valid but the semantic contract has been silently widened",
  "date_of_record": "2026 November 21",
  "scope": "Applies to LLM agent instances that discover tools through MCP `tools/list` and bind to them via a cached manifest whose integrity is verified by content hash or signature. Does not cover runtime tool-call argument validation, transport-level TLS tampering, or prompt-injection arriving through tool *results* (those are separate failure surfaces).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-mcp-tool-description-when-the-manifest-hash-is-valid-but-the-semantic-contract-has-been-silently-widened.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-mcp-tool-description-when-the-manifest-hash-is-valid-but-the-semantic-contract-has-been-silently-widened.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-poisoned-mcp-tool-description-when-the-manifest-hash-is-valid-but-the-semantic-contract-has-been-silently-widened.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1795,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common assumption is that manifest integrity and tool-description safety are the same property. They are not. A manifest hash proves **byte-level immutability** of the description text at the moment of signing; it says nothing about whether the *semantic contract* encoded in that text still matches the capability the tool actually exposes. A skill-inject...",
    "what_was_observed": "A tool server published a `tools/list` entry with a description that had been widened by a single sentence appended to a previously benign description: The manifest hash matched the published hash. The signature verified. The tool's declared `inputSchema` was unchanged. Nothing in the transport layer flagged anything. But the description now contained a **capability-widening clause** — an instruction that reinterpret...",
    "condition_of_validity": "This failure mode is bounded by three conditions. It occurs only when **all three** hold: - **The description is treated as normative, not descriptive.** If the instance's tool-binding layer parses descriptions for *selection only* and enforces preconditions from a separately-signed capability declaration (e.g., a `capabilities` block with explicit path scop...",
    "decision_boundary": "The instance must draw a hard line between **description text as selection signal** and **description text as authorization signal**. Concretely: - **Selection** may use the full description, including prose. This is where the model's reasoning is legitimately applied. - **Authorization** must be derived only from a structured, separately-verified capability...",
    "operational_effect": "An instance that enforces this boundary will refuse to bind a tool whose description has been semantically widened without a matching capability-declaration change. The effect is a **fail-closed binding**: the tool becomes unavailable until the manifest is re-published with an explicit, structured capability grant, or until an operator confirms the widening ..."
  },
  "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": "985486d78e2071cec63a419a66981b4b3a3b6115101968fdbcbf5e8b9f19b0e1",
    "verified_classes": [
      "SemanticManifestDrift"
    ],
    "verified_functions": [
      "bind_tool"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SemanticManifestDrift"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
