Skip to main content
Glama
second-desk-provenance

second-desk-provenance

Official

chain_status

Reports the daily provenance chain state: entry count, covered dates, head entry, and root artifacts on file for verification.

Instructions

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

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_status"
  }
}

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It does disclose the returned content (entry count, date coverage, head entry, on-file root artifacts), which is genuinely useful, but it never states that the operation is non-mutating, whether it touches the filesystem, or how it behaves when the chain file is missing or the env-var fallbacks resolve to nothing.

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?

A single front-loaded sentence with no filler, and the colon-plus-list structure makes the reported fields easy to scan. Only minor imprecision ("the root artifacts on file") keeps it from being exemplary.

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 simple two-optional-parameter status tool with no output schema, the description covers what is reported but not the failure modes or whether the call is side-effect free. The absence of both an output schema and annotations means the description should have said more about the response shape and error behavior.

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 both parameters are optional with documented env-var fallbacks, so the schema already does the semantic work. The description mentions neither roots_dir nor chain_path, adding nothing beyond the structured field text, so the baseline 3 applies.

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?

"Report the state of the daily chain" gives a specific verb and resource, and the enumeration (entry count, covered dates, head entry, root artifacts) makes the output scope concrete. It does not name a sibling like chain_verify or chain_seal_day, so differentiation relies on the agent inferring behavior from those names alone.

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?

The word "Report" implies a read-only inspection call, but there is no explicit statement of when to use this instead of chain_verify (integrity checking) or chain_seal_day (appending). No prerequisites, exclusions, or prerequisites are stated, so the agent must infer usage from the tool names.

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