Skip to main content
Glama
second-desk-provenance

second-desk-provenance

Official

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PYTHONPATHNoPath to the provenance server source directory (e.g. /path/to/provenance/server/src), so the provenance module can be located.
PROVENANCE_CHAINNoPath to the chain file the server appends attestations to (e.g. /home/you/provenance-chain.jsonl). Appends to the chain when one is configured.
PROVENANCE_ROOTSNoPath to the directory where daily root artifacts are written (e.g. /home/you/provenance-roots).
PROVENANCE_SIGNING_KEYYesPath to the Ed25519 signing key file (e.g. /home/you/.second-desk-provenance/signing-key.json). The private half stays on your machine.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
attest_recordA

Wrap one record in a signed provenance capsule: the payload, its source reference, the hashes of the source extracts it rests on, and the retrieval timestamp, sealed and signed with the configured Ed25519 key. The capsule is the version 2 unified envelope unless version 1 is asked for: it carries a record type (FACT, OBLIGATION, SOURCE, or EXPERIENCE) and a link to the author previous capsule. When a chain is configured, the capsule is also appended to the chain and carries its chain link, and the author link is read from the chain. Needs a signing key (the PROVENANCE_SIGNING_KEY environment variable).

verify_capsuleA

Verify one capsule mechanically: recompute the record or payload hash, the extract hash or hashes (when you supply the extracts), and the capsule id, check the Ed25519 signature, check the signer against a trusted key when you supply one, and check the author link and the chain link when a chain is configured. The verdict names the capsule record type and version. Returns the verdict and the full evidence trail in one response.

export_authorA

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.

verify_feed_sampleA

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.

capsule_inspectA

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.

chain_statusB

Report the state of the daily chain: how many entries, which dates they cover, the head entry, and the root artifacts on file.

chain_verifyA

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.

chain_seal_dayB

Fold one day of the chain into its daily root artifact and sign it. The artifact is self contained (date, root hash, entry count, sequence range, previous root, signer key) so a static page can carry it and a mirror can copy it byte for byte. Needs the signing key.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 8 tools

Disambiguation4/5

Each tool targets a distinct action and scope: attest (create), inspect (read-only), verify_capsule (single), verify_feed_sample (batch), chain_verify (whole chain), chain_status (report), chain_seal_day (seal), export_author (bundle). The cluster of verify_* tools could momentarily be confused, but the descriptions clearly bound single-capsule vs batch vs whole-chain verification, and capsule_inspect explicitly contrasts itself with verify_capsule.

Naming Consistency3/5

The set mixes verb_noun (verify_capsule, attest_record, export_author, verify_feed_sample) with noun_verb (capsule_inspect, chain_status, chain_verify, chain_seal_day). Names remain readable and domain words (capsule, chain, verify) are reused sensibly, but the ordering convention is not predictable.

Tool Count5/5

Eight tools map cleanly onto the lifecycle of a provenance chain: create, inspect, verify at three granularities, seal a day, report status, and export. Nothing looks redundant or missing for the stated scope.

Completeness4/5

Create, read, verify, chain-seal, status, and portable export are all covered, giving a full provenance lifecycle with no dead ends in the happy path. Minor gaps exist around revocation/key management and there is no general query/list tool beyond export_author, but these are workarounds rather than blockers.