Skip to main content
Glama

Get download link for a document PDF

download_document
Read-only

Get an authenticated download URL for a document's PDF (including the audit certificate once complete). If the document has several PDFs (extra files added with attach_to_uuid), files lists one download URL per PDF — download every one. The URL requires the same Authorization: Bearer API key this MCP connection uses — download it with curl in a shell, do not try to fetch the bytes into the conversation.

Input Schema

NameRequiredDescriptionDefault
uuidYesDocument uuid

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the readOnlyHint/openWorldHint annotations, it discloses that the returned URL is authenticated with the same Bearer API key as this MCP connection and must be fetched with curl in a shell rather than pulled into the conversation — a real failure mode an agent would otherwise hit. It also explains that extra files added via attach_to_uuid produce multiple URLs that must all be downloaded.

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?

Three tight sentences, each doing work: what is returned, the multi-file case, and the authentication/download mechanics. The core deliverable is stated first with no preamble.

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 still sketches the response shape (`files` as a list of per-PDF URLs) and covers the auth and fetch path. Nothing needed to call this correctly 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?

Schema coverage is 100% for the single `uuid` parameter, so the schema already carries the semantics. The description adds no format or sourcing detail (e.g., where to obtain the uuid), so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The definition names a specific verb and resource (get a download URL for a document's PDF) and scopes the result to the PDF including the audit certificate. It is clearly distinct from get_document in practice, but the description never names a sibling or explicitly states what it is not, so it stops short of a 5.

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 operational guidance: if there are several PDFs, `files` lists one URL per PDF and every one should be downloaded. It does not say when to reach for this instead of get_document or list_documents, so there is no explicit sibling routing.

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