Skip to main content
Glama

Search past generations

list_generations
Read-only

search the account generation history with the actual charged cost (cost_in_usd or cost_credits/cost_eur depending on the backend) per output. supports free-text search over prompts and model names, filters, and sorting. requires an authenticated (oauth) session.

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

Input Schema

NameRequiredDescriptionDefault
pageNopage number (default 1)
limitNoresults per page (default 50, max 200)
searchNofree text matched against prompts and model names
statusesNo"finished" or "failed"
sort_fieldNocost_in_usd, duration, favorited_at, generation_type, model_name, or id
only_favoritesNoonly favourited outputs
sort_directionNoasc or desc (default desc)
generation_typesNocomma-separated (e.g. "text-to-image,text-to-video")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare a safe read (readOnlyHint=true, destructiveHint=false, openWorldHint=false), so the bar is lower. The description adds genuine context beyond that: it requires an authenticated OAuth session, and it discloses that the cost field varies by backend (cost_in_usd vs cost_credits/cost_eur), which an agent would otherwise misinterpret. It says nothing about pagination totals or result shape.

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 compact sentences, front-loaded with the purpose and cost semantics, then capabilities, then the auth prerequisite. The parenthetical about currency variants is slightly verbose but carries real information, so little is wasted.

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 an 8-parameter, all-optional read tool with full schema coverage and no output schema, the description covers purpose, the notable returned cost field, filtering/sorting capability, and the auth prerequisite. Remaining gaps (result envelope, pagination behavior) are modest given that all inputs are documented in the schema.

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%, so every parameter including page, limit, statuses, and sort_field is already documented in the schema. The description only restates the categories of parameters (free-text search, filters, sorting) without adding syntax, defaults, or constraints beyond what the schema provides. Baseline 3 applies.

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 pair: "search the account generation history ... per output", which is unambiguous and clearly distinct from sibling list_* tools that deal with endpoints, files, and jobs. It does not explicitly name an alternative tool, so it falls short of full sibling differentiation.

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

Usage Guidelines3/5

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

Usage is implied rather than prescribed: the description tells you it supports free-text search, filters, and sorting, so an agent can infer this is the tool for querying past generations. There is no explicit when-to-use/when-not guidance, and no named alternative for related needs such as fetching a single generation.

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