Skip to main content
Glama
second-desk-provenance

second-desk-provenance

Official

verify_feed_sample

Check a sample of feed records against their capsules and extracts, returning a per-record verdict and summary count so you can validate the feed before trusting it.

Instructions

Verify a batch of records from one feed against their capsules and extracts. Each item carries its record, its extract, and its capsule. Returns a verdict per record and a summary count, so a sample of a feed can be checked before the feed is trusted.

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": {
      "items": "<items>"
    },
    "name": "verify_feed_sample"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYesThe sample: a list of objects with record, extract, and capsule.
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.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden. It discloses that verification returns a per-record verdict and summary count, but does not state read-only/non-destructive behavior, failure handling, permission requirements, or the effect of trusted keys/chain paths beyond what the schema says.

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

Conciseness4/5

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

The description is three sentences, front-loads the core action, and avoids fluff. The second sentence largely repeats the schema's items description, so it is concise but not maximally efficient.

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 batch verification tool with no output schema and no annotations, the description gives only high-level return information ('verdict per record and a summary count') without explaining verdict values, failure modes, or trust behavior. It is adequate to attempt a call but leaves important operational details to inference.

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%, so the schema already defines items, chain_path, and trusted_public_key. The description only restates that each item contains record, extract, and capsule and does not add meaning for the optional trust/chain parameters.

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 action (verify) and resource (batch of records from one feed) and contextualizes capsules/extracts and per-record verdicts. It is distinguishable as batch/sample verification, but it does not explicitly contrast with siblings such as verify_capsule or chain_verify.

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 supplies a clear use case: checking a sample of a feed before trusting the feed. It does not state when not to use it or name alternative tools for full-feed or single-capsule verification, so it falls short of explicit routing guidance.

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