Skip to main content
Glama

read_file

Read-onlyIdempotent

Read a file from the user's Helvedrive. Text files are returned as text, images as images, other files (PDF...) as an embedded resource. Limit 5 MB; for larger files create a share link.

Input Schema

NameRequiredDescriptionDefault
pathNopath relative to My files, e.g. Reports/2026/summary.md
file_idNofile id, instead of path
workspaceNoorganisation name or id; optional when the account has only one

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world. The description adds real value beyond them: the return representation varies by file type (text, image, embedded resource) and there is a hard 5 MB ceiling. It does not mention auth or workspace-scoping behavior, but that is a minor gap.

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 short sentences, zero filler, and the core action is front-loaded with the size constraint and fallback following immediately. Every clause carries information.

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?

With no output schema, the description correctly compensates by explaining what comes back for each file class, plus the size limit and fallback path. Auth requirements and workspace-scoping edge cases are left to the schema, which keeps this slightly short of complete.

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 all three parameters (path, file_id, workspace) are already documented in the schema, including the 'path relative to My files' example. The description adds no parameter-level meaning beyond that, so the baseline of 3 applies.

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 and resource ('Read a file from the user's Helvedrive') and even breaks down the outcome by file type. It does not explicitly distinguish itself from siblings like search_files or list_versions, so an agent must infer the boundary, but the purpose itself is unambiguous.

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 5 MB limit with a routing hint ('for larger files create a share link') is useful when-not guidance. However, there is no guidance on when to read by path vs file_id, or when to prefer search_files to locate a file first — usage is implied rather than stated.

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