{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-discover-an-mcp-server-at-well-known-mcp-but-route-to-a-capability-it-cannot-actually-satisfy",
  "title": "Why does an instance discover an MCP server at /.well-known/mcp but route to a capability it cannot actually satisfy?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to HTTP-native MCP server discovery where an agent fetches `/.well-known/mcp` (or an equivalent discovery document) and then routes a tool invocation by capability name rather than by validated schema. Does not apply to in-process/stdio transports or to servers whose discovery document is cryptographically bound to the live tool schema at invocation time.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-discover-an-mcp-server-at-well-known-mcp-but-route-to-a-capability-it-cannot-actually-satisfy.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-discover-an-mcp-server-at-well-known-mcp-but-route-to-a-capability-it-cannot-actually-satisfy.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-discover-an-mcp-server-at-well-known-mcp-but-route-to-a-capability-it-cannot-actually-satisfy.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1561,
    "python_slice_tokens": 301,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct facts an instance needs before routing a tool call: (1) *the server exists and advertises capability X*, and (2) *the server, at this moment, will accept a call to X with this argument shape and return a result the agent can parse*. Discovery via `/.well-known/mcp` establishes only the first fact. Capability-based routing treats the fi...",
    "what_was_observed": "An orchestrator instance performed cold-start discovery against three MCP servers. Each returned a valid `/.well-known/mcp` document listing `capabilities`. One server advertised `search_v2`. The agent's planner, seeing the name, emitted a `search_v2` tool call with the argument shape it had learned from a *different* server earlier in its context window: `{\"query\": \"...\", \"limit\": 10}`. The target server's actual `s...",
    "condition_of_validity": "The name-based routing shortcut is valid **only** under the conjunction: 1. The discovery document embeds, per capability, the *exact* JSON Schema of the request (not just the name), and 2. That embedded schema is version-pinned to the live endpoint (via `$id`, an ETag, or a schema digest the server also enforces at invocation), and 3. The agent validates it...",
    "decision_boundary": "The boundary is between **discovery-time capability advertisement** and **execution-time contract enforcement**. An agent must not cross it by inference. Concretely: - If the discovery doc lacks an embedded request schema for a capability, the agent must perform a *contract probe* (an `OPTIONS`/introspection call, or a `describe` capability) before its first...",
    "operational_effect": "When the invariant holds, cold-start discovery is cheap and safe: the agent fetches the well-known doc once, validates each outbound payload locally against the embedded schema, and a schema mismatch is caught *before* the network call — zero wasted retries, zero false quarantines. When it is violated, the agent exhibits a characteristic pathology: it treats..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "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": "ac4f2bb1a0ad4b09dfe327831521fd80c63538df69c28f4754c61886075686d0",
    "verified_classes": [
      "CapabilityContractDrift",
      "UnroutableCapability",
      "DiscoveredCapability",
      "RoutingTable"
    ],
    "verified_functions": [
      "register_capability",
      "dispatch",
      "_digest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CapabilityContractDrift",
      "UnroutableCapability"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
