Skip to main content
Glama

Verify a hash timestamp

verify_stamp
Read-only

Check whether a SHA-256 hash or local file was timestamped in a given BSV transaction before trusting a receipt. Confirms public stamps against the API record and private stamps via proof_blob.

Instructions

Check that data (a SHA-256 or a local file) was timestamped in a given BSV transaction. Use it before trusting a receipt someone hands you, or to confirm your own stamp. Private stamps also need the proof_blob returned at creation. This asks the Timestamped API and does not need an API key. For private stamps the server checks the proof_blob against the transaction on-chain; for public stamps it compares the hash with its own record of that transaction (for a check that does not trust the server, use get_proof and verify the transaction yourself). Returns verified=false with a reason (unknown txid, hash mismatch, bad proof) rather than an error.

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": {
      "txid": "<txid>"
    },
    "name": "verify_stamp"
  }
}

Input Schema

NameRequiredDescriptionDefault
txidYes
sha256NoSHA-256 of the data. Give this or file_path.
file_pathNoLocal file to hash and check (never uploaded).
proof_blobNoRequired for private stamps.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, the description discloses that no API key is needed, that the request goes to the Timestamped API, and that private stamps are verified on-chain against proof_blob while public stamps are compared to the server's own record — a meaningful trust caveat. It also states that failures return verified=false with a reason rather than an error, which prevents an agent from treating a negative result as a tool failure.

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 purpose and the primary usage case are front-loaded, and each sentence carries information (trust model, API key, return behavior). It is dense and runs long in a single block, but no sentence is filler.

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

Completeness5/5

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

With no output schema available, the description compensates by describing the return value (verified=false plus a reason such as unknown txid, hash mismatch, or bad proof). Combined with the coverage of private-vs-public verification and the trustless alternative, an agent has everything needed to call this correctly and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, so the schema already documents most parameters; the description adds context by framing sha256/file_path as alternative ways to supply the data and by explaining why proof_blob matters (server-side on-chain check for private stamps). It stops short of adding format or edge-case detail beyond what the schema provides, but the private/public semantics are genuine added meaning.

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?

The description opens with a specific verb and resource: check that a SHA-256 hash or local file was timestamped in a given BSV transaction. It also distinguishes the tool from get_proof by naming the trust-model difference, so an agent can tell which to pick without opening schemas.

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

Usage Guidelines5/5

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

Explicit when-to-use is given ('before trusting a receipt someone hands you, or to confirm your own stamp') plus a named alternative with the condition selecting it ('for a check that does not trust the server, use get_proof'). That covers both the positive case and the exclusion.

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