Skip to main content
Glama

list generations

generations_list
Read-only

List generations across your organization to find a generation ID or check which are still running. Filter by project or status and page newest-first with limit and cursor.

Instructions

List generations across the current sync. organization, from every member and API key, to find a generation id or see which are still running. For one known id use generations_get. Pass projectId to narrow to one project; projects_list-generations, when available, does the same but fails on a project you cannot access, while this tool returns an empty list. Always pass limit to get newest first; without it every matching generation comes back unpaged in no guaranteed order. For the next page pass the last returned id as cursor with the same limit. Each entry has id, status, model, createdAt, projectId, input, options, outputMediaUrl once COMPLETED, and error and errorCode on failure. A NO_OP entry finished but lip-synced no frame (error and errorCode say why); its outputMediaUrl is the unchanged input, not a lipsync result. When the user asks about a video made earlier, find it here and show it: give its exact outputMediaUrl, or, when Studio is open, show it with studio-views_show-generation or open its own projectId with studio-views_open-project. Never create a new project to show past work, and never say there are none when this list returned them.

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": "generations_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum number of generations to return (1-100). When set, results are ordered newest-first and can be paged with `cursor`.
cursorNoGeneration id to page after - pass the last id of the previous page. Only used together with `limit`.
statusNoOnly generations in this status: PENDING, PROCESSING, COMPLETED, NO_OP, FAILED or REJECTED. PENDING (queued) and PROCESSING both mean still running, so check both before concluding nothing is in progress.
projectIdNoOnly generations in this project, from projects_list or projects_create.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.3.31
    • changedInput schema / properties / status / description
      Previous value: -"Only generations in this status: PENDING, PROCESSING, COMPLETED, FAILED or REJECTED. PENDING (queued) and PROCESSING both mean still running, so check both before concluding nothing is in progress."New value: +"Only generations in this status: PENDING, PROCESSING, COMPLETED, NO_OP, FAILED or REJECTED. PENDING (queued) and PROCESSING both mean still running, so check both before concluding nothing is in progress."
  2. Changed1 schema field changedv0.2.4
    • changedInput schema / properties / status / description
      Previous value: -"Filter generations by status"New value: +"Only generations in this status: PENDING, PROCESSING, COMPLETED, FAILED or REJECTED. PENDING (queued) and PROCESSING both mean still running, so check both before concluding nothing is in progress."
  3. Changed1 schema field changed
    • changedInput schema / properties / projectId / description
      Previous value: -"Filter to a live project accessible to the session user or API-key owner. Inaccessible projects return an empty list."New value: +"Only generations in this project, from projects_list or projects_create."
  4. Addedv0.1.5

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only cover read-only/non-destructive; the description adds the behavior that actually matters here: without limit results come back unpaged in no guaranteed order, paging requires cursor plus the same limit, and permission gaps yield an empty list rather than an error. It further discloses entry fields, the NO_OP case where outputMediaUrl is the unchanged input, and error/errorCode on failure.

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 scope and routing, then paging rules, then return shape, then display guidance — a sensible order for an agent. It is long, and the trailing presentation instructions ("never create a new project to show past work") sit at the edge of a tool description, but nearly every sentence carries operational information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/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 compensates by enumerating entry fields and the conditional COMPLETED/NO_OP/FAILED shapes, and it covers paging and permission edge cases. An agent has everything needed to call it and interpret the response without another source.

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 100%, so the parameters are already documented; the description adds the crucial unset-limit consequence (unpaged, unordered) that the schema does not state, and clarifies the cursor+limit pairing. The projectId and status semantics largely restate the schema, so it stops short of a 5.

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 ("List generations") plus the precise scope ("across the current sync organization, from every member and API key") and the two jobs it serves: finding an id or seeing what is still running. It explicitly separates itself from generations_get ("For one known id use generations_get") and from projects_list-generations.

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

Usage Guidelines5/5

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

Names the alternatives and the exact conditions that select them: generations_get for a known id, projects_list-generations when permission failure behavior matters, and this tool when an empty list is preferred to an error. It also prescribes usage of limit/cursor and routes follow-up display through studio-views_show-generation or studio-views_open-project.

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