Skip to main content
Glama

Get file download link

get_download_url

Mint a time-limited link to download one file from the server's workspace, e.g. after generating a report or converting a file, hand this URL back to the user instead of the raw content. With project_id, path is resolved inside that project's folder. The link needs no login and works for anyone who has it, so only mint it for files that are OK to share.

Input Schema

NameRequiredDescriptionDefault
pathYesFile path, e.g. "public/index.html". Relative to the project folder when project_id is given, otherwise to the server workspace root.
server_idYesThe server's id, as returned by create_server or list_servers.
project_idNoOptional. Resolve path inside this project's workspace folder instead of the server workspace root.
ttl_secondsNoOptional. Link lifetime in seconds. Default 86400 (24h), max 604800 (7 days).

Output Schema

NameRequiredDescriptionDefault
urlYesThe link. Anyone holding it can download the file without signing in.
pathYesThe path, as given.
expires_atNoWhen the link stops working, ISO 8601.
project_idNoThe project the path was resolved in. null for the server workspace root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Adds security-critical behavior beyond annotations: the link is time-limited, requires no login, and works for anyone holding it. The explicit warning to only mint shareable files gives the agent the access-control implications that openWorldHint alone does not convey. This is exactly the contextual disclosure annotations cannot carry.

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, front-loaded with the core action, followed by the project-scoping nuance and the sharing caveat. Every sentence earns its place with no repetition of the schema.

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 100% schema coverage, a non-trivial annotation set, and an output schema, the description supplies everything the agent needs: purpose, invocation context, scoping behavior, and the security implication of the returned URL. No material gap remains.

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 baseline is 3. The description's note that path resolves inside a project's folder when project_id is given restates what the schema already documents, and it adds no new syntax or format detail for ttl_seconds or server_id.

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 ('Mint') and resource ('time-limited link to download one file from the server's workspace'), and implicitly distinguishes itself from content-reading siblings via 'hand this URL back to the user instead of the raw content'. It also gives concrete usage examples (after generating a report or converting a file).

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?

Provides clear context for when to use ('after generating a report or converting a file') and a safety-based when-not ('only mint it for files that are OK to share'). The alternative is only implied ('instead of the raw content') rather than explicitly naming read_file, so it falls just short of a full when/when-not/alternatives rubric.

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.