Skip to main content
Glama

Read File

read_file
Read-only

Retrieve a file from a Fulcra account or a file shared by another user, with size truncation and base64 support for binary files.

Instructions

Read a file from the user's Fulcra account, or one another user shares.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYesThe full path of the file to read.
max_bytesNoTruncate text content beyond this many bytes (default 100000). Pass a larger value only when the full content is truly needed; large files consume a lot of context.
fulcra_useridNoRead a file of another Fulcra user (if shared).
include_binaryNoReturn non-UTF-8 files base64-encoded (default false). Otherwise binary files are refused with their size.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds useful context that another user's shared files can be read, but does not disclose error handling, truncation behavior, or binary file handling beyond what the schema already provides.

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, front-loaded sentence that communicates the core action and access scope with zero waste. It is appropriately sized for a simple read operation.

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?

For a simple read tool with rich schema, annotations, and an output schema, the description covers the main access modes. It could mention edge cases like directory paths or missing files, but nothing critical is missing for correct invocation.

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 coverage is 100%, and the description adds no parameter-specific meaning. The baseline of 3 is appropriate because the schema fully documents all four parameters, including path, max_bytes, fulcra_userid, and include_binary.

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 clear verb+resource: reading a file from the user's Fulcra account or a shared file from another user. It distinguishes itself from write_file/delete_file by the 'read' verb and shared access, but does not explicitly contrast with list_files or other siblings.

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 tool versus alternatives like list_files (for browsing) or get_records. It only states the access scope (own files or shared files), leaving the agent to infer appropriate contexts without explicit conditions or exclusions.

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