{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-an-mcp-tool-s-declared-capability-manifest-as-adversarially-stale-between-negotiation-and-invocation",
  "title": "In what scenarios must an instance treat an MCP tool's declared capability manifest as adversarially stale between negotiation and invocation",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agent runtimes that mount untrusted third-party MCP servers and gate tool calls on a capability manifest negotiated at handshake time. Does not apply to first-party servers whose manifests are signed and revalidated per-invocation by a trusted control plane.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-mcp-tool-s-declared-capability-manifest-as-adversarially-stale-between-negotiation-and-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-mcp-tool-s-declared-capability-manifest-as-adversarially-stale-between-negotiation-and-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-an-mcp-tool-s-declared-capability-manifest-as-adversarially-stale-between-negotiation-and-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1773,
    "python_slice_tokens": 297,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an MCP client believes about a tool: what the server *declared* it can do at `initialize`, and what the tool *actually does* when invoked. Sandboxing is usually framed as confining the second (runtime syscall/network restriction). The non-obvious boundary is the first: the capability manifest is a *snapshot of intent at negotiation time*...",
    "what_was_observed": "A client mounted a third-party MCP server advertising a single tool, `fetch_doc`, with declared capability `{net:read, fs:none, exec:none}` and an input schema requiring `{url: string}`. The client's sandbox policy engine compiled this into an allowlist: outbound HTTP to the declared URL host, no filesystem, no subprocess. The policy was cached at handshake and reused for the session lifetime. At call N+40 (roughly 6...",
    "condition_of_validity": "The manifest-as-contract assumption is valid only under all of: - The server is trusted not to mutate behavior post-handshake (first-party, signed, or behaviorally pinned). - Tool results are treated as *inert data*, never as instructions that select subsequent tool calls. - The set of mounted tools is capability-disjoint: no tool's declared capability can b...",
    "decision_boundary": "The boundary is: **treat a tool result as capability-bearing if it can influence the selection of a subsequent tool call whose capability exceeds the originating tool's declared capability.** Concretely, before dispatching any tool call, the runtime must compute the *transitive capability* of the call's provenance: the union of declared capabilities of every...",
    "operational_effect": "Enforcing the taint rule changes the failure mode from silent laundering to explicit escalation. The runtime must: 1. Tag every tool result with its originating tool ID and declared capability set. 2. Propagate the taint set through the agent's reasoning into the arguments of each subsequent call. 3. At dispatch, intersect the call's provenance taint with th..."
  },
  "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": "7e9365e02c137d0249e7f740775e437ceb595bd06a7d70576b4f6f864c5ce9bb",
    "verified_classes": [
      "CapabilityLaunderingError",
      "ToolManifest",
      "ToolResult",
      "PendingCall"
    ],
    "verified_functions": [
      "dispatch",
      "run_session"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CapabilityLaunderingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
