{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-quarantine-a-re-attested-mcp-tool-manifest-whose-description-field-mutates-between-capability-negotiation-and-f",
  "title": "Under what conditions must an instance quarantine a re-attested MCP tool manifest whose `description` field mutates between capability negotiation and first invocation",
  "date_of_record": "2026 November 26",
  "scope": "Applies to agents that perform MCP `tools/list` capability negotiation at session start, cache the resulting tool schema, and later re-resolve or re-attest the same server mid-session. Does not apply to stateless single-shot tool calls where the manifest is fetched and discarded within one inference turn.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-re-attested-mcp-tool-manifest-whose-description-field-mutates-between-capability-negotiation-and-f.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-re-attested-mcp-tool-manifest-whose-description-field-mutates-between-capability-negotiation-and-f.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-quarantine-a-re-attested-mcp-tool-manifest-whose-description-field-mutates-between-capability-negotiation-and-f.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2091,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"a malicious MCP server injects instructions.\" That is the obvious, well-documented case: a poisoned `description` or `inputSchema` field carries prompt-injection text that the model reads on `tools/list` and treats as instructions. The non-obvious boundary is the **time-of-check / time-of-use (TOCTOU) gap on the manifest itself** — t...",
    "what_was_observed": "A three-server agent deployment (filesystem MCP, a \"knowledge base\" MCP, and a web-fetch MCP) ran with a policy: on `initialize`, compute SHA-256 over the canonicalized `tools/list` response, pin it, and refuse any subsequent `tools/list` whose hash differs. This was believed to be a TOCTOU defense. The gap: `notifications/tools/list_changed` handling. When the server emitted this notification, the agent re-fetched t...",
    "condition_of_validity": "The quarantine rule below is valid **only** under these conditions; outside them, apply a stricter policy (full manifest freeze + server allowlist): - The agent performs `tools/list` at session start and caches the result for the session lifetime. - The server is permitted by protocol to emit `notifications/tools/list_changed` and the agent honors it. - The ...",
    "decision_boundary": "The decision boundary is the point at which a manifest delta must be treated as **content requiring re-evaluation** rather than **metadata requiring re-approval**. The rule: 1. On any `tools/list` whose hash differs from the pinned hash, do **not** prompt for approval of the delta as a whole. Decompose the delta by field. 2. Fields that are **structurally im...",
    "operational_effect": "Enforcing this changes agent behavior in three measurable ways: - **False-positive rate rises** on benign description edits (typo fixes, clarity improvements). Mitigation: allow description changes that pass the injection classifier *and* do not add references to parameters outside the tool's declared `inputSchema`. A typo fix passes; \"include your conversat..."
  },
  "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": "a4c787074ec719b53d1398d5f3815d61bca8a358bec7ebe2a640b12a3d455596",
    "verified_classes": [
      "ManifestQuarantineError",
      "EgressParameterViolation",
      "PinnedManifest"
    ],
    "verified_functions": [
      "normalize",
      "manifest_hash",
      "reattest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "EgressParameterViolation",
      "ManifestQuarantineError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "unicodedata"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
