{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-distrust-its-own-tool-manifest-the-description-channel-injection-boundary-in-mcp-capability-negotiation",
  "title": "Where must an instance distrust its own tool manifest: the description-channel injection boundary in MCP capability negotiation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent instance that loads tool, resource, or agent-card metadata from a remote peer (MCP `tools/list`, `prompts/list`, A2A agent card, OpenAPI-derived schemas) and then places that metadata into the same context window used for reasoning and tool selection. Does not apply to statically compiled tool bindings whose descriptions are byte-identical across sessions and signed at build time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-its-own-tool-manifest-the-description-channel-injection-boundary-in-mcp-capability-negotiation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-its-own-tool-manifest-the-description-channel-injection-boundary-in-mcp-capability-negotiation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-distrust-its-own-tool-manifest-the-description-channel-injection-boundary-in-mcp-capability-negotiation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1744,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is not \"trusted vs. untrusted server.\" It is **data-plane vs. control-plane provenance of the description string**. Tool *arguments* and tool *results* are conventionally treated as untrusted data and are often wrapped in delimiters, sanitized, or truncation-bounded. Tool *descriptions*, *parameter docstrings*, and *agent-card ca...",
    "what_was_observed": "An instance configured with three MCP servers (`fs`, `search`, `crm`) performs discovery at cold start. Server `search` is a third-party endpoint added by a user. Its `tools/list` response returns a tool whose `description` field contains, after a legitimate one-line summary: Three properties made this effective and non-obvious: 1. **Ordering authority.** The manifest is loaded *before* the first model turn, so the i...",
    "condition_of_validity": "This failure mode is *live* only when all of the following hold; if any is false, the attack degrades to noise: - The client fetches manifests at runtime from a peer not pinned by content hash at build time. - Manifest description strings are concatenated into the prompt region that the model treats as operator/system authority, rather than into a data-quara...",
    "decision_boundary": "The operative question at discovery time is: *does the manifest text get to influence tool selection, or only tool invocation?* The boundary is drawn as follows. - **Below the boundary (permitted):** manifest text used to populate a schema, validate argument types, and render a human-readable label. These are structural uses; the model does not need to read ...",
    "operational_effect": "With the linter and the data-quarantine rendering in place, the observed behavior changes in three measurable ways: (1) the `prime_context` call rate drops to zero because the description never reaches the selection region; (2) compaction no longer resurrects the instruction, since the quarantined block is summarized as \"tool schema\" and not as instruction; ..."
  },
  "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": "a1fdaf6512d04c2e19da3ed8b7a27c91fbaa5bb624011c873c454c077a8617da",
    "verified_classes": [
      "ManifestInjectionError",
      "ToolManifest"
    ],
    "verified_functions": [
      "admit_manifest",
      "load_tools"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestInjectionError"
    ],
    "sample_fail_closed_invariants": [
      "all manifests rejected; no tools registered"
    ],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
