Skip to main content
Glama

Get render download URL

get_render_download_url
Read-onlyIdempotent

Re-issue a short-lived signed download URL for a render artifact the caller owns, so a PDF rendered in an earlier turn can be downloaded without the embedded base64 bytes. Free (no credits). Returns JSON { artifactId, downloadUrl, downloadUrlExpiresAt } and a resource_link to the URL. Owner-scoped; links follow the artifact's normal retention. An unknown, unowned, failed or expired artifact returns the same 'Render not found' error.

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": {
      "artifactId": "<artifactId>"
    },
    "name": "get_render_download_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
artifactIdYesUUID of the render artifact — the `artifactId` returned by a render tool, or the `X-Artifact-Id` response header on a REST render.

Output Schema

NameRequiredDescriptionDefault
artifactIdYesThe artifact the link downloads.
downloadUrlYesShort-lived signed URL that downloads the PDF with no credential of its own.
downloadUrlExpiresAtYesWhen `downloadUrl` stops working, as an ISO 8601 timestamp.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, idempotent, non-destructive, closed-world), the description discloses several traits the agent could not infer: the URL is short-lived, the call is free (no credits), access is owner-scoped, link lifetime follows the artifact's retention policy, and all failure modes collapse into a single 'Render not found' error. That last point is important because it tells the agent not to over-interpret the error as a transient failure.

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?

The description is front-loaded with the action and scope, and most sentences carry real information. The sentence enumerating the return fields is somewhat redundant given that a rich output schema already exists, which is a minor use of space.

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 full schema coverage, annotations, and an output schema, the description covers cost, ownership, link lifetime, and error behavior. 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 coverage is 100% and the description adds only the ownership constraint ('the caller owns') and the error semantics tied to an invalid artifactId; it does not add new syntax or format meaning beyond what the schema already says about the UUID and its origin.

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 description gives a specific verb+resource: 'Re-issue a short-lived signed download URL for a render artifact'. It also clarifies the scope ('the caller owns') and the motivating scenario ('a PDF rendered in an earlier turn... without the embedded base64 bytes'), which clearly separates it from the render_* siblings that produce artifacts rather than serve them.

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 states the trigger condition well: use this when a render was produced in an earlier turn and you need a downloadable artifact instead of embedded base64 bytes. It does not name any alternative tool or describe when-not-to-use (e.g. re-rendering instead of re-fetching), so it stops short of explicit 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