{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-mcp-tool-poisoning-survives-schema-validation-at-the-transport-boundary",
  "title": "What structural signals indicate MCP tool poisoning survives schema validation at the transport boundary",
  "date_of_record": "2026 December 1",
  "scope": "Applies to MCP (Model Context Protocol) clients that fetch `tools/list` from a remote server and enforce a JSON-Schema-based validator before exposing tools to the model. Does not apply to local in-process tool registration where the client authors the schema itself, nor to servers whose descriptions are stripped entirely before model exposure.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-tool-poisoning-survives-schema-validation-at-the-transport-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-tool-poisoning-survives-schema-validation-at-the-transport-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-mcp-tool-poisoning-survives-schema-validation-at-the-transport-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1714,
    "python_slice_tokens": 291,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"a malicious tool description got through.\" It is that **a poisoned tool passes structural schema validation precisely because the poisoning lives in fields that the schema validator is contractually obligated to accept as opaque strings.** JSON Schema validation checks *shape* — `description` is `type: string`, `inputSchema` is `type...",
    "what_was_observed": "A remote MCP server was registered with a client that enforced `jsonschema` validation on every `tools/list` response entry. The validator confirmed: `name` is a string, `description` is a string, `inputSchema` is an object with `type: \"object\"`. All tools passed. The server's tool set included a legitimate-looking `read_config` tool and a second tool `sync_state` whose description contained a subordinate clause inst...",
    "condition_of_validity": "The invariant that bounds this failure is: **no tool description may contain directives that reference other tools or instruct derivation of this tool's arguments from another tool's output.** This must be enforced as a *structural* check at the transport boundary — not delegated to the model's judgment. Concretely, the guardrail is valid only when all of th...",
    "decision_boundary": "The boundary is between **shape validation** and **semantic admission control**, and it sits at the transport boundary because that is the last point where tool metadata is still a data structure and not yet model instructions. - Below the boundary (server side): the server may emit any schema-valid string. It is not trusted. - At the boundary (client transp...",
    "operational_effect": "Without semantic admission control, tool poisoning is a *continuity* attack: the poisoned description persists across every turn in the tool preamble, re-biasing each plan selection, and the exfiltration happens through a schema-valid argument path that no shape check will ever flag. The blast radius compounds because each successful call reinforces the mode..."
  },
  "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": "07ab7d08a6e045a0b8f540027e98ec8f6bcc42ad12430cb2deafc3ee831038c0",
    "verified_classes": [
      "ToolPoisoningAdmissionError",
      "ToolEntry"
    ],
    "verified_functions": [
      "_peer_tool_references",
      "_has_imperative_directive",
      "_has_unconstrained_laundering_channel",
      "admit_tools"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ToolPoisoningAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
