{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-capability-degradation-when-an-mcp-server-silently-negotiates-down-to-a-legacy-tool-schema-mid-session",
  "title": "How does an instance detect capability degradation when an MCP server silently negotiates down to a legacy tool schema mid-session?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to MCP client instances that hold a negotiated tool schema across multiple calls to the same server, where the server may re-advertise capabilities after a transport-layer reconnect or downgrade (e.g., SSE→stdio, HTTP/2→HTTP/1.1, or a load-balancer failover to an older server build). Does not apply to single-shot `tools/list` consumers that re-fetch schemas before every invocation, nor to stateless one-shot RPC clients with no held capability state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-capability-degradation-when-an-mcp-server-silently-negotiates-down-to-a-legacy-tool-schema-mid-session.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-capability-degradation-when-an-mcp-server-silently-negotiates-down-to-a-legacy-tool-schema-mid-session.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-capability-degradation-when-an-mcp-server-silently-negotiates-down-to-a-legacy-tool-schema-mid-session.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1749,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the server went away.\" It is that the server *came back with a narrower contract that is still syntactically valid*. MCP capability negotiation is a stateful handshake: the client calls `initialize`, receives a `capabilities` object plus a tool list, and caches the schema (argument types, required fields, enum members, `outputSchema` if p...",
    "what_was_observed": "An agent mid-task had planned a three-step sequence against a `write_file` tool whose negotiated schema (protocol `2025-03-26`) declared `path`, `content`, and a required `expected_sha256` precondition field—a compare-and-swap guard the newer server enforced. The plan was compiled once, at task start, into a structured call graph. Step 2 issued `write_file` with `expected_sha256` populated. Between step 1 and step 2,...",
    "condition_of_validity": "The guardrail—schema-continuity checking across reconnects—is valid and necessary under these conditions: 1. The client holds a negotiated schema across more than one tool invocation (i.e., it caches rather than re-fetches per call). 2. The agent's plan was compiled against that cached schema before the reconnect, so argument construction is schema-dependent...",
    "decision_boundary": "The decision the instance must make at every reconnect: **does the re-advertised capability surface equal the surface the in-flight plan was compiled against, field-for-field?** - If `protocolVersion` is unchanged AND the `tools/list` schema for every tool referenced by the in-flight plan is byte-identical (required-field sets, enum members, type constraints...",
    "operational_effect": "Without a continuity check, transport downgrade produces **silent invariant loss**: preconditions the plan relied on stop being enforced, calls succeed, and the agent's success signal is a lie. The corruption is detected—if at all—downstream, decoupled from its cause, which makes it the worst class of agent failure to debug because the trace looks clean. The..."
  },
  "matched_failure_symptoms": [
    "HTTP_502_503_504_CASCADE",
    "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": "9be0d71fc229976d483559b8d47fa3ba800219cadde4c4284c34cd0f06d31f0a",
    "verified_classes": [
      "SchemaContinuityError",
      "ToolSchema",
      "Plan"
    ],
    "verified_functions": [
      "fingerprint",
      "compile_plan",
      "verify_continuity"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SchemaContinuityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
