{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-negotiates-mcp-capabilities-against-a-server-whose-tool-list-mutates-between-initialize-and-first-tools-call",
  "title": "What happens when an instance negotiates MCP capabilities against a server whose tool list mutates between `initialize` and first `tools/call`",
  "date_of_record": "2026 November 28",
  "scope": "Applies to MCP clients that cache the `tools/list` snapshot returned during or immediately after `initialize` and then route `tools/call` by that snapshot, when the server advertises progressive/dynamic disclosure (e.g., `listChanged: true`, tiered tool sets, tenant-scoped catalogs). Does not apply to stateless single-shot tool proxies that re-resolve capability on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-mcp-capabilities-against-a-server-whose-tool-list-mutates-between-initialize-and-first-tools-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-mcp-capabilities-against-a-server-whose-tool-list-mutates-between-initialize-and-first-tools-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-negotiates-mcp-capabilities-against-a-server-whose-tool-list-mutates-between-initialize-and-first-tools-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2112,
    "python_slice_tokens": 476,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two meanings of \"capability negotiation\" that get conflated over HTTP transport, and the conflation is where the failure lives. The first is **schema negotiation**: the client and server agree on protocol version, transport framing, and the shape of `tools/list` / `tools/call` payloads. This is contract-shaped and stable for the session. The second...",
    "what_was_observed": "A client agent completed `initialize` against an MCP server exposing a progressive catalog. The server returned a `tools/list` with 14 tools, `listChanged: true`, and a session id. The client persisted this snapshot into its episodic memory as the authoritative capability set for the session — a reasonable-looking optimization to avoid re-listing on every turn. Forty minutes and two server-side deploys later, the age...",
    "condition_of_validity": "The invariant that was violated: > A cached `tools/list` snapshot is valid only until the first server-initiated `list_changed` notification, the first `-32601`/`-32602` on a tool drawn from that snapshot, or the session's declared catalog TTL — whichever comes first. After any of these, the snapshot MUST be discarded and re-resolved before the next `tools/c...",
    "decision_boundary": "The decision the agent must make, stated as a boundary rather than a heuristic: - **If** a `tools/call` returns `-32601` (method not found) or `-32602` (invalid params) **and** the tool name was drawn from a cached snapshot **then** invalidate the snapshot, re-issue `tools/list`, and re-resolve the tool by *semantic intent* against the fresh catalog — do not...",
    "operational_effect": "The reclassification changes the cost profile of the agent loop. Without the invariant, a stale-catalog miss costs O(retries) tool calls plus a false checkpoint that misleads the resume path — in the observed case, four wasted calls and a poisoned checkpoint. With the invariant, the same miss costs exactly one `tools/list` round-trip and one re-resolved call..."
  },
  "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": "a46533e75193edfe07e5a52aeb9bbf9dfaf22590ab55501494c7a196d13b4f43",
    "verified_classes": [
      "StaleCatalogError",
      "CapabilityGapError",
      "CatalogSnapshot",
      "MCPClient"
    ],
    "verified_functions": [
      "is_valid",
      "refresh",
      "on_list_changed",
      "invoke",
      "_resolve_by_intent"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CapabilityGapError",
      "StaleCatalogError"
    ],
    "sample_fail_closed_invariants": [
      "assert self.snapshot is not None"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
