Skip to main content
Glama

FreeSign — Free e-signature

Verify document hash

verify_document_hash
Read-only

Look up FreeSign envelopes by their stored document SHA-256. Returns up to 20 matching records, newest first, with evidence identifiers and their stored status (draft, otp_sent, signed, finalized, or expired). An unknown hash returns an empty matches array. Use the original PDF hash for a draft created through MCP from that hash. If a direct browser or older signing flow rewrote the PDF, use the hash of the normalized signing base shown by FreeSign. A match alone does not establish signature validity. This tool does not upload PDF bytes to FreeSign.

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": {
      "document_sha256": "<document_sha256>"
    },
    "name": "verify_document_hash"
  }
}

Input Schema

NameRequiredDescriptionDefault
document_sha256Yes

Output Schema

NameRequiredDescriptionDefault
matchesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond the readOnly/openWorld/non-destructive annotations, it discloses the result cap (20), ordering (newest first), the full status vocabulary, empty-array behavior for unknown hashes, and that the tool does not upload PDF bytes to FreeSign. It also flags the important semantic limit that a match is not proof of signature validity.

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 purpose is front-loaded in one sentence, followed by tightly ordered facts: result set, empty case, input selection rule, validity caveat, and scope limit. Every sentence adds distinct information with no 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 single-parameter lookup with an output schema, this covers everything an agent needs: what the input means, how many results to expect, status values, empty-result behavior, and the key interpretive caveat about validity. Nothing material is left ambiguous.

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 0% for document_sha256, so the description must carry the meaning — and it does, explaining which hash variant to supply (original PDF hash vs. normalized signing base) depending on the signing flow. The 64-char hex format is left to the schema pattern, which is reasonable.

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 first sentence names a specific verb (look up) and resource (FreeSign envelopes) and the exact lookup key (stored document SHA-256), so an agent immediately knows this is a hash-based retrieval, not a signing or verification of validity. The stated return shape (up to 20 records, newest first) further pins down the operation.

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 usage conditions: use the original PDF hash for a draft created through MCP from that hash, and use the normalized signing base hash if a browser or older signing flow rewrote the PDF. It also warns that a match alone does not establish signature validity. What's missing is any explicit routing against siblings such as verify_audit_chain or get_receipt.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources