Skip to main content
Glama

verify_file

Confirms a local file matches its blockchain-anchored timestamp proof by recomputing the hash, validating the Merkle path, and referencing a public transaction.

Instructions

Verify a local file against a blockchain-anchored timestamp proof.

Recomputes the file's hash locally and checks it against the hash recorded in the proof JSON. If a Merkle path is present, it recomputes the Merkle root. Confirms a blockchain transaction reference is present. A passing result means the file is byte-for-byte identical to the file that was timestamped, and the proof points to a public transaction (on Polygon or Bitcoin) that anyone can check on a block explorer.

Args: file_path: Path to the local file to verify. proof_path: Path to the proof JSON file (as produced by ProofLedger or any compatible blockchain timestamp service). algorithm: Hash algorithm (default "sha256").

Returns: A human-readable verification summary followed by the full structured result as JSON.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
algorithmNosha256
file_pathYes
proof_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden and does well: it discloses the local hash recomputation, Merkle-root recomputation when applicable, transaction-reference confirmation, and what a passing result does and does not mean. It stops short of stating whether any network access occurs or how failures/mismatches are surfaced.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-structured: purpose first, then verification mechanics, then parameter definitions, then return-value note. Every sentence contributes useful information, and there is no redundant restating of the tool name.

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?

For a tool with an output schema and only three simple string parameters, the description is nearly complete. It explains the verifier's behavior, parameter roles, and return structure. Remaining gaps are minor: no explicit failure/error behavior and no statement about whether the tool contacts the blockchain network.

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

Parameters5/5

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

Schema description coverage is 0%, so the description must fully document parameters. It does: file_path is the local file, proof_path is the proof JSON produced by ProofLedger or a compatible service, and algorithm has its default noted. This adds real meaning beyond the bare schema.

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-resource pairing: 'Verify a local file against a blockchain-anchored timestamp proof.' It then explains exactly what verification involves (recomputing the file hash and comparing to the proof), which clearly distinguishes this from siblings like compute_file_hash or verify_hash.

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 intended use case is clear: use this when you have a local file plus a proof JSON and want to confirm byte-for-byte integrity against a timestamped anchor. It provides useful context but does not explicitly state when-not-to-use or name alternatives, so it falls just 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.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fulcrum-Enterprises/verify-proof'

If you have feedback or need assistance with the MCP directory API, please join our Discord server