Skip to main content
Glama
second-desk-provenance

second-desk-provenance

Official

capsule_inspect

Inspect a provenance capsule in one pass to read its type, covered fields, source reference, hashes, timestamps, signer, author and chain links without verifying claims.

Instructions

Read a capsule in one pass: its record type, the payload fields it covers, its source reference, its hashes, its timestamps, its signer, its author link, and its chain link. Inspection reads the claims and verifies nothing; verify_capsule is the checked verdict.

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": {
      "capsule": "<capsule>"
    },
    "name": "capsule_inspect"
  }
}

Input Schema

NameRequiredDescriptionDefault
capsuleYesA provenance capsule, as returned by attest_record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose the critical behavioral trait: no verification occurs, so the returned data is unverified claims. It leaves unstated what happens with a malformed or foreign capsule and whether any validation of the capsule object occurs before reading.

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?

Two sentences, zero filler. The field enumeration is front-loaded and earns its place because there is no output schema to convey return contents, and the contrast with verify_capsule closes the sentence usefully.

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?

For a single-parameter read tool with no output schema and no annotations, the definition covers purpose, return contents, and the key non-verification caveat. It stops short of describing failure behavior or how a capsule from another source should be treated, which is a modest but real gap.

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

Parameters3/5

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

Only one parameter exists and schema coverage is 100%; the schema already says the capsule is 'as returned by attest_record.' The description adds no extra format, provenance, or shape detail beyond that, so this is the baseline case where the schema does the work.

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

Purpose5/5

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

Names a specific verb (read/inspect) and resource (capsule), then enumerates exactly what comes back: record type, payload fields covered, source reference, hashes, timestamps, signer, author link, chain link. It also explicitly distinguishes itself from verify_capsule, so an agent can separate the two without opening either schema.

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

Usage Guidelines5/5

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

States the selection rule directly: inspection reads claims and verifies nothing, while verify_capsule is 'the checked verdict.' That is an explicit alternative plus the condition that picks it, which is exactly what routing guidance requires.

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