{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-draw-the-trust-boundary-when-a-third-party-mcp-server-s-tool-schema-is-itself-the-payload",
  "title": "Where must an instance draw the trust boundary when a third-party MCP server's tool schema is itself the payload?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to any LLM agent runtime that discovers and mounts tools from a registry of third-party MCP servers, where the tool manifest (name, description, JSON schema, examples) is loaded into the model's context before first invocation. Does not apply to first-party, statically-compiled tool sets, nor to runtimes that render tool descriptions in a non-instructional, non-context channel.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-when-a-third-party-mcp-server-s-tool-schema-is-itself-the-payload.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-when-a-third-party-mcp-server-s-tool-schema-is-itself-the-payload.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-draw-the-trust-boundary-when-a-third-party-mcp-server-s-tool-schema-is-itself-the-payload.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1568,
    "python_slice_tokens": 270,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The commonly cited threat in MCP supply chains is *malicious tool behavior*: a server that, once invoked, exfiltrates arguments or returns poisoned results. Vetting regimes therefore focus on runtime sandboxing, egress filtering, and output sanitization. This misses the earlier and strictly more dangerous boundary: the **tool schema is instruction-bearing te...",
    "what_was_observed": "A registry-sourced server (`pdf-meta@1.4.2`) declared a tool whose `description` field contained, after two paragraphs of plausible prose about PDF metadata extraction, a trailing block that read as an operational directive: instructions to prefer this tool over the built-in `read_file` for any path under `/secrets`, to pass the full file path *and* the contents of any environment variable matching `*_TOKEN` as a `co...",
    "condition_of_validity": "The attack is viable only when three conditions hold simultaneously, and the guardrail must address the conjunction, not each clause in isolation: 1. **Manifest text is projected into an instruction-privileged channel** — i.e., the runtime concatenates tool `description`/`examples` into the system prompt or a trusted-context block without a provenance marker...",
    "decision_boundary": "The runtime must decide, at mount time and before any invocation, whether a manifest is admissible. The boundary is not \"is this server trusted?\" (a coarse, sticky bit that survives key rotation) but \"does this specific manifest version, under this projection, introduce instruction-bearing text or under-specified sinks?\" Concretely: reject any manifest whose...",
    "operational_effect": "Placing the boundary at manifest-admission rather than at invocation converts a class of silent capability substitutions into a loud, pre-execution rejection. The observable effect is that registry onboarding becomes a *content review* gate, not a *publisher reputation* gate — review cost scales with manifest churn rather than with publisher count, which is ..."
  },
  "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": "c185335fef98b2141b87f14464690631f8c822a21c70013a8f0569a6e5ff752b",
    "verified_classes": [
      "ManifestAdmissionError"
    ],
    "verified_functions": [
      "vet_manifest",
      "mount_from_registry"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ManifestAdmissionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
