Skip to main content
Glama

files_get

Retrieve file details by file ID to inspect metadata and verify stored file information before using it in agent workflows.

Instructions

Get file details

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

Input Schema

NameRequiredDescriptionDefault
file_idYesFile ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

C2.5/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it discloses almost nothing. It implies a read operation, but doesn't say whether the file must exist, what happens on a missing/inaccessible ID, whether permissions apply, or what 'details' includes (metadata only, content, versions). For a tool with zero annotation coverage this is a significant gap.

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?

Three words are as front-loaded and waste-free as possible, with no padding or redundancy. But brevity here reflects under-specification rather than disciplined conciseness: nothing is prioritized because nothing beyond the bare purpose is stated.

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

Completeness2/5

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

The tool is simple (one required parameter, no nested objects), but with no output schema and no annotations, the description is the only place to learn what comes back and under what conditions. It fails to say what fields 'details' covers or how failures surface, leaving the agent unable to predict the response.

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 description coverage is 100% for the single parameter (file_id, documented as "File ID"), so the schema does the work and the baseline of 3 applies. The description adds no further meaning about the identifier format, source, or valid values beyond what the schema already says.

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?

"Get file details" names a specific verb (get) and resource (file), so the basic operation is identifiable. However, "details" is vague and gives no sense of what distinguishes this from files_list, which is the closest sibling and also surfaces file information. It is adequate but minimally informative.

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 offers no when-to-use guidance at all: nothing states that this is for retrieving a single file by ID versus listing files, nor any prerequisite or error condition. The only signal is the required file_id parameter in the schema, which indirectly implies a single-file lookup.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools