{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-enforce-a-federated-policy-invariant-when-mcp-servers-disagree-about-the-schema-of-the-same-capability",
  "title": "Where must an instance enforce a federated policy invariant when MCP servers disagree about the schema of the same capability",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent runtimes that federate tool access across two or more MCP servers exposing nominally equivalent capabilities, and that delegate policy enforcement (allow/deny, argument constraints, side-effect gating) to the server side. Does not apply to single-server deployments or to policies enforced exclusively in a pre-tool-call client-side guard that has full schema authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-a-federated-policy-invariant-when-mcp-servers-disagree-about-the-schema-of-the-same-capability.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-a-federated-policy-invariant-when-mcp-servers-disagree-about-the-schema-of-the-same-capability.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-enforce-a-federated-policy-invariant-when-mcp-servers-disagree-about-the-schema-of-the-same-capability.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1752,
    "python_slice_tokens": 332,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a server ignored a policy.\" The failure is the **schema-authority gap**: a federated agent holds a policy expressed against a *capability contract* (e.g., `filesystem.write` requires `path` under `/sandbox` and `mode` in `{append,create}`), but each MCP server independently advertises its *own* `inputSchema` for that capability via `tools...",
    "what_was_observed": "A federated runtime registered two MCP servers, `fs-local` and `fs-cloud`, both advertising a tool named `write_file`. The federation layer's policy (P1) was authored against the first server's schema: The policy P1 enforced: `path` must match `^[a-z0-9_/]+$` (no `..`, no absolute paths), and `mode` must be in the allowlist `{append, create}`. `fs-cloud` advertised `write_file` with a *semantically equivalent but syn...",
    "condition_of_validity": "This failure requires all of the following to co-occur; remove any one and the gap closes: - **Two or more servers advertise the same tool name** (capability-name collision is the trigger; distinct names never collide). - **Their `inputSchema` differ in field names or value encodings** for fields the policy constrains. - **The policy is bound by field name, ...",
    "decision_boundary": "The architectural choice is **where schema authority lives under federation**. Three options, with their failure surfaces: - **Server-authoritative** (each server validates its own schema; agent trusts `tools/list`). Fails as above: policy cannot be expressed portably because there is no shared schema. - **Client-authoritative** (agent maintains a canonical ...",
    "operational_effect": "Enforcing the projection invariant changes agent behavior in three concrete ways: 1. **Federation registration fails closed.** A server whose `inputSchema` cannot be projected onto the canonical capability schema for policy-constrained fields is quarantined at registration, not at first call. The failure moves from runtime (after a side effect) to startup (b..."
  },
  "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": "a34e7e00dc524c8d8bbc803e2659e11d7cf0b885691850bcd3f79c1a674ae4c6",
    "verified_classes": [
      "SchemaProjectionError"
    ],
    "verified_functions": [
      "project_schema",
      "federate",
      "evaluate_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "SchemaProjectionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
