Skip to main content
Glama

Read roll

read_roll
Read-only

Read one roll of images, video and sound, newest first: on the first page its reference shelf (references, the pictures, clips and sounds put beside it, up to 60, references_more counts the rest; in_prompt marks those on its prompt now), then 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. A file marked favorite is one your human hearted in the app, their pick from the roll; favorites=true lists only generations with one.

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
favoritesNoOnly generations with a file your human hearted.
generation_idsNoOnly these generations, with full prompts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / favorites
      Added value: +{
      +  "description": "Only generations with a file your human hearted.",
      +  "type": "boolean"
      +}
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, non-open-world profile, yet the description still adds real behavior: pagination via cursor, truncation of long prompts with '…', repeated prompts collapsing to 'Same prompt as above.', references_more counting truncated references and in_prompt marking active ones. That is well beyond the annotation coverage, though auth/permission and error behavior remain unstated.

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?

Front-loaded with the core purpose, but the body is one enormous run-on sentence held together by semicolons and nested parentheticals, which makes the reference-shelf and generation details hard to parse. The content is dense and mostly earns its place; the packaging does not.

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?

No output schema exists, so the description must describe the return shape — and it does thoroughly, covering the reference shelf, per-generation status/urls/prompt, and the roll's own elements. Minor gaps around permissions and behavior for an invalid roll_id keep it from full marks.

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?

With 80% schema coverage the baseline is 3, and the description earns an uplift by explaining effect rather than restating fields: query matches 'any word… most words first', generation_ids yields full prompts instead of truncated ones, favorites filters to generations containing a hearted file. It also clarifies the semantic of 'favorite' as the human's pick in the app.

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 and resource ('Read one roll of images, video and sound') plus ordering ('newest first') and the exact shape of the result (reference shelf, generations, @elements). It also separates itself from the sibling list_elements by noting that one returns the space's elements rather than the roll's.

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?

Explains where roll ids come from ('list_space or a storyboard') and gives the conditions for each optional parameter (query for 'the one where…', cursor to read on, generation_ids for full prompts, favorites to narrow). No explicit when-not-to-use case, but the routing context is clear.

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