Skip to main content
Glama

Get file link

get_file_url
Read-only

get a fresh download url for a previously uploaded file_id (permanent handle - works indefinitely). requires an authenticated (oauth) session.

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": {
      "file_id": "<file_id>"
    },
    "name": "get_file_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
file_idYesthe file_id returned by request_upload_url

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already establish this is a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false). The description adds real context beyond that: the URL is freshly minted, the file_id is a permanent handle that works indefinitely, and an OAuth session is required. The auth requirement in particular is operationally useful and not derivable from annotations.

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 compact sentences, front-loaded with the operation and followed by the persistence and auth details. Nothing is redundant or padding.

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 one-parameter, non-destructive read with no output schema, this covers what an agent needs: what it returns (a fresh download URL), the lifetime of the handle, and the auth prerequisite. Only the expiry behaviour of the returned URL itself is left unstated, a minor gap.

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% and the single parameter is documented as 'the file_id returned by request_upload_url', so the baseline is 3. The description adds meaning by characterising file_id as a permanent handle that works indefinitely, clarifying that the identifier itself does not expire even if the URL does.

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 fresh download URL for a file_id, and the phrase 'previously uploaded' scopes it away from the upload siblings. It does not name request_upload_url explicitly, but the distinction is inferable.

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?

Implies the tool is used after an upload has already happened via 'a previously uploaded file_id', which sequences it against request_upload_url. It gives no explicit when-not-to-use guidance or named alternative, so the routing guidance is implied 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