Skip to main content
Glama

Read file

read_file
Read-onlyIdempotent

Read up to 10 MiB from an authenticated NotePom file as base64 without a signed storage URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fileIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYes
nameYes
mimeTypeYes
sizeBytesYes
contentBase64Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false. The description adds valuable behavioral context beyond those: the 10 MiB size cap, base64 return encoding, authentication requirement, and the fact that no signed storage URL is needed. This is genuinely useful and does not contradict the annotations.

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?

The description is a single sentence with no filler. It front-loads the action and then packs the key constraints—size limit, auth context, encoding, and URL behavior—into a compact, scannable structure.

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?

For a single-parameter read operation with comprehensive annotations and an output schema, the description covers the essential behavioral details: size limit, encoding, authentication, and the no-signed-URL mechanism. Nothing needed to invoke the tool correctly is missing.

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 for the fileId parameter, but it never mentions fileId or explains how to obtain or format it. The parameter name is self-evident to some degree, but the description adds no direct semantic guidance for the only required input.

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 uses a specific verb and resource: 'Read up to 10 MiB from an authenticated NotePom file as base64.' It clearly distinguishes this from sibling tools like get_note or upload_file by emphasizing file content, base64 encoding, and the absence of a signed storage URL.

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—reading file content directly—but it does not explicitly name alternative tools or state when not to use it. The authenticated-file and no-signed-URL context provides some orientation, but an agent must mostly infer the choice from the tool name and sibling context.

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