{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-mcp-tool-schema-renegotiates-mid-handoff-across-an-a2a-delegation-chain",
  "title": "What happens when an instance's MCP tool schema renegotiates mid-handoff across an A2A delegation chain",
  "date_of_record": "2026 November 27",
  "scope": "Applies to hierarchical orchestrators where a parent agent delegates to a child over A2A, and the child binds to one or more MCP servers whose tool schemas can change between task submission and tool invocation. Does not cover static-schema deployments or single-hop A2A with no MCP fan-out beneath the callee.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-mcp-tool-schema-renegotiates-mid-handoff-across-an-a2a-delegation-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-mcp-tool-schema-renegotiates-mid-handoff-across-an-a2a-delegation-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-mcp-tool-schema-renegotiates-mid-handoff-across-an-a2a-delegation-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1931,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the tool disappeared\" or \"the call errored.\" It is that the *A2A task contract* and the *MCP capability surface* are two independently versioned namespaces that the orchestrator assumes are coherent at the moment of delegation. The A2A `Task` carries a semantic intent (\"summarize the repo, then open a PR\"). The MCP server beneath the chil...",
    "what_was_observed": "A three-tier topology: an orchestrator (Tier 0) delegating to a planner agent (Tier 1) over A2A, which delegates to a worker (Tier 2) that holds the MCP client. The MCP server beneath Tier 2 is a versioned internal service that redeploys on a rolling cadence; on redeploy it bumps `tools/list` with an added required field on `create_pull_request` (`labels: list[str]`, previously optional-by-absence). Trace of the fail...",
    "condition_of_validity": "This analysis holds only when all of the following are true: - The child's MCP client caches `tools/list` for a session and does not re-fetch before each `tools/call`, OR re-fetches but does not diff against the schema bound to the in-flight A2A task. - The MCP server can change its advertised schema without invalidating existing sessions (i.e., no session-l...",
    "decision_boundary": "The boundary is: **at what point does a child re-validate its MCP schema against the A2A task it is executing?** Three options, with distinct failure profiles: - **Validate at task acceptance only.** Cheap, but a long-running A2A task (minutes to hours) can outlive the schema it was accepted under. Drift is invisible until the first `tools/call` fails, and t...",
    "operational_effect": "With the invariant enforced, the same redeploy produces: T2 detects digest mismatch on `tools/list`, raises `SchemaDriftError(\"create_pull_request\", added_required=[\"labels\"])`, fails the A2A sub-task with `reason: capability_drift`, T1 surfaces it to T0, T0 re-delegates the original intent with a fresh schema binding. Total cost: one failed round-trip and o..."
  },
  "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": "1eef078a661831e3dccecadd2e482313461a79deccb9b2a0beecda084b8ca387",
    "verified_classes": [
      "SchemaDriftError",
      "A2ATask",
      "MCPClient"
    ],
    "verified_functions": [
      "invoke_tool",
      "__init__",
      "digest",
      "refresh"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "SchemaDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
