Skip to main content
Glama

Show an earlier generation again

show_generation
Read-onlyIdempotent

Show one specific previous generation in the single-result UI widget by job ID. Use when the user wants to inspect or re-display that individual result, including workflows that require separate approval of named candidates or individual previews before finalization. Do not call show_generation once per job merely to reproduce an ordinary completed batch.

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": {
      "id": "<id>",
      "media": "<media>"
    },
    "name": "show_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesJob ID to display; use the id from list_videos, list_images or list_audio, and name its kind in `media`
mediaYesWhich kind of generation the id belongs to.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / id / description
      Previous value: -"A job id from a `generate_*` tool or transform, or an episode id from `generate_story_video` (media `video`)."New value: +"Job ID to display; use the id from list_videos, list_images or list_audio, and name its kind in `media`"
    • changedInput schema / properties / media / description
      Previous value: -"Which kind of generation the id belongs to (an episode or a render is a `video`)."New value: +"Which kind of generation the id belongs to."
  2. Changed1 schema field changed
    • changedInput schema / properties / media / description
      Previous value: -"Which kind of generation the id belongs to: `video` (a `generate_video` job, any video transform: `upscale_video`, `extend_video`, `edit_video`, `motion_control`, `generate_lipsync`, and a story render; an AI Video Story episode is a `video`), `image` (including `upscale_image`) or `audio`."New value: +"Which kind of generation the id belongs to (an episode or a render is a `video`)."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world, so the safety profile is covered. The description adds real context beyond them: the effect is confined to a single-result UI widget, and this is the intended step in approval/preview workflows before finalization. It leaves unstated whether the widget replaces prior content or what happens on an unknown ID, keeping it short of a 5.

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?

Three sentences, front-loaded with the core action before the when-to-use and when-not-to-use clauses. Dense but readable; the workflow sentence is slightly long but earns its place by explaining the approval use case.

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, fully documented, annotated read/display tool with no output schema, the description covers what it does, when to use it, and the main misuse pattern. Only minor behavioral details (widget replacement semantics, invalid-ID handling) are absent, which is acceptable at this complexity.

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 description coverage is 100%, including the guidance to take the id from list_videos/list_images/list_audio and name its kind in `media`, so the schema does the heavy lifting. The tool description itself adds only 'by job ID' and the enum kinds implicitly, which is the expected baseline-3 contribution when the schema is already complete.

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 names a specific verb and resource — show one specific previous generation by job ID — and pins the surface (the single-result UI widget), which is far more than a restatement of the title. An agent can distinguish this from batch-level or listing tools 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 Guidelines4/5

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

It gives an explicit when-to-use condition (user wants to inspect or re-display an individual result, including per-candidate approval/preview workflows) and an explicit when-not-to-use condition (do not loop it once per job to reproduce an ordinary completed batch). It does not name which tool to use instead for the batch case, which is the only gap.

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.