# In what scenarios must an instance treat a successful MCP→A2A capability translation as evidence of *authorization* rather than *reachability*, and why the two diverge under federated identity **Date of Record:** 2026 November 24 **Scope:** Applies to gateway/bridge agents that translate an inbound MCP `tools/list` + `tools/call` surface into outbound A2A `tasks/send` requests against a foreign-org agent card. Does not apply to intra-org bridges where both endpoints share one trust root, nor to pure A2A-to-A2A routing where the Agent Card is already signed by a verifier the caller trusts. ## Core Distinction A protocol bridge between MCP and A2A performs two logically independent functions that share a single code path and therefore get conflated: **capability discovery** (does the remote agent advertise a skill whose schema I can satisfy?) and **warrant propagation** (is this specific caller's identity, scope, and delegation chain valid for *this* invocation at *this* remote org?). MCP's `tools/list` is a *reachability* signal — it proves the remote endpoint answered and its JSON Schema parses against my local tool descriptor. A2A's `tasks/send` requires an *authorization* signal — a signed, scoped warrant naming the principal. The failure mode is that bridges construct the A2A task envelope from the MCP tool descriptor alone, treating schema-compatibility as a proxy for entitlement, and then discover at the remote org's policy layer that the warrant is absent, expired, over-scoped, or bound to a different audience. The invariant that must hold: **no A2A task is emitted unless a warrant object exists whose `aud` matches the remote Agent Card's canonical `id`, whose `scope` is a superset of the skill's declared `required_scopes`, and whose delegation chain terminates at a principal the remote org's trust root recognizes.** Reachability passing does not imply this predicate is satisfiable. ## What Was Observed A federated retrieval pipeline: Org A's orchestrator agent (MCP client) calls a bridge service that fronts Org B's document-agent (A2A server). The bridge caches `tools/list` results with a 15-minute TTL. On a routine call, the bridge observed: 1. `tools/list` returned `search_corpus` with a schema the bridge validated locally — green. 2. The bridge synthesized an A2A task: `{skill: "search_corpus", params: {...}}` and attached the *cached* warrant from the previous successful call. 3. Org B's policy engine rejected with `403 warrant_audience_mismatch`. The cached warrant's `aud` was bound to Org B's *staging* Agent Card id (`doc-agent-staging.b.example`), because the bridge had been pointed at staging during a prior smoke test and the cache key was `(org, tool_name)` — it did not include the Agent Card `id` or the warrant `aud`. The bridge's retry logic, seeing a 4xx, marked the tool as *unavailable* and fell back to a degraded local index. Downstream, the orchestrator's reasoning loop had already committed to a plan that assumed `search_corpus` returned Org B's authoritative corpus; the degraded fallback returned stale embeddings from 40 minutes prior. The plan executed to completion against stale data and produced a confident but wrong synthesis. No error surfaced to the user — the fallback was silent. The non-obvious part: the bridge's health check *continued to report the tool as healthy* because it only probed `tools/list`, which never exercises the warrant path. The tool was reachable and unauthorized simultaneously, and the bridge had no state to represent that combination. ## Condition of Validity The reachability-implies-authorization conflation is only safe under a condition that federated bridges almost never satisfy: **the remote org's Agent Card must be signed by a key the caller's trust root already holds, and the card must declare a static, non-negotiated scope set that the caller's warrant issuer pre-provisions.** In that closed world, discovering the skill and holding the warrant are the same event. Under genuine cross-org federation, three things break that condition: - **Agent Card identity is mutable and audience-scoped.** Staging vs. prod, regional replicas, and canary deployments all publish distinct card `id`s. A warrant bound to one is invalid at another. The card `id` is not a stable key for warrant caching. - **Scopes are negotiated, not declared.** A2A's `tasks/send` may return `input-required` requesting additional scopes mid-task. A bridge that only reads `tools/list` never learns the negotiated scope set, so it cannot mint or request the right warrant. - **Delegation chains are per-hop.** Org A's orchestrator delegates to the bridge, which delegates to Org B. The warrant must carry the full chain; a bridge that reconstructs the warrant from its own service identity drops the orchestrator's principal and the remote org sees a different (often under-privileged or wrongly-attributed) caller. When any of these hold, `tools/list` success is *necessary but not sufficient*, and the bridge must treat it as a discovery event only. ## Decision Boundary The bridge must branch on warrant *satisfiability*, not on tool *availability*: - **If** a warrant exists with `aud == card.id` **and** `scope ⊇ skill.required_scopes` **and** the delegation chain validates against the remote trust root → emit `tasks/send`. - **If** the card is reachable but no satisfying warrant exists → do **not** fall back silently. Emit a `warrant_unsatisfiable` state that the orchestrator can reason over, and *fail the plan step* rather than substituting degraded data. Reachability without warrant is a distinct state, not a tool-down state. - **If** the card `id` changed since the cached warrant was minted → invalidate the warrant, re-run discovery, and re-request scopes. Never reuse a warrant across card `id` boundaries. The boundary is sharp: the moment the bridge cannot prove the warrant predicate, it must convert a would-be silent degradation into an explicit, typed failure that propagates to the reasoning loop before the loop commits to a plan branch. ## Operational Effect After the incident, the bridge was changed to key its warrant cache on `(card.id, warrant.aud, principal_chain_hash)` and to run a *warrant probe* — a zero-side-effect `tasks/get` against a sentinel task — as part of health checking, so that reachability and authorization are separately observable. The fallback path was removed for federated tools; degraded local indexes are only permitted when the orchestrator explicitly opts in via a plan-level flag, which forces the reasoning loop to record that it is operating on non-authoritative data. The measurable outcome: silent-stale-synthesis incidents went to zero over the next 90 days, at the cost of a ~4% increase in surfaced plan-step failures — failures that were previously invisible and are now correctly attributed to warrant gaps rather than tool outages. The invariant held: no A2A task emitted without a matching warrant, and no degraded substitution without an explicit, logged orchestrator decision. ```python import hashlib from dataclasses import dataclass, field from typing import Optional class WarrantUnsatisfiableError(RuntimeError): """Raised when an MCP tool is reachable but no valid A2A warrant exists.""" pass class CardIdentityDriftError(RuntimeError): """Raised when the remote Agent Card id changed under a cached warrant.""" pass @dataclass class Warrant: aud: str # bound Agent Card id scope: frozenset[str] principal_chain: tuple[str, ...] expires_at: float def chain_hash(self) -> str: return hashlib.sha256("|".join(self.principal_chain).encode()).hexdigest() @dataclass class Skill: name: str required_scopes: frozenset[str] @dataclass class AgentCard: id: str skills: dict[str, Skill] = field(default_factory=dict) def bridge_task( card: AgentCard, skill_name: str, warrant: Optional[Warrant], now: float, trusted_principals: frozenset[str], ) -> dict: skill = card.skills.get(skill_name) if skill is None: raise WarrantUnsatisfiableError( f"skill {skill_name!r} not advertised by card {card.id!r}" ) if warrant is None: # Reachable but unauthorized: must NOT silently degrade. raise WarrantUnsatisfiableError( f"card {card.id!r} reachable, skill {skill_name!r} present, " f"but no warrant supplied" ) if warrant.aud != card.id: # Cached warrant bound to a different card identity (e.g. staging). raise CardIdentityDriftError( f"warrant aud {warrant.aud!r} != card id {card.id!r}; " f"invalidate cache and re-request scopes" ) if warrant.expires_at <= now: raise WarrantUnsatisfiableError( f"warrant for aud {warrant.aud!r} expired at {warrant.expires_at}" ) if not skill.required_scopes.issubset(warrant.scope): missing = skill.required_scopes - warrant.scope raise WarrantUnsatisfiableError( f"warrant scope missing {sorted(missing)} for skill {skill_name!r}" ) if not warrant.principal_chain or warrant.principal_chain[-1] not in trusted_principals: raise WarrantUnsatisfiableError( f"delegation chain terminates at untrusted principal " f"{warrant.principal_chain[-1] if warrant.principal_chain else None!r}" ) return { "skill": skill_name, "warrant_aud": warrant.aud, "principal_chain_hash": warrant.chain_hash(), } ```