Skip to main content
Glama

List generation models

list_generation_models
Read-only

Check supported image and video generation models, modes, formats, durations, and credit costs before choosing settings, so unsupported combinations are refused before any charge.

Instructions

Models of generate_image and generate_video with modes, formats, durations and unit_credits: credits per image, or per second of a clip. Any combination not listed is refused with unsupported_combination before any charge. Free.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.39.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
  2. Addedv0.33.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already establish that this is a safe read (readOnlyHint true, destructiveHint false), so the bar is lower, and the description still adds real behavior: it is free, and invalid combinations fail as unsupported_combination before any charge is incurred. That cost-safety guarantee is exactly the kind of context an agent needs and cannot get from structured fields.

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?

Two dense sentences with zero padding, and the most decision-relevant fact – that unsupported combinations are refused before charging, and that the call is free – is placed after the subject matter but before any redundancy. Nothing repeats the name, title, or annotations.

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?

With no input parameters and no output schema, the description carries the full burden of explaining the return shape, and it does so by naming the per-model attributes including the unit_credits semantics (per image vs. per second of clip). A slightly more explicit statement of the listing's container or ordering would close the remaining gap.

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?

The tool takes zero parameters, so the baseline is 4 and there is nothing for the description to disambiguate. The description instead spends its words on what the returned entries contain, which is the more useful information here.

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?

The description names the resource precisely – the supported models for generate_image and generate_video – and enumerates the attributes each entry carries (modes, formats, durations, unit_credits). It is a listing tool and reads as such, though it never uses an explicit verb like 'list' or 'returns', so the verb is implied by the attribute enumeration rather than stated.

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?

It conveys a genuine precondition for use – that any combination not listed is refused with unsupported_combination before any charge – which tells the agent this is the source of truth for valid configurations. It does not, however, say when to call it relative to siblings such as list_prices or quote_image, nor explicitly instruct calling it before generate_image or generate_video.

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