Skip to main content
Glama

List history

list_history
Read-onlyIdempotent

List the account's generations from the last 30 days, newest first, whatever started them (source): the Mage app (app), the API (rest), this MCP server (mcp), the Mage sidekick (agent), or auto-creation (auto). Each has its prompt, model, status, result URL, and billing: gems with the Gems charged, or unlimited for app generations covered by a membership. request_id is set for API, MCP, and sidekick generations, which get_request and cancel_request accept. Media expires 30 days after it was made; the user's saved creations, kept permanently, are in search_creations.

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_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoHow many to return. Default 20.
cursorNoThe `next_cursor` of the previous page, for the next one.
statusNoOnly generations in this state.
media_typeNoOnly finished generations of this media type.
architectureNoOnly generations made with this model id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds substantial context beyond them: the 30-day retention window, newest-first ordering, the five source values, per-item fields (prompt, model, status, result URL), billing semantics (gems vs unlimited), which sources carry request_id, and media expiry.

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?

The scope, ordering and sibling contrast are front-loaded in the first clause, which is the right priority. It is a single dense paragraph that occasionally drifts into per-field return detail, but little of it is wasted given there is no output schema.

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?

With no output schema, the description carries the burden of explaining return shape and does so item by item, including billing and expiry. Combined with a fully documented input schema and clear annotations, an agent has everything needed to call and interpret this correctly.

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 the five filters (limit, cursor, status, media_type, architecture) are already fully documented. The description adds no filter semantics of its own and instead describes the `source` result field, which is not an input parameter. 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 specific verb and resource with scope: 'List the account's generations from the last 30 days, newest first.' It also names the sibling it is not (search_creations holds permanently saved creations), so an agent can distinguish it without opening any 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?

Explicitly routes the agent: media expires after 30 days, and saved creations live in search_creations instead. It also notes that get_request and cancel_request accept the returned request_id, which is an implicit next-step hint. It stops short of an explicit 'use this when' statement or listing exclusions like list_references.

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