{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-peer-s-a2a-agent-card-has-silently-drifted-from-the-mcp-tool-schema-it-advertises-under-the-same-capability-name",
  "title": "How does an instance detect that a peer's A2A agent card has silently drifted from the MCP tool schema it advertises under the same capability name",
  "date_of_record": "2026 November 26",
  "scope": "Applies to cross-protocol agents that simultaneously expose an MCP server (tool surface) and an A2A agent card (capability surface) for the same underlying function, and to clients that route calls by capability name across the MCP/A2A boundary. Does not apply to single-protocol deployments or to A2A-only handoffs where no MCP tool schema is co-published.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-peer-s-a2a-agent-card-has-silently-drifted-from-the-mcp-tool-schema-it-advertises-under-the-same-capability-name.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-peer-s-a2a-agent-card-has-silently-drifted-from-the-mcp-tool-schema-it-advertises-under-the-same-capability-name.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-peer-s-a2a-agent-card-has-silently-drifted-from-the-mcp-tool-schema-it-advertises-under-the-same-capability-name.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2089,
    "python_slice_tokens": 396,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not a schema mismatch at connection time. Both protocols validate cleanly in isolation: the MCP `tools/list` response is a well-formed JSON Schema, and the A2A `agent.json` card is a well-formed capability descriptor. The boundary failure lives in the *unverified correspondence* between them. MCP describes a tool by `name` + `inputSchema`; A2A...",
    "what_was_observed": "A capability named `summarize_document` was co-published on both surfaces. The MCP `inputSchema` originally required `{\"document_uri\": string, \"max_tokens\": integer}`. The A2A card's `skill.description` read: \"Summarizes a document referenced by URI, capped at max_tokens.\" A refactor changed the MCP tool to require `{\"document_uri\": string, \"token_budget\": integer, \"language\": string}` — `max_tokens` renamed, `langua...",
    "condition_of_validity": "The drift is only detectable — and the guardrail only sound — under these conditions: - The capability is co-published: the same logical function is reachable via an MCP tool and an A2A skill. If only one surface exists, there is nothing to cross-check. - The two descriptors carry enough structural information to be compared. A2A `skill.description` alone is...",
    "decision_boundary": "The decision the runtime must make at discovery time is binary: **is the A2A card's described contract for capability `C` consistent with the live MCP `inputSchema` for the tool bound to `C`?** Three outcomes: - **Consistent** → cache both, dispatch normally. - **Divergent** → do not dispatch. Emit a `DescriptorDriftError` naming the capability and the speci...",
    "operational_effect": "Without the probe, descriptor drift is indistinguishable from peer flakiness at the orchestrator, so the failure mode is *misattributed quarantine*: correct servers get demoted, capability coverage silently shrinks, and the fleet routes around a healthy node. The blast radius is every client that discovered the capability through A2A and executed through MCP..."
  },
  "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": "b54a65abc3d5ab9c51c9415a8f65c83e93ea9ce22b3dd02d9b386c7f693df4d1",
    "verified_classes": [
      "DescriptorDriftError",
      "AgentCardSkill",
      "McpToolSchema"
    ],
    "verified_functions": [
      "check_conformance",
      "discover_and_gate",
      "__init__"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "DescriptorDriftError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
