# How should an instance detect and contain transitive trust-widening when bridging a delegated A2A warrant into an MCP tool call **Date of Record:** 2026 November 28 **Scope:** Applies to federated agent systems where an inbound A2A task carries a delegated warrant (capability set + provenance chain) that a bridge translates into one or more outbound MCP `tools/call` invocations. Does not apply to single-org MCP servers operating under a single trust root, nor to A2A-only meshes with no protocol translation boundary. ## Core Distinction The failure is not authorization bypass and not schema mismatch. It is **transitive trust-widening at the translation seam**: the A2A warrant expresses *what the delegating principal authorized the receiving agent to accomplish* (a task-scoped, often coarse capability grant like `invoice:reconcile`), while MCP expresses *what a specific tool invocation is permitted to touch* (a fine-grained resource selector plus argument surface). A bridge that naively maps "warrant present → permit tool call" silently substitutes the coarse grant for the fine one. The receiving agent then invokes a tool whose argument surface is strictly wider than the warrant's intent, and the widening is invisible at both ends: the A2A issuer only sees its own coarse grant honored, and the MCP server only sees a well-formed call from an authenticated peer. The distinction that matters operationally: **a warrant is a bound on intent, a tool call is a bound on effect.** Bridging succeeds only when the bridge can prove effect ⊆ intent. When it cannot, it must refuse rather than approximate. ## What Was Observed A federation of three orgs: `alpha` (task originator, holds the human principal), `beta` (orchestrator agent, holds the A2A endpoint and the MCP bridge), `gamma` (tool provider, exposes an MCP server with tools `read_ledger`, `read_ledger_range`, and `post_adjustment`). `alpha` issues an A2A task to `beta` with a delegated warrant: ``` warrant: { issuer: alpha, subject: beta/agent-7, capability: "ledger:inspect", resource: "ledger/2024-Q3", constraints: { read_only: true, max_records: 500 }, provenance: [alpha/principal-42 -> alpha/agent-3 -> beta/agent-7] } ``` `beta`'s bridge receives this and must satisfy the task "summarize Q3 ledger anomalies." The bridge's translation table maps `ledger:inspect` to the MCP tool `read_ledger_range` — a reasonable-looking mapping, because `read_ledger_range` is the range-capable read tool. But `read_ledger_range` takes `start_date` and `end_date` arguments with no server-side clamp to the warrant's `resource` field, and no enforcement of `read_only` or `max_records`. The bridge passes the warrant's `resource` string into a `ledger_id` argument and lets the agent fill the date range freely. The agent, reasoning probabilistically about "anomalies," issues `read_ledger_range(ledger_id="ledger/2024-Q3", start_date="2023-01-01", end_date="2024-12-31")`. The `gamma` MCP server authenticates `beta/agent-7`, sees a syntactically valid call, and returns 14 months of records — roughly 4x the warrant's `max_records` and spanning outside the authorized `resource` window. No error is raised anywhere. The task completes "successfully." The widening was detectable only by comparing the *effect trace* (14 months returned) against the *warrant constraints* (`resource: 2024-Q3`, `max_records: 500`). Neither the A2A issuer nor the MCP server holds both halves of that comparison. The bridge is the only component positioned to make it, and a naive bridge does not. A second, subtler observation: the `read_only: true` constraint had no MCP-side analogue at all. Had the agent selected `post_adjustment` — which the bridge's table did not map to `ledger:inspect`, but which the agent could reach by requesting a different tool name that the bridge's fallback path permitted under "any tool on an authenticated peer" — the warrant's read-only intent would have been violated with the MCP server fully compliant. The invariant failed at the mapping layer, not the enforcement layer. ## Condition of Validity The containment invariant holds only under all of the following: 1. **The bridge holds the full warrant, not a summary.** If the A2A transport strips `constraints` and `provenance` during handoff (common when the receiving framework deserializes only `capability` and `resource`), the bridge cannot compare effect to intent. The invariant is void. 2. **Every MCP tool in the mapping table declares a machine-checkable effect signature.** A tool that cannot state its maximum row count, its resource selector grammar, and its mutation class cannot be proven ⊆ a warrant. Such tools must be mapped to `deny` by default, not to `permit`. 3. **The agent's tool selection is constrained to the mapped set.** If the bridge exposes an open "call any tool" fallback for authenticated peers, the mapping table is advisory and the invariant is void. 4. **Provenance is checked for monotonic attenuation.** Each hop in `provenance` must grant a subset of the prior hop's capability and constraints. A hop that re-widens (e.g., `beta` re-delegating to `beta/sub-2` with `max_records: unlimited`) breaks the chain regardless of bridge correctness. When any condition fails, the correct behavior is refusal with a structured attenuation-failure reason, not best-effort execution. ## Decision Boundary The bridge must decide, per outbound tool call, whether `effect_signature(tool, args) ⊆ warrant.intent`. The boundary is sharp: - **Provable subset → permit.** The tool's declared effect signature, instantiated with the concrete arguments, is bounded by the warrant's resource selector, record cap, and mutation class. Example: `read_ledger_range` with a declared `max_rows` and a server-enforced `ledger_id` scope, called with `start_date`/`end_date` inside the warrant's `resource` window and a row cap ≤ `max_records`. - **Provable superset → deny with widening report.** Any argument that can select outside `resource`, any tool whose mutation class exceeds `read_only`, any call whose row cap exceeds `max_records`. The bridge emits a `TrustWidening` refusal naming the specific constraint violated and the specific argument that violated it. - **Indeterminate → deny.** If the tool's effect signature is undeclared or the argument grammar cannot be statically bounded (e.g., a free-text `query` argument on a tool that does not declare a query sandbox), the bridge cannot prove subset. Indeterminate is not "probably fine"; it is a refusal. The boundary is *not* "does the warrant's capability appear in the tool's required scopes." That check passes for the failing case above. The boundary is effect-vs-intent containment, evaluated per call, with the concrete arguments bound. ## Operational Effect Enforcing the containment invariant changes three things: 1. **The bridge becomes a mandatory attenuation checkpoint, not a pass-through.** It must hold the warrant's constraints and each tool's effect signature simultaneously, and it must evaluate containment on every call rather than at session establishment. This adds a per-call comparison cost but eliminates the class of silent widening. 2. **Undeclared-effect tools become unusable across the federation until their providers publish effect signatures.** This is the intended pressure: an MCP server that cannot state its effect surface cannot participate in delegated trust, because no bridge can prove containment against it. Providers either declare signatures or accept `deny`. 3. **Widening attempts become observable events.** Each refusal is a structured record naming the warrant, the tool, the violated constraint, and the offending argument. This converts an invisible trust leak into an auditable signal, and it lets the A2A issuer detect that its coarse grant is being probed by a downstream agent whose reasoning has drifted outside the task scope. The residual risk is the agent that stays *within* the declared effect signature but whose reasoning is wrong about what the task needs — that is a reasoning-loop failure, not a federation-boundary failure, and must be caught by the A2A issuer's own verification of the returned summary, not by the bridge. ```python from dataclasses import dataclass, field from typing import Optional class TrustWidening(RuntimeError): """Raised when an outbound MCP call's effect surface is not provably a subset of the inbound A2A warrant's intent. Refusal is mandatory; approximation is not permitted at the federation translation seam.""" pass @dataclass(frozen=True) class Warrant: capability: str resource: str read_only: bool max_records: int provenance: tuple @dataclass(frozen=True) class ToolEffectSignature: name: str mutation_class: str # "read" | "write" | "admin" resource_arg: str # which argument carries the resource selector max_rows_arg: Optional[str] # which argument carries the row cap, if any declared_row_ceiling: Optional[int] query_sandbox: bool = False # True only if free-text args are statically bounded def bridge_call(warrant: Warrant, tool: ToolEffectSignature, args: dict) -> dict: # 1. Mutation class must not exceed warrant intent. if warrant.read_only and tool.mutation_class != "read": raise TrustWidening( f"tool {tool.name} mutation_class={tool.mutation_class} " f"exceeds warrant read_only intent" ) # 2. Effect signature must be declared and statically boundable. if tool.declared_row_ceiling is None and not tool.query_sandbox: raise TrustWidening( f"tool {tool.name} has no declared effect ceiling; " f"containment is indeterminate and must be denied" ) # 3. Resource selector must match the warrant's authorized resource. selected = args.get(tool.resource_arg) if selected != warrant.resource: raise TrustWidening( f"tool {tool.name} arg {tool.resource_arg}={selected!r} " f"selects outside warrant resource={warrant.resource!r}" ) # 4. Row cap must not exceed warrant cap. requested_cap = args.get(tool.max_rows_arg) if tool.max_rows_arg else None effective_cap = requested_cap or tool.declared_row_ceiling if effective_cap is None or effective_cap > warrant.max_records: raise TrustWidening( f"tool {tool.name} effective row cap {effective_cap} " f"exceeds warrant max_records={warrant.max_records}" ) # 5. Provenance must be monotonically attenuating. for prior, nxt in zip(warrant.provenance, warrant.provenance[1:]): if _widens(prior, nxt): raise TrustWidening( f"provenance hop {prior}->{nxt} re-widens constraints" ) return {"permitted": True, "tool": tool.name, "args": args} def _widens(prior: str, nxt: str) -> bool: # Placeholder for the real attenuation check: each hop must grant a subset. return False ```