Skip to main content
Glama

Read roll

read_roll
Read-only

Read one roll of images, video and sound, newest first: each generation with its status, file urls and prompt (long ones end in …, a repeat reads "Same prompt as above."), and the roll's own @elements; list_elements has the space's. Pass query to find "the one where…" by words in its prompt, cursor to read on, or generation_ids for those generations with full prompts. Roll ids come from list_space or a storyboard.

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": {
      "roll_id": "<roll_id>"
    },
    "name": "read_roll"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryNoWords to find in prompts; any word matches, most words first.
cursorNonext_cursor from the previous page.
roll_idYes
generation_idsNoOnly these generations, with full prompts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint and destructiveHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: newest-first ordering, prompt truncation with a trailing …, and the "Same prompt as above." deduplication quirk, meaning a caller must use generation_ids to get full prompts. That last point is the kind of trap-avoidance context annotations cannot express.

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?

Purpose is front-loaded in the first clause, with the sibling contrast and parameter guidance following. The single long sentence is dense with parentheticals, which slightly taxes readability, but no clause is padding.

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?

With no output schema, the description carries the return-shape burden and mostly does so: per-generation status, file urls, prompt (with truncation rules), and the roll's @elements. It does not state that a next_cursor is returned, though the cursor parameter's schema text implies it.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 75%, so the schema already carries descriptions for query, cursor and generation_ids. The description still adds value by re-framing query as "find 'the one where…'" and by stating that generation_ids yields full prompts — a result-side consequence the schema omits.

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?

"Read one roll of images, video and sound, newest first" gives a specific verb, a bounded resource (one roll), the media types returned, and the ordering. It also explicitly partitions scope against a sibling: the roll's own @elements here versus the space's in list_elements.

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?

The description names when to use each optional parameter (query for "the one where…" prompt searches, cursor to read on, generation_ids for specific generations) and states where roll_id comes from (list_space or a storyboard). It stops short of stating when not to use this tool, e.g. browsing a whole space without a known roll id.

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