Read a file
read_fileRead a file (up to 1 MB). Binary files come back base64.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| server | No | Server name or id. Optional when the account has one server. |
read_fileRead a file (up to 1 MB). Binary files come back base64.
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| server | No | Server name or id. Optional when the account has one server. |
Changes observed during successful MCP inspections.
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely new context: a 1 MB size cap and the fact that binary content is returned base64-encoded, which materially affects how an agent interprets the result.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Two tight clauses, front-loaded with the core action and immediately followed by the size limit instead of burying it. Zero wasted words.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Adequate for a simple read tool whose annotations carry the safety story, and the size/encoding notes are helpful. But with no output schema and an undescribed required path parameter, the description leaves gaps around path resolution and failure behavior for missing or oversized files.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema coverage is only 50%, and the undescribed parameter is the required 'path'. The description adds nothing about path format (absolute vs. relative, sandbox root) or the optional 'server' selector, leaving half the parameters undocumented in both places.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
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") with a concrete constraint. It doesn't differentiate itself from nearby siblings like content_get or page_content, so an agent must infer which read tool applies to which resource.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No when-to-use guidance, no mention of alternatives such as content_get or page_content, and no prerequisites. The agent gets no signal about when reading a raw file is preferred over the content tools.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Add one secure layer between your agents and this server.