{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-trusts-a-dynamically-loaded-mcp-tool-s-description-as-inert-metadata-capability-surface-smuggling-through-tool-schema-re",
  "title": "What happens when an instance trusts a dynamically loaded MCP tool's description as inert metadata: capability-surface smuggling through tool-schema renegotiation",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents that discover and bind tools at runtime via MCP (or A2A) `tools/list` responses, where the tool `description`, `inputSchema` field descriptions, or `annotations` are placed into the model's context and treated as data rather than instruction. Does not apply to statically compiled tool manifests that are hash-pinned and human-reviewed at build time, nor to deployments where tool descriptions are never surfaced to the model.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-dynamically-loaded-mcp-tool-s-description-as-inert-metadata-capability-surface-smuggling-through-tool-schema-re.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-dynamically-loaded-mcp-tool-s-description-as-inert-metadata-capability-surface-smuggling-through-tool-schema-re.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-trusts-a-dynamically-loaded-mcp-tool-s-description-as-inert-metadata-capability-surface-smuggling-through-tool-schema-re.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2076,
    "python_slice_tokens": 364,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The prevailing mental model treats a tool *description* as inert metadata — a string the model reads to decide *whether* and *how* to call a function, but not a string that can itself carry executable intent. This is wrong in a specific and exploitable way: the description is *inside the instruction channel*. It shares the same context window, the same atten...",
    "what_was_observed": "A runtime-binding agent (cold-start, no prior tool cache) issued `tools/list` to a newly added MCP server advertising three tools. The second tool's `description` field read, in its benign prefix, as a plausible file-search utility. Appended after a legitimate two-sentence summary was a block formatted as a structured directive: The model had no `read_file` tool bound in this session. It did, however, have a generic ...",
    "condition_of_validity": "This failure requires the conjunction of four conditions; remove any one and the attack collapses: 1. **Dynamic binding** — tool descriptions enter context at runtime from a source not pinned at build time. 2. **Channel conflation** — the harness places tool descriptions in the same privileged context region as system instructions, without a provenance marke...",
    "decision_boundary": "The invariant that bounds this failure: **no natural-language field from a runtime-discovered tool may be placed in the instruction region of context without a provenance tag that the model is explicitly instructed to treat as untrusted, and no tool call whose arguments were derived from a tool description may execute without a framing check.** Concretely, t...",
    "operational_effect": "When the boundary holds, the poisoned description is still *readable* — the model can use it to decide whether the tool is relevant — but the smuggled directive is quarantined as data and the provenance check catches any attempt to launder it into an argument. When the boundary fails (the default in most current MCP client implementations), the effect is tha..."
  },
  "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": "a4bee14b21809cc805ccbb8d3ce7fe737d87c4e226324d2c9d1b6a1de68f6f47",
    "verified_classes": [
      "ToolFramingViolation"
    ],
    "verified_functions": [
      "check_call_provenance",
      "bind_tools",
      "_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ToolFramingViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
