Skip to main content
Glama

Download Media

download_media
Read-onlyIdempotent

Get a presigned download URL for a media item's stored SOURCE file — the bytes CueFrame composes from (the raw upload, or its conformed transcode). This is how you copy media OUT of a library: fetch the URL directly (no auth header) and PUT the bytes elsewhere with create_upload, or hand it to import_media on another account. Works as soon as the upload or import is stored, before processing completes. The URL expires at expiresAt (about an hour) — call again for a fresh one rather than caching it. Read-only and free; nothing is persisted. For a render's MP4 use refresh_render_url instead.

Input Schema

NameRequiredDescriptionDefault
projectIdNo
mediaItemIdYesmediaItemId (path).

Output Schema

NameRequiredDescriptionDefault
urlNoPresigned URL for the media item's stored source bytes.
expiresAtNoExpiry of this URL in UTC (about one hour).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / projectId
      Added value: +{
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Added

TDQS

A4.8/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations: discloses that the URL requires no auth header, expires at expiresAt in about an hour, must be re-fetched rather than cached, is free with nothing persisted, and works as soon as the upload/import is stored before processing completes. These are non-obvious operational facts an agent would otherwise get wrong.

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-loads the core definition, then usage, then behavioral caveats, with every sentence carrying information. It is dense but slightly long; the parenthetical about 'raw upload or conformed transcode' and the 'read-only and free' clause could be trimmed since annotations already imply safety.

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?

An output schema exists, so return values need no explanation, and the description still flags the expiresAt field the agent will encounter. For a two-parameter read tool, the expiry, auth, and sibling-routing information covers everything needed to invoke it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is only 50%, so the description must compensate — and it partly does, clarifying that mediaItemId selects the media item whose source file is returned and tying the result to expiresAt. However, projectId is never mentioned in either the schema or the description, leaving one of two parameters undocumented.

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+resource (presigned download URL for a media item) and narrows it precisely to the stored SOURCE file, explicitly contrasting it with a render's MP4. An agent can distinguish it from refresh_render_url and list_media without opening any 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?

Gives explicit when-to-use context ('this is how you copy media OUT of a library'), names the concrete downstream flows (fetch and PUT with create_upload, or import_media on another account), and names the alternative for a different case ('For a render's MP4 use refresh_render_url instead'). Nothing is left to inference.

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.