Skip to main content
Glama

Read doc

read_doc
Read-only

Read a doc, presentation or storyboard as it is now, including edits the team made in the app. A doc comes back as Markdown and a presentation as its JSON. A storyboard comes back as its script: treatment, cast, each film's shots with seconds, action and lines, and a link to each picked frame. An <evidence_card/> marker is an exhibit the doc shows (about and url say what it is): keep or move its markers when you rewrite the text, edit its caption there, and leave them out to drop it. Copied into another doc with create_doc or update_doc, a marker brings its exhibit along.

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": {
      "doc_id": "<doc_id>"
    },
    "name": "read_doc"
  }
}

Input Schema

NameRequiredDescriptionDefault
doc_idYesA doc id from get_task or list_space.
promptsNoA storyboard only: also return each shot's frame prompt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnlyHint, non-destructive and closed-world, so safety is covered; the description goes well past that by specifying per-format return contracts and, unusually, the cross-tool side effect that a marker copied via create_doc or update_doc brings its exhibit along. That cross-tool behavior is not derivable from any structured field and directly affects how an agent should treat returned text.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose and return formats, then the marker rules, which is the right ordering. It is dense but nearly every clause carries information; the marker paragraph runs long and could be tightened without loss.

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?

There is no output schema, so the description properly shouldered the return-value burden and did so per doc type. Remaining gaps are minor: no mention of size limits, truncation or error behavior for a large doc, and the storyboard script is described conceptually rather than field-by-field.

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 both parameters are already documented in-schema (doc_id 'from get_task or list_space', prompts 'A storyboard only: also return each shot's frame prompt'). The description adds context about what a storyboard's script contains, which indirectly explains what a frame prompt is, but it never mentions the prompts parameter explicitly, so the baseline 3 applies.

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?

States a specific verb (read) plus the exact resource set (doc, presentation, storyboard) and, critically, the shape of what comes back for each type: Markdown for docs, JSON for presentations, a script with treatment/cast/shots for storyboards. This is far beyond a restatement of the name and gives an agent enough to know it is the read path rather than create_doc/update_doc.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Establishes the usage context clearly — read the doc 'as it is now, including edits the team made in the app' — and gives concrete operating guidance for the returned <evidence_card/> markers (keep/move markers to retain an exhibit, omit to drop it, and that a copied marker carries its exhibit into another doc). It stops short of explicitly naming an alternative sibling such as read_roll or when NOT to use this tool.

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