Skip to main content
Glama

files_info

Read-onlyIdempotent

Get metadata and download URLs for files by their IDs.

When to use:

  • After messages_read_history returns attachment_file_ids

  • To get a presigned download URL to read a received file

Returns: filename, mime_type, byte_size, download_url (1-hour presigned URL).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idsYesList of file IDs (max 20)
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  2. Added
  3. Removed
  4. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive behavior, so the bar is lower. The description adds genuinely useful context beyond annotations: the returned artifacts and, importantly, that download_url is a 1-hour presigned URL, which signals expiry behavior an agent must plan around.

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?

Tight and front-loaded: a purpose sentence, a labeled 'When to use' list, and a compact 'Returns' line. No filler, and every clause carries operational information.

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

Completeness5/5

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

Although there is no output schema, the description enumerates the exact return fields (filename, mime_type, byte_size, download_url), covering the gap. Combined with the workflow trigger and full schema coverage, an agent has everything needed to invoke and consume it.

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%, so both file_ids (max 20) and the in_workspace override are fully documented in the schema, including the 'nothing is stored' semantics. The description adds no parameter-level guidance, so the baseline of 3 applies.

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

Purpose5/5

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

States a specific verb (get) and resource (metadata and download URLs for files) with the key scoping detail 'by their IDs'. This cleanly separates it from siblings like files_get_base64, files_read, and files_ingest, which handle content rather than metadata/URLs.

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

Usage Guidelines4/5

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

Provides explicit when-to-use triggers, notably 'after messages_read_history returns attachment_file_ids' and 'to get a presigned download URL to read a received file'. It does not, however, state when NOT to use it or point to alternatives like files_get_base64 or files_read for actually reading content.

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.