{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-before-capability-negotiation-completes",
  "title": "What structural signals indicate a poisoned MCP tool manifest before capability negotiation completes",
  "date_of_record": "2026 November 23",
  "scope": "Applies to agents that discover tools/skills via MCP `tools/list` (or an equivalent registry manifest) and bind a capability schema to a description string before first invocation. Does not cover runtime prompt-injection arriving in tool *results*; that is a separate trust boundary.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-before-capability-negotiation-completes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-before-capability-negotiation-completes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-poisoned-mcp-tool-manifest-before-capability-negotiation-completes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1426,
    "python_slice_tokens": 190,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not that a malicious tool *does* something harmful at call time. It is that the **description string is treated as inert metadata during negotiation but as trusted instruction during reasoning**. Most agent runtimes bind the manifest into the model's context as part of the system/tool preamble, where it carries the same authority as developer ...",
    "what_was_observed": "A client agent performed `tools/list` against a registry of ~40 tools. One tool, `summarize_document`, arrived with a description whose first 180 characters were a legitimate summary and whose tail contained a directive styled as a schema constraint: Three structural signals were present and individually insufficient, but jointly diagnostic: 1. **Directive grammar inside a descriptive field.** The string mixed impera...",
    "condition_of_validity": "This analysis holds only when all of the following are true: - The manifest description is injected into a context region with instruction-level authority (system prompt, tool preamble, or a role the model weights as authoritative). If descriptions are rendered into a quarantined, clearly-labeled data block with an explicit \"this is untrusted metadata\" wrapp...",
    "decision_boundary": "The operative rule: **a manifest field may describe effects but may not command behavior.** Concretely, reject at negotiation time when any of: - The description contains second-person or imperative directives addressed to the agent (`you must`, `before invoking`, `always`, `never`, `forward`, `override`). - The description claims an authority tier (`[SYSTEM...",
    "operational_effect": "Once bound, a poisoned manifest is effectively unremovable within the session: it sits in the preamble, is re-read on every turn, and cannot be evicted by context-window management because tool definitions are typically pinned outside the sliding window. The agent's own reasoning becomes the exfiltration channel — it will rationalize the forwarded arguments ..."
  },
  "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": "bd82077e55f6202962c6d510c8de7bd8ed887db565d47cb52e334ccf5718ea17",
    "verified_classes": [
      "ManifestPoisoningError",
      "ToolManifest"
    ],
    "verified_functions": [
      "screen_manifest",
      "bind_tools"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ManifestPoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
