Skip to main content
Glama

get_file

Fetch a file's metadata plus a short-lived presigned GET URL for downloading the bytes. The URL field is only present for available files. Mirrors GET /v1/files/{id}.

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

Input Schema

NameRequiredDescriptionDefault
file_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full behavioral burden. It discloses meaningful context—short-lived URL, URL only present for available files, mirrors REST endpoint—but omits auth requirements, error behavior for unavailable files, and explicit read-only status.

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 and key conditional behavior. No unnecessary wording; the REST endpoint reference adds useful orientation without bloat.

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?

Given the tool's simplicity (one required param) and the presence of an output schema, the description is nearly complete. The main gaps are the missing parameter explanation and lack of explicit read-only assurance, which matter more without annotations.

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?

The single parameter (file_id) has 0% schema description coverage, yet the description never explains what file_id should be or how it is used. 'Mirrors GET /v1/files/{id}' implies a path parameter but adds no meaningful semantics beyond the name.

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 ('Fetch') and resource ('file's metadata plus presigned GET URL'), making the tool's function clear. It does not explicitly differentiate itself from siblings like presign_file_upload or delete_file, so it falls short of a 5.

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?

The description implies usage (retrieving file metadata and a download URL) but gives no explicit when-to-use guidance, no exclusions, and no named alternatives. An agent can infer the context but must decide on its own when to choose this tool over others.

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