Skip to main content
Glama

Get latest document PDF download URL

get-latest-document-pdf
Read-only

Get a download URL for the latest revision of a document as a PDF.

Use this tool when:

  • The user wants to download the current state of a document as a PDF

  • You need a PDF link to share with the user for review

Returns the URL as plain text. The URL is short-lived; fetch a new one if it expires before download.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
document_uuidYesUUID of the document to fetch the PDF for. If you don't already have the document's UUID, use the list-documents tool to find it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/destructiveHint=false/openWorldHint=false, and the description adds genuinely non-obvious behavior: the return is a plain-text URL and the URL is short-lived, with the instruction to re-fetch on expiry. That expiry/refresh semantics is real added value not present in structured fields.

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 core action, then a short bulleted usage block, then return-format and expiry notes. Tight overall; the two bullets partially restate the opening sentence, costing a little density.

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 read tool with no output schema, the description covers what it returns (plain-text URL), the key operational caveat (short-lived, re-fetch), and when to reach for it. Nothing needed to call it 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 description coverage is 100%, so the single document_uuid parameter is fully documented in the schema (including the pointer to list-documents for discovery). The description adds no further parameter meaning, which is the expected baseline when the schema does the heavy lifting.

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?

States a specific verb and resource ('Get a download URL for the latest revision of a document as a PDF'), and the 'latest revision'/'as a PDF' scoping distinguishes it implicitly from read tools like get-document-info and upload tools like create-document-pdf-upload-url. It never names a sibling explicitly, so it just misses the top band.

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?

A dedicated 'Use this tool when' block gives two concrete triggers (user wants to download the current state as PDF; need a shareable PDF link for review). Clear positive guidance, but there are no exclusions and no named alternatives for adjacent cases such as wanting document metadata.

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