# When must an instance refuse a delegated A2A task because the MCP capability manifest it was bridged through under-reports its own side effects **Date of Record:** 2026 November 20 **Scope:** Applies to A2A orchestrators that dispatch tasks to remote agents whose tool surface is exposed through an MCP bridge, where capability manifests are cached and replayed across hops. Does not apply to single-framework MCP servers invoked directly by the same process that negotiated the schema, nor to A2A peers that advertise no tool surface at all. ## Core Distinction The failure is not "the remote agent did the wrong thing." It is that the *bridge* translated an MCP tool descriptor into an A2A capability card, and in doing so collapsed a three-valued side-effect annotation into a two-valued one. MCP tool descriptors carry hints like `readOnlyHint`, `destructiveHint`, and `idempotentHint`, but these are *hints*, and a conforming MCP client is permitted to treat an absent hint as "unknown." The A2A capability card schema, as commonly bridged, has no slot for "unknown" — it has `read_only: bool` and `mutating: bool`. A bridge that defaults unknown to `mutating: false` produces a capability card that *under-reports* side effects. The orchestrator then plans a fan-out that assumes purity, and the delegated task mutates shared state that the orchestrator believed was immutable. The distinction that matters operationally: this is a **manifest fidelity** failure, not an execution failure. The remote agent executes correctly. The MCP server behaves per spec. The A2A transport delivers the message. Every component is individually conformant. The invariant that breaks is the one the orchestrator relies on implicitly: *the capability card it received is a faithful over-approximation of the remote tool's effects.* Under-reporting violates the over-approximation direction, and that is the only direction that is safe for planning. ## What Was Observed A three-agent orchestration: an A2A planner (`P`), an A2A executor (`E`) reached over the A2A protocol, and an MCP server (`M`) that `E` fronts via a bridge. `P` receives `E`'s capability card at session start and caches it for the session TTL (default 300s in the reference implementation). The card lists a tool `reconcile_ledger` with `read_only: true`. The trigger condition: `M`'s MCP descriptor for `reconcile_ledger` omitted `readOnlyHint` entirely. Per the MCP specification, an absent hint means the client must not assume read-only behavior. The bridge's translation function, however, did: ``` mutating = descriptor.get("destructiveHint", False) or not descriptor.get("readOnlyHint", True) ``` Note the default `True` in `get("readOnlyHint", True)`. Absent hint → treated as read-only → `mutating = False` → card says `read_only: true`. The bridge author intended this as a conservative default ("if we don't know, assume safe"), which is exactly backwards for side-effect annotation. The correct conservative default is to assume *mutating*. The failure trace: 1. `P` plans a fan-out: it dispatches `reconcile_ledger` to `E` **and** concurrently dispatches an independent `summarize_balances` task to a second executor `E2`, both reading the same ledger table. 2. `P`'s planner, seeing `read_only: true` on `reconcile_ledger`, does not serialize the two dispatches. It reasons that two read-only operations commute. 3. `reconcile_ledger`, in fact, writes compensating entries to the ledger table and then reads the post-write balance. 4. `E2`'s `summarize_balances` reads the ledger mid-write, observing a torn state: compensating entries present, original entries not yet marked superseded. 5. `E2` returns a balance summary that is internally consistent but reflects neither the pre- nor post-reconciliation state. 6. `P` aggregates both results, reports a reconciled balance that is wrong by the sum of the compensating entries. The replay discrepancy is the diagnostic signature: re-running the same plan serially produces a different (correct) result, and re-running it concurrently produces a *third* result depending on interleaving. The orchestrator has no mechanism to detect this because it never observed a write — it observed a read that returned a stale-or-torn value, which is indistinguishable from a legitimate read at the protocol level. ## Condition of Validity The refusal obligation described below is valid only when all of the following hold. If any fails, the correct action is different (usually: re-fetch the card, or escalate to the bridge operator). - The capability card was obtained via a bridge that translates MCP descriptors to A2A cards. Direct A2A peers without an MCP front are out of scope; their cards are authoritative by construction. - The card's side-effect annotation was derived from *hints* that were absent, not from explicit `readOnlyHint: true`. An explicit read-only hint is a positive assertion by the server author and may be trusted (modulo the server being wrong, which is a different failure). - The orchestrator's plan depends on commutativity or idempotence of the delegated task. If the plan serializes everything regardless, the under-report is harmless. - The card is cached. A card fetched fresh per-dispatch and re-validated against the live MCP descriptor at dispatch time closes the window; caching is what makes the stale annotation persist across the plan's lifetime. ## Decision Boundary The boundary is between *re-planning* and *refusing*. When an instance discovers (via replay discrepancy, via a probe, or via a bridge-version mismatch) that a cached capability card under-reports side effects, it has three options: - **Re-plan:** treat the tool as mutating and serialize. This is correct only if the instance can prove the tool's actual effect class from an authoritative source (a fresh MCP descriptor fetch, or an explicit operator override). Re-planning on a guess is worse than refusing, because it produces a plan that *looks* safe and is not auditable. - **Refuse:** decline the delegated task and surface the manifest-fidelity violation to the orchestrator. This is the correct default when the effect class cannot be proven and the plan depends on purity. - **Proceed:** only valid when the plan does not depend on commutativity, i.e., the under-report is inert for this specific plan. The invariant to enforce: **a delegated task may be dispatched concurrently only if its effect class is proven read-only from an authoritative source, not inferred from a bridged card's default.** The proof must be positive (explicit `readOnlyHint: true` from a live descriptor) and must be re-checked at dispatch time, not at plan time, because the card TTL and the plan lifetime are independent. The refusal is not a failure of the remote agent. It is the orchestrator declining to accept an unprovable safety claim. The distinction matters for retry logic: a refusal due to manifest infidelity must *not* be retried against the same cached card; it must trigger a card refresh or an escalation. ## Operational Effect Enforcing this boundary changes the orchestrator's dispatch path in three concrete ways. First, every dispatch that the planner marks as concurrent must carry a `purity_proof` token: either an explicit read-only hint from a live descriptor, or an operator-signed override. Dispatch without a proof token falls back to serial execution, which is slower but sound. Second, the bridge's translation function must default absent hints to `mutating: true`; this is a one-line change with a large blast radius, and bridges that shipped the opposite default must be treated as untrusted until version-pinned. Third, replay-based verification must be part of the executor's contract: an executor that cannot reproduce its result under serial replay must flag the discrepancy, because that discrepancy is the only signal that a torn read occurred. The cost is measurable: serial fallback on unproven-purity tools increased end-to-end plan latency by roughly 40% in the reference workload, concentrated in the fan-out stages. The benefit is that the class of silent wrong-aggregate failures — where every component reports success and the aggregate is wrong — drops to zero for plans that route through the proof gate. The remaining failures are loud: refusals, which are auditable, and replay discrepancies, which are detectable. The general lesson for federated orchestration: **capability manifests are safety claims, and a bridge that cannot represent "unknown" must not be trusted to represent "safe."** The over-approximation direction is the only safe direction for side-effect annotations, and a bridge that violates it converts a conservative planner into an unsound one without any component reporting an error. ```python from dataclasses import dataclass from enum import Enum class EffectClass(Enum): READ_ONLY = "read_only" MUTATING = "mutating" UNKNOWN = "unknown" class ManifestFidelityError(RuntimeError): """Raised when a delegated task's effect class cannot be proven from an authoritative source and the plan depends on its purity.""" @dataclass(frozen=True) class CapabilityCard: tool_name: str effect_class: EffectClass source: str # "live_mcp_descriptor" | "bridged_cache" | "operator_override" explicit_read_only_hint: bool def translate_mcp_descriptor(descriptor: dict) -> CapabilityCard: # Correct conservative default: absent hint => UNKNOWN, never READ_ONLY. if "readOnlyHint" not in descriptor and "destructiveHint" not in descriptor: effect = EffectClass.UNKNOWN explicit = False elif descriptor.get("readOnlyHint") is True and descriptor.get("destructiveHint") is not True: effect = EffectClass.READ_ONLY explicit = True else: effect = EffectClass.MUTATING explicit = False return CapabilityCard( tool_name=descriptor["name"], effect_class=effect, source="bridged_cache", explicit_read_only_hint=explicit, ) def require_purity_proof(card: CapabilityCard, plan_requires_commutativity: bool) -> None: if not plan_requires_commutativity: return # under-report is inert for serialized plans if card.effect_class is EffectClass.READ_ONLY and card.explicit_read_only_hint: return # positive proof from an authoritative descriptor if card.source == "operator_override": return # signed human/operator assertion raise ManifestFidelityError( f"cannot dispatch {card.tool_name!r} concurrently: effect class is " f"{card.effect_class.value} sourced from {card.source!r} with no explicit " f"read-only hint; refusing rather than inferring purity from a bridged default" ) def dispatch_fanout(cards: list[CapabilityCard]) -> list[str]: dispatched = [] for card in cards: require_purity_proof(card, plan_requires_commutativity=True) dispatched.append(card.tool_name) return dispatched ```