Skip to main content
Glama

list_generations

Find a previously rendered image when you lack its ID by listing recent renders newest first, optionally filtering by query, then reopen it using get_generation.

Instructions

List earlier renders, newest first, without the prompt or a preview.

Use this to find an image when you do not have its id, then call get_generation to reopen it. query matches the id, the scene, the prompt, the model and the param values. The prompt itself is not in the result.

Args: query: Words to narrow the list. Omit it for the most recent renders. limit: How many generations to return, up to 50.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_generations"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and discloses ordering, exclusion of prompt and preview, and the fields searched by `query`. It does not cover pagination beyond the limit, permissions, or rate limits, but it is substantially transparent for a simple list tool.

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?

The description is front-loaded with purpose, ordering, and the key omission, then gives usage guidance and an Args block. It is easy to scan, though the prompt omission is mentioned twice.

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?

For a two-parameter list tool with an output schema, the description covers the essential behavior: ordering, filtering, omitted fields, and the path to `get_generation`. Pagination and default-limit behavior are minor omissions rather than blocking gaps.

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 description coverage is 0%, so the description must explain both parameters. It does: `query` narrows by id, scene, prompt, model, and parameter values, and `limit` caps returned generations up to 50. It does not mention the schema's default limit of 20 or query syntax beyond the matched fields.

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?

The description states a specific verb and resource: it lists earlier renders, ordered newest first, and explicitly excludes prompt/preview. It also distinguishes the tool from `get_generation`, which is named as the follow-up for reopening an image.

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?

It gives a clear use case: find an image when you do not have its id, then call `get_generation` to reopen it. It also explains that omitting `query` returns the most recent renders. It lacks an explicit when-not-to-use clause, but the main alternative is named.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.