Skip to main content
Glama

get_generation

Fetch a generation by ID with its image, seed, prompt, and scene sheet; if rendering is incomplete, wait for it to finish so you can collect slow renders or revisit earlier images for revision.

Instructions

Fetch a generation by id, with its image, seed, prompt and scene sheet. If it is still rendering, wait for it (up to the same budget as render). Use this to collect a slow render, or to pick an earlier image back up before revising it.

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": {
      "generation_id": "<generation_id>"
    },
    "name": "get_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
generation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full load, and it does the important part: it discloses that the call blocks until rendering completes, capped at the same budget as `render`. That is exactly the trait an agent needs to plan around. It leaves open what happens if the budget expires (timeout error? partial result?).

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?

Two sentences, front-loaded with the action and payload, then the blocking behavior, then the use case. Every sentence earns its place. Minor friction: 'up to the same budget as `render`' forces the agent to know render's budget.

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 one-parameter lookup with no output schema and no annotations, the description covers the payload fields, the blocking semantics, and the intended use. The main remaining gap is timeout/failure behavior when the wait budget is exceeded.

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 0%, but there is only one required parameter, `generation_id`, whose meaning is obvious from the description's 'by id'. The description doesn't add format or source hints (where to get the id), so it adds little beyond the parameter name.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Fetch a generation by id') and enumerates the returned payload (image, seed, prompt, scene sheet). It clearly differs from list_generations by being single-item retrieval, though it doesn't explicitly contrast with render except via the budget reference.

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?

Gives concrete when-to-use guidance: 'collect a slow render' and 'pick an earlier image back up before revising it.' This implies the user is in the middle of a render or revision workflow, which is useful routing. It stops short of saying when not to use it (e.g., to just check status versus blocking).

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