Skip to main content
Glama

read project history

projects_list-generations
Read-only

List generations in a specified project after checking access, returning newest results first with limit and cursor paging to review the project's history.

Instructions

List the generations in one sync. project you can access, after first checking your access to that project. Use it for a project's history; for the whole organization, or without a projectId, use generations_list, and for one generation whose id you have use generations_get. A missing or inaccessible project fails with an error instead of returning an empty list. Always pass limit to get newest first; without it every generation in the project 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 (outputUrl is a deprecated alias with the same value), 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

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": {
      "projectId": "<projectId>"
    },
    "name": "projects_list-generations"
  }
}

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.
projectIdYesProject whose history to read (UUID), 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."New value: +"Only generations in this status: PENDING, PROCESSING, COMPLETED, NO_OP, FAILED or REJECTED."
  2. Changed2 schema fields changedv0.2.4
    • changedInput schema / properties / projectId / description
      Previous value: -"Project whose history to read, from projects_list."New value: +"Project whose history to read (UUID), from projects_list or projects_create."
    • changedInput schema / properties / status / description
      Previous value: -"Filter generations by status"New value: +"Only generations in this status: PENDING, PROCESSING, COMPLETED, FAILED or REJECTED."
  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: +"Project whose history to read, from projects_list."
  4. Addedv0.1.5

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only say it is a safe read; the description adds real behavior: a missing or inaccessible project errors instead of returning an empty list, omitting limit returns the entire project unpaged in no guaranteed order, and NO_OP entries carry the unchanged input as outputMediaUrl. It also flags outputUrl as a deprecated alias and explains error/errorCode on failure. Slight deduction because the 'check your access first' step never names the tool that performs that check.

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 routing and the limit warning, which is the right priority order. It is on the long side (~200 words) and the closing instructions about studio-views tools and 'never say there are none' are somewhat repetitive, though each does add distinct value.

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?

No output schema exists, so the description compensates by enumerating the returned entry fields (id, status, model, createdAt, projectId, input, options, outputMediaUrl, error, errorCode) and the NO_OP edge case. Combined with error-mode and paging behavior, nothing an agent needs to call or interpret this tool is missing.

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%, so all four parameters are already documented, including limit's newest-first ordering and cursor's pairing with limit. The description reinforces the operational rule ('always pass limit') and the consequence of omitting it, but adds little syntax or format detail beyond the schema, so 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 concrete verb and resource ('List the generations in one project') and explicitly separates itself from generations_list (whole organization / no projectId) and generations_get (single known id). The phrasing 'one sync. project' contains a garbled token, but the intent is unmistakable and an agent can route correctly without opening the schema.

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?

Gives explicit when-to-use (a project's history) and two alternatives with the exact condition that selects each (org-wide or no projectId -> generations_list; known id -> generations_get). It also adds a prerequisite ('after first checking your access to that project') and paging procedure, leaving little to inference.

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