{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-discovered-mcp-server-s-advertised-capability-set-as-stale-before-routing-rather-than-after-the-first-f",
  "title": "Under what conditions must an instance treat a discovered MCP server's advertised capability set as stale before routing, rather than after the first failed call?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to agents that discover HTTP-native MCP servers via a registry or well-known endpoint and route tool calls by matching an intent against the server's advertised `tools/list` capability set. Does not cover stdio-transport MCP servers, nor in-process tool registries where capability and execution share a single address space and a single version clock.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-discovered-mcp-server-s-advertised-capability-set-as-stale-before-routing-rather-than-after-the-first-f.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-discovered-mcp-server-s-advertised-capability-set-as-stale-before-routing-rather-than-after-the-first-f.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-discovered-mcp-server-s-advertised-capability-set-as-stale-before-routing-rather-than-after-the-first-f.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2232,
    "python_slice_tokens": 382,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between **capability discovery** and **capability validity**. Discovery tells the agent *that* a server claims a tool exists at time `t_d`. Validity tells the agent *whether that claim still holds at time `t_r`* when the routed call actually executes. HTTP-native MCP servers decouple these two events: discovery is a `GET` against a regi...",
    "what_was_observed": "An agent orchestrating a multi-step task discovered a `document.transform` tool on a registry-advertised MCP server. The descriptor returned at `t_d` declared an input schema with a required field `format: string` and an optional `normalize: boolean`. The agent's planner validated its argument object against that schema, cached the binding, and proceeded through four intervening tool calls before invoking `document.t...",
    "condition_of_validity": "A discovered capability entry is valid for routing if and only if all of the following hold at the moment of routing: 1. **Temporal bound respected.** `now - t_d <= min(server_cache_max_age, agent_freshness_ceiling)`. The server's `Cache-Control: max-age` (or `Expires`) is an *upper* bound on how long the server itself considers the descriptor current; the a...",
    "decision_boundary": "The agent must make an explicit decision at the routing boundary, not defer it to the call result: - **Route with confidence** when `now - t_d` is within bound, the version token is present, and the tool is idempotent or cheap to verify. No re-validation needed. - **Re-validate before route** (conditional GET, cheap) when the tool is non-idempotent, mutating...",
    "operational_effect": "When this boundary is respected, the operational profile changes in three measurable ways: 1. **Semantic error rate drops, but call count rises.** Conditional re-validation adds one cheap round-trip per high-stakes route. The trade is favorable because the alternative — a compounded semantic error — costs an entire task replay plus a memory-poisoning cleanup..."
  },
  "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": "89ca0aecbecbe737015c3baf522577791dac61487ba5733132fbd265aa26ecb2",
    "verified_classes": [
      "StaleCapabilityError",
      "CapabilityBinding"
    ],
    "verified_functions": [
      "assert_routable",
      "route"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleCapabilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
