Skip to main content
Glama
second-desk-provenance

second-desk-provenance

Official

chain_verify

Verifies every entry link, capsule, and daily root artifact in a provenance chain. Detects removed or altered entries, date mismatches, and signatures from untrusted keys.

Instructions

Verify the whole chain: every entry link, every capsule in it, and every daily root artifact in the roots folder. A removed entry, an altered entry, and a root whose date does not match its entries all fail here.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "chain_verify"
  }
}

Input Schema

NameRequiredDescriptionDefault
roots_dirNoOptional. Folder holding the daily root artifacts. Falls back to the PROVENANCE_ROOTS environment variable.
chain_pathNoOptional. Path to the chain file. Falls back to the PROVENANCE_CHAIN environment variable.
trusted_public_keyNoOptional. The public key hex of the signer you trust. When given, a capsule or a root signed by any other key fails.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses validation targets and failure conditions such as removed entries, altered entries, and date-mismatched roots, but it does not state read-only behavior, whether verification stops at the first failure, or how results are reported.

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 compact sentences, front-loaded with the verification scope and followed by the failure conditions. Every phrase contributes to explaining what the tool checks.

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

Completeness3/5

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

For a three-optional-parameter verification tool with no output schema or annotations, the description covers scope and failure modes. It omits result format and success signaling, which matters because neither the schema nor annotations explain what an agent should expect back.

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?

Schema description coverage is 100%, and the schema already explains roots_dir fallback, chain_path fallback, and trusted_public_key trust semantics. The description adds no meaning beyond the schema, so the baseline score of 3 applies.

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?

Specific verb 'Verify' plus resource 'the whole chain' and an explicit scope: entry links, capsules, and daily root artifacts. The 'whole chain' framing distinguishes it from capsule- or feed-level verification siblings without needing to name them.

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

Usage Guidelines3/5

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

Use is implied as full-chain integrity checking, and failure modes are named, but there is no explicit when-to-use or when-not guidance. An agent can infer this is the broad verifier, but it is not told when to prefer a sibling such as verify_capsule.

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