Skip to main content
Glama

capsule_verify

Validate a capsule's manifest structure, recompute content hashes and manifest digest, and rerun bundled proof checks to return VERIFIED, FAILED, or INVALID; use static mode for untrusted sources.

Instructions

Verify a capsule: validate its manifest structure, recompute its content hashes and manifest digest, and in full mode re run its bundled proof checks in separate processes. Verdict: VERIFIED, FAILED, or INVALID. Use static mode for a capsule from a source you do not trust yet.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "path": "<path>"
    },
    "name": "capsule_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNo'full' (default) or 'static'.
pathYesPath to the folder or file to check.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

No annotations were supplied, so the description carries the full load, and it does disclose a meaningful behavioral trait: in full mode it re-runs bundled proof checks 'in separate processes,' which signals that code from the capsule is executed and implies a sandboxing boundary. It also names the three possible verdicts (VERIFIED, FAILED, INVALID). It does not state whether verification mutates anything, expected runtime, or how failures are surfaced beyond the verdict, so there is room left.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three sentences, each doing distinct work: what is checked, what comes back, and which mode to use. The core operation is front-loaded and there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of return values and does so by enumerating the three verdicts. For a two-parameter verification tool this is nearly complete; only finer detail such as per-check results or failure diagnostics is absent, which is a minor gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3, and the description adds value beyond it by explaining what the modes mean in practice — full runs the bundled proof checks, static is the safe choice for untrusted sources, and full is the default. The path parameter is not elaborated beyond 'folder or file,' but the schema already covers it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb+resource (verify a capsule) and enumerates the concrete operations performed: manifest structure validation, content hash and manifest digest recomputation, and re-running bundled proof checks. It does not name a sibling tool to distinguish itself from (e.g., capsule_inspect or recheck), so it falls short of the top score, but an agent can tell what it does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives explicit mode-selection guidance: 'Use static mode for a capsule from a source you do not trust yet,' and notes that full is the default mode. What is missing is guidance on when to pick this tool over adjacent tools like capsule_inspect or recheck, so no exclusions or alternatives are stated.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.