Skip to main content
Glama
second-desk-provenance

second-desk-provenance

Official

export_author

Exports every capsule by one author into a portable, verifiable bundle in chain order with public key and daily roots, so dropped capsules are detectable offline without a server or account.

Instructions

Export everything one author has written into one portable bundle: every capsule by that author key, in chain order, the author public key, and the daily root artifacts covering them. The bundle carries its capsule count and a fold over the capsule ids, so a dropped capsule is detectable. The bundle is the gate: it travels anywhere and verifies with the standalone verifier, with no server and no account. Read only; needs no signing key.

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": "export_author"
  }
}

Input Schema

NameRequiredDescriptionDefault
authorNoOptional. The author to export: a key id or a public key hex. Defaults to the author of the chain first capsule.
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.

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?

With no annotations supplied, the description carries the full burden and does well: it declares 'Read only; needs no signing key,' describes the integrity guarantees (capsule count plus a fold over capsule ids so a dropped capsule is detectable), and states the bundle is self-verifying. The remaining gap is that it never says where the bundle is written or what is returned to the caller.

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?

Purpose is front-loaded in the first clause, and each subsequent sentence adds a distinct fact (contents, integrity, portability, safety). It is slightly dense with detail about the fold and daily roots, but nothing is truly redundant.

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?

There is no output schema, and the description compensates by describing the bundle's contents and integrity metadata in detail. What is missing is the delivery mechanism — whether a file path, bytes, or a summary object is returned — which leaves a modest gap for a tool whose whole purpose is producing an artifact.

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 three optional parameters (author, roots_dir, chain_path) and their environment-variable fallbacks are already documented. The description adds no parameter-level meaning beyond that, which is the expected baseline when 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?

States a specific verb and resource ('Export everything one author has written into one portable bundle') and then enumerates the bundle's contents: capsules by author key in chain order, author public key, daily root artifacts. This is clearly distinct from siblings like verify_capsule or capsule_inspect, which operate on single items rather than producing a portable export.

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?

The description gives a clear usage context: the bundle 'travels anywhere and verifies with the standalone verifier, with no server and no account,' which tells an agent this is the tool for offline/portable verification. It does not explicitly name an alternative or a when-not-to-use condition, so it falls short of a 5.

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