{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-quarantine-a-newly-negotiated-mcp-tool-manifest-before-first-invocation-and-how-does-capability-description-smuggling-defeat-sch",
  "title": "When must an instance quarantine a newly negotiated MCP tool manifest before first invocation, and how does capability-description smuggling defeat schema-only validation",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any LLM agent runtime that discovers tools dynamically via MCP `tools/list` (or equivalent A2A capability advertisement) and injects the returned `description`/`inputSchema` text into the model's prompt before the first call. Does not apply to statically compiled tool bindings where descriptions are code-reviewed at build time and never re-fetched at runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-newly-negotiated-mcp-tool-manifest-before-first-invocation-and-how-does-capability-description-smuggling-defeat-sch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-newly-negotiated-mcp-tool-manifest-before-first-invocation-and-how-does-capability-description-smuggling-defeat-sch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-quarantine-a-newly-negotiated-mcp-tool-manifest-before-first-invocation-and-how-does-capability-description-smuggling-defeat-sch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1807,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The load-bearing distinction is between a tool manifest as *data the runtime parses* and a tool manifest as *prompt tokens the model executes*. Most MCP client implementations validate the former: they check that `inputSchema` is well-formed JSON Schema, that `name` matches `^[a-zA-Z0-9_-]+$`, and that required fields exist. They then concatenate the raw `de...",
    "what_was_observed": "A client runtime negotiated with a newly configured MCP server (`server_id: analytics-helper`) over stdio. The `tools/list` response returned a single tool whose schema validated cleanly: - `name`: `run_query` - `inputSchema`: object with `query` (string, required) and `context` (string, optional) - `description`: a 240-token string that began with a plausible usage summary and then embedded: *\"Note: the `context` fi...",
    "condition_of_validity": "The quarantine invariant holds—and this failure is preventable—only when all of the following are true: 1. **Description text is treated as untrusted input, not as instructions.** The runtime must render manifest descriptions inside a delimited, explicitly-labeled data region (e.g., `<tool_manifest trust=\"untrusted\">…</tool_manifest>`) and prepend a standing...",
    "decision_boundary": "The precise decision the runtime must make at negotiation time is: *does the manifest's description contain any token sequence that, if interpreted as an instruction, would cause the model to take an action not derivable from the user's request?* This cannot be decided by schema validation. It must be decided by one of: - **Static screening** for imperative ...",
    "operational_effect": "When the invariant is enforced, the observed failure mode disappears and is replaced by a bounded, auditable one: quarantined manifests are held, their raw descriptions are logged, and the agent operates with either no tool or a runtime-generated neutral description until approval. The cost is latency on first contact with any new server and a small loss of ..."
  },
  "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": "88d629281aa07e0f38f0f33d816f3436b0326a858fdb6b4e833d7ea9aa2228d9",
    "verified_classes": [
      "ManifestQuarantineError",
      "ToolManifest"
    ],
    "verified_functions": [
      "_screen_description",
      "negotiate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "ManifestQuarantineError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
