Skip to main content
Glama

get_generations

Read-onlyIdempotent

Get the full record of generations of yours by id: each one's download URL and expiry, promptJSON (the original call, with its style and subjects, so the generation can be extended or reproduced), its current delivery settings, its style-reference sources and its set lineage. The ids come from list_recent_generations or from a generation's download URL. Ids that are not found are reported without failing the call, which fails only when none was found. Up to 50 ids per call. Costs no credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
generationsYesThe ids of the generations to get: the random segment of each one's download URL.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notFoundNoIds that were not found for this API key or whose download window has closed.
generationsYesThe generations found, in the order asked for, each with its full record.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already establish a safe read (readOnly, idempotent, non-destructive), and the description adds meaningful information beyond them: up to 50 ids per call, missing ids are reported without failing while an all-missing batch does fail, and the call costs no credits. These are the operational details an agent needs before batching.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then response payload, then id sourcing, then failure semantics, then limits and cost. Every clause carries a distinct fact and none is redundant with the schema or annotations.

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?

Despite a rich output schema, the description still covers the things structured data does not: batch size limit, partial-failure behavior, and zero credit cost. Nothing an agent needs to invoke this correctly is missing.

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 parameter's meaning (random segment of the download URL) is already documented and the baseline is 3. The description adds genuine semantics on top: the ids' provenance and the 50-id ceiling per call.

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?

Opens with a specific verb+resource ("Get the full record of generations... by id") and enumerates exactly what the record contains: download URL and expiry, promptJSON, delivery settings, style-reference sources, set lineage. This is distinguishable from sibling list_recent_generations, which by contrast only surfaces ids.

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?

States explicitly where the ids come from ("list_recent_generations or from a generation's download URL"), which routes the agent to the correct upstream call. It does not, however, give explicit when-not-to-use guidance versus e.g. list_recent_generations or delete_generations.

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.

Resources