Skip to main content
Glama

Timestamp a hash or local file

stamp_hash

Proves a file or SHA-256 hash existed at a specific time by creating a tamper-evident blockchain timestamp, returning a private receipt or public proof.

Instructions

Create an independent, tamper-evident timestamp (a BSV blockchain transaction) proving that a piece of data existed at this moment. Use it to keep a receipt of what you produced, received, or agreed to: a generated report, a downloaded document, a contract or quote you are about to accept, a log of your actions. Pass either a SHA-256 hex digest or a local file path; files are hashed locally and never uploaded. Default visibility 'private' puts nothing identifying on-chain and returns a proof_blob that is the ONLY way to prove the stamp later: store it with the data. 'public' puts the hash (and optional public_metadata) on-chain so anyone can look it up by hash. Costs one transaction from the account's daily quota.

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

Input Schema

NameRequiredDescriptionDefault
noteNoOnly with visibility=private. Short note embedded in the proof_blob (not sent on-chain).
sha256NoSHA-256 of the data, 64 hex chars. Give this or file_path.
file_pathNoLocal file to hash (read locally, never uploaded). Give this or sha256.
visibilityNoprivate: nothing identifying on-chain, proof_blob returned. public: hash and public_metadata visible on-chain.private
wait_secondsNoTotal seconds this call may take, request included (max 45). On timeout you get status "pending" and the exact call to resume.
public_metadataNoOnly with visibility=public. Small JSON object (truncated at ~200 bytes) written PUBLICLY on-chain. Never put secrets or personal data here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Beyond annotations, it discloses critical behavior: files are hashed locally and never uploaded, private mode puts nothing identifying on-chain and returns a proof_blob that is the ONLY way to prove the stamp later, public mode exposes the hash and optional metadata on-chain, and the call costs one transaction from the daily quota. These are exactly the operational facts an agent needs that annotations do not cover.

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 front-loaded with purpose and use cases, then moves through input modes, visibility implications, and cost. It is dense but every sentence carries useful information; it is longer than a minimal description but not padded with 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?

For a tool with no output schema and six parameters, the description covers the essential behavioral contract: proof_blob handling, on-chain visibility differences, local hashing, and quota cost. An agent can call this correctly and understand the consequences without further documentation.

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 description coverage is 100%, so the baseline is 3, but the description adds meaningful context beyond the schema: it explains the tradeoff between private and public visibility, the consequence of the proof_blob, and that public_metadata is written publicly on-chain. It does not elaborate on wait_seconds behavior, but the schema already documents that fully.

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 states a specific verb and resource: 'Create an independent, tamper-evident timestamp (a BSV blockchain transaction)' proving data existed. It also clarifies the two input modes (SHA-256 digest or local file path), which distinguishes it from a URL-stamping sibling without naming it.

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 gives concrete when-to-use examples ('a generated report, a downloaded document, a contract or quote') and clearly explains the private vs public visibility choice. It does not explicitly name alternative tools such as stamp_url or verify_stamp, so it falls short of full when-not/alternative guidance, but the context is strong.

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