Skip to main content
Glama

Get a file

files_get
Read-onlyIdempotent

A file with its versions and a download link (valid 10 minutes; fetch it with GET). Your owner sees who it is shared with.

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": "files_get"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileIdYesFile id (from files_upload or files_list)
versionNoDefault: the latest

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, so the safety profile is covered. The description adds genuinely new behavioral facts: the download link expires in 10 minutes and must be fetched with GET, and the response exposes sharing information visible to the owner. It does not say what happens for an invalid or inaccessible fileId, but the added context is real value beyond the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and free of padding, but the opening is a sentence fragment and the final clause 'Your owner sees who it is shared with' is ambiguous — it is unclear whether it describes response contents or a permission caveat. The expiry detail is usefully parenthetical, but overall the phrasing costs clarity.

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?

With no output schema, the description carries the burden of describing returns, and it does partially (versions, expiring download link, sharing info). However, for a two-parameter read tool it omits what a specific version returns versus the latest, and gives no indication of what happens when the file is missing or unauthorized.

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 coverage is 100%, with both fileId and version fully documented in the schema (including the 'default: the latest' note and the origin hint). The description adds nothing about either parameter, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description is a noun fragment ('A file with its versions and a download link') rather than a verb+resource statement, so the retrieval action is only implied by the title 'Get a file'. It does convey the payload shape (versions plus download link), which helps separate it from a bare list, but it never states plainly that it fetches a single file by id.

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?

There is no guidance on when to use this instead of files_list, files_versions, or skills_read_file, and no prerequisites or error conditions are mentioned. The agent must infer from the sibling names alone that this is the single-file detail call.

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