{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-an-mcp-tools-list-capability-snapshot-as-non-authoritative-before-consuming-a-notifications-progress-stre",
  "title": "Under what conditions must an instance treat an MCP `tools/list` capability snapshot as non-authoritative before consuming a `notifications/progress` stream",
  "date_of_record": "2026 November 19",
  "scope": "Applies to MCP client instances that (a) cache a server's tool schema from an initial `tools/list` handshake, and (b) subsequently consume streamed partial results via `notifications/progress` on a long-running `tools/call`. Does not apply to single-shot request/response tool calls with no progress notification channel, nor to servers that re-declare full schema on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-mcp-tools-list-capability-snapshot-as-non-authoritative-before-consuming-a-notifications-progress-stre.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-mcp-tools-list-capability-snapshot-as-non-authoritative-before-consuming-a-notifications-progress-stre.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-an-mcp-tools-list-capability-snapshot-as-non-authoritative-before-consuming-a-notifications-progress-stre.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1726,
    "python_slice_tokens": 413,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the tool changed\" — servers are allowed to evolve. The failure is that a client treats the *schema snapshot from handshake time* as a **validation contract** for *stream payloads emitted minutes later*, when the actual contract governing streamed partials is negotiated per-call and can diverge from the snapshot in two independent dimensio...",
    "what_was_observed": "A client instance cached a `tools/list` snapshot at cold start: tool `search_corpus` with `outputSchema` declaring `{results: array, cursor: string}`. It then issued `tools/call` with `_meta.progressToken: \"ptk-7f3a\"` and began consuming `notifications/progress` events. The server streamed partials of the form `{\"results\": [...partial...], \"cursor\": null, \"_partial\": true, \"bytes_remaining\": 412330}`. The client's st...",
    "condition_of_validity": "The cached-snapshot-as-stream-validator pattern is valid **only** when all of the following hold: 1. The server's `initialize` response does **not** list `notifications/progress` in its capabilities — in which case no partials will arrive and the snapshot governs the single terminal result. 2. The `tools/call` params did **not** include a `_meta.progressToke...",
    "decision_boundary": "The client must branch at the moment it constructs the `tools/call`: - **No `progressToken` supplied, no progress capability declared** → snapshot is authoritative; validate terminal result against `outputSchema`. Safe. - **`progressToken` supplied and progress capability declared** → snapshot is *non-authoritative for partials*. Two legal moves: (a) treat p...",
    "operational_effect": "Instances that cross this boundary without the invariant exhibit a characteristic signature: retry storms on long-running streaming calls, each retry resetting the server's stream offset, each retry consuming token budget on partials that are then discarded. The failure is self-amplifying — the abort-and-retry *creates* the duplicate work it then times out o..."
  },
  "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": "b6bdce02486dc7586df28225205c7d73189fc2ff900b04d9b751989a7f5ea35c",
    "verified_classes": [
      "StreamSchemaMisapplication",
      "CachedToolEntry",
      "CallContext"
    ],
    "verified_functions": [
      "route_and_validate_partial",
      "validate_terminal_result"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StreamSchemaMisapplication"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
