Skip to main content
Glama

read_file

Read UTF-8 text files from the sandboxed workflow workspace to retrieve their contents.

Instructions

Read a UTF-8 text file sandboxed to the workflow workspace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It adds useful constraints: the file must be UTF-8 text and access is restricted to the workflow workspace. However, it does not describe error handling, size limits, or return behavior (though an output schema exists). This is adequate but not rich.

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?

A single sentence that immediately states the action and key constraints. Every word earns its place.

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

Completeness3/5

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

For a simple read tool with one parameter and an output schema, the description covers the core behavior and the critical sandbox restriction. It is missing path semantics (relative vs absolute), but the low parameter count and existing output schema keep the gap moderate.

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 description coverage is 0%, so the description must compensate. It only identifies the parameter's referent as a UTF-8 text file in the workspace, without specifying path format, relative/absolute resolution, or defaults. This is minimal compensation for a single required parameter.

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?

The description clearly states the action (read), the resource (UTF-8 text file), and the scope (sandboxed to the workflow workspace). This makes the tool's purpose unambiguous and distinct from siblings like write_file and list_dir.

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 when to use this tool—for reading UTF-8 text files within the workspace—but does not explicitly mention alternatives or exclusion cases (e.g., use json_get for structured JSON). This is implied usage, not explicit guidance.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/readyagents/readyagents-core'

If you have feedback or need assistance with the MCP directory API, please join our Discord server