Skip to main content
Glama

Get a file

get_file
Read-onlyIdempotent

A file's details and a fresh download link (valid 1 hour).

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault
kindYes
bytesYes
pagesYes
statusYes
file_idYes
filenameYes
expires_atYes
download_urlYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already establish that this is a read-only, idempotent, non-destructive operation. The description adds useful behavioral context by stating that the download link is fresh and valid for one hour, but it does not mention permission requirements, failure modes, or what happens if the file is unavailable.

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?

The description is a single compact sentence with no redundant information. It front-loads the main outcome and includes the important link-expiry detail without padding.

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

Completeness3/5

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

The tool is simple, annotations cover the safety profile, and an output schema exists, so the description does not need to explain return values. However, it does not compensate for the undocumented file_id parameter or provide usage context relative to sibling tools, leaving the definition only minimally complete.

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

Parameters2/5

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

There is one parameter, file_id, and the schema has 0% description coverage for it. The description does not explain the parameter at all, so it fails to compensate for the lack of schema-level documentation, even though the parameter name itself is fairly self-explanatory.

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 clearly identifies the resource and outcome: a file's details plus a fresh download link. It is specific enough to distinguish this from list-oriented siblings, but it does not explicitly contrast with alternatives such as preview_file or list_files.

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

Usage Guidelines2/5

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

The description implies retrieval when a file's details or download link are needed, but it gives no explicit when-to-use guidance, prerequisites, or alternatives. It leaves the agent to infer the choice among get_file, preview_file, and list_files.

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