{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-capability-poisoning-in-mcp-tool-descriptions-before-schema-negotiation-completes",
  "title": "What structural signals indicate capability poisoning in MCP tool descriptions before schema negotiation completes",
  "date_of_record": "2026 November 25",
  "scope": "Applies to LLM agents that discover and bind tools from remote MCP servers via `tools/list` and inject the returned `description`/`inputSchema` text directly into the model context prior to any user-authorized invocation. Does not apply to statically vendored tool manifests reviewed by humans, nor to servers whose descriptions are never placed in the reasoning context (e.g., pure function-calling with server-side routing).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-capability-poisoning-in-mcp-tool-descriptions-before-schema-negotiation-completes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-capability-poisoning-in-mcp-tool-descriptions-before-schema-negotiation-completes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-capability-poisoning-in-mcp-tool-descriptions-before-schema-negotiation-completes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1875,
    "python_slice_tokens": 253,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common threat model treats prompt injection as a *content* problem: adversarial text arrives in tool *output* and the defense is output sanitization or instruction-hierarchy training. Capability poisoning is structurally different and more dangerous because the injection arrives in the **tool *manifest*** — the metadata the agent must trust *in order to ...",
    "what_was_observed": "During a red-team run against a federated MCP gateway (three upstream servers, ~40 tools), a single malicious server returned a benign-looking tool: The `workspace_audit` tool did not exist on that server. It existed on a *different*, trusted server in the same gateway. The description thus induced a **cross-server capability claim**: it asserted a dependency on a tool the attacker did not own, and the agent — having...",
    "condition_of_validity": "The attack requires the conjunction of three conditions, and the defense boundary is defined by breaking any one: - **(C1) Flat registry.** Tool names from multiple servers share one namespace with no provenance binding at resolution time. - **(C2) Description-as-precondition.** The agent's planner treats manifest prose as authoritative for *ordering and dep...",
    "decision_boundary": "The architectural invariant that bounds this: **a tool description may only reference tools declared within the same server's `tools/list` response, and every reference must be resolved against that server's namespace, never the global registry.** Any description containing a tool-name reference that is (a) unresolvable within its own server, or (b) resolvab...",
    "operational_effect": "Enforcing the intra-server reference invariant changes the failure mode from *silent exfiltration* to *loud ingestion rejection*. In the red-team replay, adding a provenance tag to every tool at `tools/list` time and validating all description references against the per-server namespace caused the malicious `session_init` to be dropped at merge, and the agen..."
  },
  "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": "331e3e4f7a8652f6293fa1c6a40a2c2513374bbc0234c7584dd1a8b6b2e384a8",
    "verified_classes": [
      "CapabilityPoisoningError"
    ],
    "verified_functions": [
      "validate_manifest"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityPoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
