Skip to main content
Glama

Read a reference file

read_file
Read-only

Read back P../F../V.. at any stage. Images as pictures; region: [x0, y0, x1, y1] in shown_px, enlarged. Video metadata only.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "draft_id": "<draft_id>",
      "item_id": "<item_id>"
    },
    "name": "read_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
regionNo
item_idYes
draft_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

Annotations already establish that this is a safe, read-only, closed-world operation. The description adds useful behavioral detail by specifying that images are returned as pictures and that video content is limited to metadata, but it does not clarify what the 'P../F../V..' references mean or what permissions/stages affect the read.

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?

The description is short and front-loads the retrieval purpose, but it relies on cryptic shorthand ('P../F../V..') and sentence fragments that reduce clarity. It is concise to the point of under-specification rather than being well-structured for an unfamiliar caller.

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?

This is a read tool with no output schema, so the description should fully explain what is returned. It gives useful image- and video-specific return notes, but it omits the meaning of draft_id/item_id, does not describe document or reference-file output beyond images/video, and leaves the 'P../F../V..' notation unexplained.

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 all three parameters. It explains the optional region parameter reasonably well as [x0, y0, x1, y1] in shown_px with enlargement, but it never explains the required draft_id or item_id parameters.

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 title 'Read a reference file' and the verb 'Read back' indicate a retrieval tool, and the description adds that images are returned as pictures while videos yield metadata only. However, the cryptic 'P../F../V..' notation and vague 'at any stage' phrasing keep the purpose from being fully clear without opening the schema.

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?

The phrase 'at any stage' is the only usage hint, and it does not explain when to choose this tool over siblings such as add_file or remove_file. There are no explicit exclusions, prerequisites, or alternative-tool guidance.

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