Skip to main content
Glama

Read a file

read_file
Read-only

One file of a project on this account, as it stands now (with every applied change and the owner's own edits).

Input Schema

NameRequiredDescriptionDefault
pathYesThe file's path, like web/app/page.tsx or site/index.html.
project_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so safety is covered. The description does add real value by disclosing freshness semantics ('as it stands now, with every applied change and the owner's own edits'), which tells the agent it sees live state. However, it says nothing about file-not-found behavior, size or binary handling, or what a successful call yields.

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 a single compact sentence with no filler, but it is a noun phrase rather than front-loading the action, and the freshness caveat is buried in a parenthetical. Efficient but not well structured for tool selection.

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?

With no output schema, the description must say what comes back, and it never states that the file's contents are returned. Combined with the undocumented project_id and no error or scope notes, an agent cannot confidently call this tool.

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?

Schema coverage is only 50%: 'path' is documented in the schema but 'project_id' is completely undocumented in both places. The description does not mention either parameter, so it fails to compensate for the coverage gap on project_id.

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 names the resource ('One file of a project on this account') and implies retrieval, but never uses a verb like 'read' or 'returns the contents'. It is distinguishable from list_files by the singular 'one file', but an agent must infer that the content is returned rather than metadata.

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?

No guidance on when to use this rather than list_files (to discover paths first) or write_files (for mutation). Neither sibling nor any precondition is mentioned, leaving routing entirely to inference from the tool name.

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