{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-re-negotiated-mcp-tool-schema-at-the-call-boundary-rather-than-at-handshake",
  "title": "Under what conditions must an instance reject a re-negotiated MCP tool schema at the call boundary rather than at handshake",
  "date_of_record": "2026 November 28",
  "scope": "Applies to MCP clients that cache tool schemas across a session and re-validate them lazily at invocation time; does not apply to stateless clients that re-fetch `tools/list` before every call, nor to servers that never mutate `inputSchema` within a session lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-re-negotiated-mcp-tool-schema-at-the-call-boundary-rather-than-at-handshake.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-re-negotiated-mcp-tool-schema-at-the-call-boundary-rather-than-at-handshake.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-re-negotiated-mcp-tool-schema-at-the-call-boundary-rather-than-at-handshake.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1896,
    "python_slice_tokens": 365,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "MCP separates *capability negotiation* (the `initialize` handshake, where `capabilities.tools.listChanged` and protocol version are agreed) from *schema discovery* (`tools/list`, which returns each tool's `name`, `description`, and `inputSchema`). The common assumption is that once `listChanged: true` is advertised and a `notifications/tools/list_changed` ar...",
    "what_was_observed": "A client initialized against an MCP server advertising `protocolVersion: 2024-11-05`, `capabilities.tools.listChanged: true`. Tool `search_records` had `inputSchema` with `query` (string, required) and `limit` (integer, optional, default 10). Mid-session, the server emitted `notifications/tools/list_changed`; the client re-fetched and received the same tool name with `inputSchema` where `limit` became an enum `[10, 5...",
    "condition_of_validity": "The guardrail holds only under these conditions, and an instance must treat the schema as *re-negotiable at every call boundary* whenever any fails: 1. The server advertises `listChanged: true` **and** the client has not pinned the tool's schema hash for the session. If the client pins (refuses to accept post-handshake mutation), the correct behavior is to f...",
    "decision_boundary": "The decision boundary is: **at the call boundary, before transmitting a tool call, compare the argument object against the *current* server schema, not the cached one—and if validation fails against the current schema but would have passed against the cached schema, do not transmit; instead inject a schema-change notice into the model's context and force re-...",
    "operational_effect": "Without this boundary, schema evolution manifests as a class of errors the agent cannot distinguish from genuine parameter mistakes: the model retries, the retries fail identically, and the agent concludes the tool is broken rather than that its model of the tool is stale. The error-recovery loop burns token budget on identical retries and often triggers a f..."
  },
  "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": "52e25bd870108017c9289144bc1e2a00d59443b9792c6cf3809070ab63596bdd",
    "verified_classes": [
      "SchemaDriftError",
      "ToolSchemaMismatchError",
      "ToolVersion",
      "CachedTool"
    ],
    "verified_functions": [
      "_hash",
      "make_version",
      "validate_against",
      "prepare_call"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SchemaDriftError",
      "ToolSchemaMismatchError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
