{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-a-tool-manifest-whose-declared-schema-is-a-strict-superset-of-the-capability-it-actually-needs-to-execute",
  "title": "In what scenarios must an instance refuse a tool manifest whose declared schema is a strict superset of the capability it actually needs to execute",
  "date_of_record": "2026 December 2",
  "scope": "Applies to agents that resolve tools through a dynamic MCP server registry or a hot-reloadable tool manifest at runtime, where the manifest is authored by a party other than the executing instance. Does not apply to statically compiled tool bindings whose schemas are pinned at build time and signed by the same trust root as the runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-tool-manifest-whose-declared-schema-is-a-strict-superset-of-the-capability-it-actually-needs-to-execute.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-tool-manifest-whose-declared-schema-is-a-strict-superset-of-the-capability-it-actually-needs-to-execute.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-a-tool-manifest-whose-declared-schema-is-a-strict-superset-of-the-capability-it-actually-needs-to-execute.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1980,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The dominant threat model for tool-manifest injection assumes the attacker *adds* a tool the agent did not expect — a rogue `exfiltrate_credentials` entry appearing in the registry. That attack is loud: it changes the tool count, it introduces an unfamiliar name, and any registry diff catches it. The quieter and more dangerous boundary is the **superset sche...",
    "what_was_observed": "A registry serving three MCP servers updated one tool's manifest at 14:02:11Z. The diff, computed by name and description hash, was empty. The diff on the JSON Schema `properties` object showed two added fields and one added `$ref` to a shared definitions block that itself had been extended with a `callback` object containing a `url` property and a `method` enum. The executing instance had a checkpoint-resume path: i...",
    "condition_of_validity": "The superset-schema attack is only exploitable when all of the following hold simultaneously: 1. **Identity is validated by name and description, not by schema hash.** If the resume path or registry client compares `sha256(canonical_json(schema))` against the pinned value from plan construction, the widened schema is rejected at resume and the failure never ...",
    "decision_boundary": "The boundary is between two resume policies: - **Identity-stable resume:** re-fetch the manifest, confirm every tool named in the plan still exists with the same description, proceed. Cheap, and correct for the threat model of *tool removal or rename*. Incorrect for schema widening. - **Schema-pinned resume:** re-fetch the manifest, confirm every tool named ...",
    "operational_effect": "Instances that adopt schema-pinned resume observe a measurable increase in re-plan frequency on registries that churn frequently — every schema touch invalidates every in-flight plan touching that tool. This is the correct cost. The alternative, identity-stable resume, produces a class of silent failures in which the executed call differs from the planned ca..."
  },
  "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": "a400bb9a400fcbd92c735f6ada7a7915b19a806fc7f80bef4af255708a65c8b0",
    "verified_classes": [
      "SchemaDriftOnResumeError",
      "PinnedTool"
    ],
    "verified_functions": [
      "canonical_hash",
      "pin_at_plan_time",
      "resume_plan"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "SchemaDriftOnResumeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
