Skip to main content
Glama
SignaTrust MCP Server

SignaTrust MCP Server

Official

download_document

Read-only

Get a time-limited, pre-signed URL to download a signed PDF or uploaded source file by document ID. Fetch the file bytes directly from the URL; use get_evidence_bundle for verifiable evidence.

Instructions

Get a time-limited download URL for a document (e.g. the executed/signed PDF or an uploaded source file). Returns the document name and a pre-signed downloadUrl valid for a limited window (expiresIn seconds) — fetch the bytes from that URL directly; it carries its own auth and does not need the API key. Pass a document ID from upload_document or from an envelope's documents[] (see get_envelope). This is the PDF alone, with no audit trail and no signed manifest, so it is not the verifiable evidence: for that, use get_evidence_bundle. Requires the documents: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": {
      "documentId": "<documentId>"
    },
    "name": "download_document"
  }
}

Input Schema

NameRequiredDescriptionDefault
documentIdYesDocument ID (from upload_document, or from documents[].id on a get_envelope / list_envelopes result)

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 already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, but the description adds substantial behavioral context beyond them: the returned URL is pre-signed, time-limited (expiresIn seconds), carries its own auth and needs no API key, and the response omits any audit trail or signed manifest. It also discloses the required documents:read scope, which no annotation conveys.

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 the action and return value, then the usage constraint, then the sibling contrast, then the auth scope — a logical ordering with no filler sentences. It is dense in a single paragraph, but every clause carries information an agent needs to call it correctly.

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?

There is no output schema, and the description compensates fully by naming the return fields (document name, downloadUrl, expiresIn). Combined with the auth scope, the direct-fetch instruction, and the evidence-bundle alternative, nothing needed to call or consume this tool is missing.

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?

With a single parameter and 100% schema description coverage, the schema already documents documentId and where it comes from. The description's note about upload_document or documents[].id largely restates the schema, so it adds only the cross-reference to get_envelope as a practical path.

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?

States a specific verb and resource ('Get a time-limited download URL for a document') and immediately differentiates the artifact from siblings: 'This is the PDF alone... for that, use get_evidence_bundle.' An agent can distinguish download_document from get_evidence_bundle without opening either schema.

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 names the when-not case ('not the verifiable evidence: for that, use get_evidence_bundle') and the prerequisite for the required input ('Pass a document ID from upload_document or from an envelope's documents[]'). Both the alternative tool and the sourcing path are spelled out rather than implied.

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