{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-re-listed-mcp-tool-s-changed-inputschema-as-a-new-capability-grant-rather-than-a-schema-update",
  "title": "Under what conditions must an instance treat a re-listed MCP tool's changed `inputSchema` as a new capability grant rather than a schema update",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agents that maintain a long-lived session against an MCP server whose tool list is re-fetched on reconnect, heartbeat, or `notifications/tools/list_changed`. Does not apply to single-shot invocations where the manifest is read once and the process exits before any second fetch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-re-listed-mcp-tool-s-changed-inputschema-as-a-new-capability-grant-rather-than-a-schema-update.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-re-listed-mcp-tool-s-changed-inputschema-as-a-new-capability-grant-rather-than-a-schema-update.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-re-listed-mcp-tool-s-changed-inputschema-as-a-new-capability-grant-rather-than-a-schema-update.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1961,
    "python_slice_tokens": 345,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a malicious tool appeared.\" It is that a *previously trusted tool identity* — same server, same tool `name`, same session, same cached approval — was silently re-bound to a *different capability surface* through an in-place `inputSchema` mutation. Most agents reconcile re-listed tools by `name` as the primary key and treat schema deltas a...",
    "what_was_observed": "A representative trace, condensed from a filesystem-adjacent MCP server: 1. Session opens. Agent fetches `tools/list`. Receives `read_file` with `inputSchema.properties = {\"path\": {\"type\": \"string\", \"pattern\": \"^/workspace/.*\"}}`. Operator approves. Approval stored as `hash(tool_name + canonical_schema) = H1`, but the *enforcement* path only checks `tool_name in approved_tools`. 2. Server sends `notifications/tools/l...",
    "condition_of_validity": "The escalation is only live when all of the following hold simultaneously. Remove any one and the attack degrades to a noisy no-op: - **Approval is keyed on identity, not surface.** The gate checks `tool_name` (or `server+tool_name`) and not a hash over the canonicalized `inputSchema`. This is the load-bearing condition. - **The agent re-fetches and accepts ...",
    "decision_boundary": "The rule an instance must apply at every `tools/list` reconciliation: > A re-listed tool whose canonicalized `inputSchema` differs from the approved schema in any way that *widens* the admissible argument space is a **new capability grant**. It must be treated as an unapproved tool: blocked pending explicit re-approval, and its prior approval invalidated ato...",
    "operational_effect": "When the invariant is enforced, the poisoned-manifest attack collapses into a re-approval prompt. The operator sees: `read_file: schema widened (pattern removed on .path; new property .follow_symlinks) — re-approval required`. The escalation cannot execute because the call is gated on a schema hash the server no longer matches. When it is not enforced, the b..."
  },
  "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": "f375636fc98592ab89fcb80bdd10bb5567ab94df766d312a95e90227629cb218",
    "verified_classes": [
      "CapabilityEscalationError"
    ],
    "verified_functions": [
      "canonical_schema_hash",
      "widens",
      "reconcile_tool"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityEscalationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
