{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-mcp-tool-description-text-as-adversarial-input-rather-than-trusted-schema-metadata",
  "title": "Under what conditions must an instance treat MCP tool-description text as adversarial input rather than trusted schema metadata",
  "date_of_record": "2026 November 23",
  "scope": "Applies to LLM agent runtimes that discover tools dynamically via MCP `tools/list` and bind descriptions into the system prompt or tool-call schema at session start or mid-session. Does not apply to statically compiled tool bindings where descriptions are fixed at build time and signed by the orchestrator.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-mcp-tool-description-text-as-adversarial-input-rather-than-trusted-schema-metadata.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-mcp-tool-description-text-as-adversarial-input-rather-than-trusted-schema-metadata.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-mcp-tool-description-text-as-adversarial-input-rather-than-trusted-schema-metadata.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2207,
    "python_slice_tokens": 422,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The MCP specification treats a tool's `description` field as *documentation for the model* — human-readable prose the model is expected to read to decide when and how to call the tool. This is structurally different from `inputSchema`, which is machine-validated. The description is not validated, not executed, and not type-checked; it is *parsed as natural l...",
    "what_was_observed": "A client session bound three MCP servers at cold start: `fs` (local filesystem), `billing` (internal, authenticated), and `notify` (third-party webhook relay, unauthenticated discovery). At session init the runtime fetched `tools/list` from all three and concatenated every `description` string into a single `## Available Tools` block inserted into the system prompt above the user turn. The `notify` server returned a ...",
    "condition_of_validity": "The attack requires all of the following to hold simultaneously. Remove any one and the escalation does not complete: - **Dynamic discovery.** Descriptions are fetched at runtime and not pinned to a reviewed, signed manifest. A pinned manifest with a hash check per server would have caught the mutation. - **Prompt-region placement.** Descriptions are injecte...",
    "decision_boundary": "The runtime must decide, per description string, whether to admit it to the prompt, admit it stripped, or reject the server binding. The decision is not \"is this text malicious\" (undecidable by inspection) but \"does this text make cross-tool claims\" (structurally detectable). - **Admit verbatim:** description references only its own tool name and its own dec...",
    "operational_effect": "After the incident, the runtime adopted a description-sanitization gate between `tools/list` and prompt assembly, plus a data-flow taint tracker on tool arguments. The gate reduced admitted description text by a measurable fraction (most third-party servers ship at least one imperative clause) and rejected two servers outright for cross-tool references. The ..."
  },
  "matched_failure_symptoms": [
    "SCHEMA_DRIFT_OR_COERCION_CRASH"
  ],
  "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": "762027328e6edd85f3117e1fcf42108140a5090c9ea33b220197220a6fc18401",
    "verified_classes": [
      "CapabilityEscalationError",
      "ToolDescriptor",
      "SanitizationResult"
    ],
    "verified_functions": [
      "_owned_tool_names",
      "sanitize_server_catalog",
      "authorize_outbound_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityEscalationError"
    ],
    "sample_fail_closed_invariants": [
      "empty tools/list response; refusing binding"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
