Skip to main content
Glama

Get a download link

get_download_link
Read-only

A temporary private URL to download one file straight from its bucket. Folders have none; it is not a share link.

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": {
      "fileId": "<fileId>"
    },
    "name": "get_download_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesThe file id
expiresInNoSeconds the URL works (one hour when omitted)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=true, destructiveHint=false, openWorldHint=true), and the description usefully adds that the URL is temporary and private and scoped to a single file. However, the idempotentHint=false annotation is left unexplained: the description never says each call mints a new distinct URL, which is the main behavioral surprise for a caller. No mention of auth requirements on the returned URL either.

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?

Two short sentences with zero filler, and the primary purpose is front-loaded before the two exclusions. Every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple two-parameter read tool with no output schema, the description states the return value (a temporary private URL), its scope, and its two exclusions. The remaining gap is that repeated invocation produces a new URL, which matters given idempotentHint=false.

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 100%, so the baseline is 3; the description goes slightly beyond by tying 'one file' to the single-file scope of fileId and reinforcing that the link is time-limited, which is the meaning behind expiresIn. It still adds no format or expiry syntax details, but the schema already carries those.

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 description states a specific resource and outcome — a temporary private URL to download one file from its bucket — and explicitly excludes two near-misses (folders, share links). It is a noun phrase rather than a verb+resource construction, but an agent can still tell this apart from create_link and get_file without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'Folders have none' and 'it is not a share link' implicitly route the agent away from folder targets and toward create_link for sharing, but no sibling is named explicitly and there is no positive statement of when to prefer this over get_file. Usage guidance is inferable rather than stated.

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