Skip to main content
Glama
SignaTrust MCP Server

SignaTrust MCP Server

Official

get_evidence_bundle

Get a one-time download link for a completed envelope's sealed evidence bundle: signed PDF, signer records and hash-chained audit trail in a ZIP, with SHA-256 and expiry for verification.

Instructions

Get a download link for a completed envelope's sealed evidence bundle: a ZIP holding the final signed PDF, the signer records and the hash-chained audit trail, with a manifest signed by SignaTrust's published key (listed at https://www.signatrust.io/trust/keys). Returns url, expiresAt, sha256 (of the ZIP bytes), sizeBytes and signingKeyFingerprint. The link works ONCE and expires after 15 minutes: fetch it with a plain HTTP GET (no auth header) straight to a file, and do not pass the ZIP's bytes through the conversation. Check the file's SHA-256 against sha256, then verify it at https://www.signatrust.io/verify. Refused with HTTP 409 and a code: ENVELOPE_NOT_COMPLETED; BLIND_CUSTODY (SignaTrust's servers cannot open a blind-custody document, so the bundle is assembled in the SignaTrust web app); DOCUMENT_DESTROYED (the signed document was destroyed after delivery; use get_evidence and verify_blockchain instead). Requires the envelopes:read scope on your API key.

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": {
      "envelopeId": "<envelopeId>"
    },
    "name": "get_evidence_bundle"
  }
}

Input Schema

NameRequiredDescriptionDefault
envelopeIdYesID of a COMPLETED envelope

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false, openWorldHint=true, destructiveHint=false; the description adds far more — single-use link, 15-minute expiry, required envelopes:read scope, the exact response fields, three named 409 refusal codes with their causes, and a post-download integrity procedure. The one-time/expiring nature also explains why readOnlyHint is false despite this being a retrieval.

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?

Front-loaded with purpose and payload contents before operational constraints and error codes, and no sentence is truly filler. It is dense and long for a one-parameter tool, with the URL and verification instructions adding bulk, but every clause carries actionable information.

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, the description compensates by naming all five returned fields (url, expiresAt, sha256, sizeBytes, signingKeyFingerprint). Combined with the expiry, scope, and error-code coverage, an agent has everything needed to call it and handle every documented outcome.

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?

Only one parameter exists and schema coverage is 100%, with the schema itself stating 'ID of a COMPLETED envelope'. The description restates the same completeness constraint but adds no format, source, or lookup guidance, so the schema is doing all the work — the baseline 3 applies.

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?

Opens with a precise verb+resource ('Get a download link for a completed envelope's sealed evidence bundle') and immediately enumerates the bundle contents (signed PDF, signer records, hash-chained audit trail, signed manifest). This is clearly distinguishable from sibling read tools like get_evidence or get_envelope, which return structured data rather than a sealed archive.

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?

Explicitly scopes usage to COMPLETED envelopes, prescribes exactly how to consume the result (plain HTTP GET, no auth header, straight to a file, do not pass ZIP bytes through the conversation), and names concrete alternatives (get_evidence, verify_blockchain) for the DOCUMENT_DESTROYED case. The BLIND_CUSTODY refusal even routes the agent to the web app instead.

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