Skip to main content
Glama

List models

list_models
Read-onlyIdempotent

List the AI models GenMagic runs, newest first, with each one's id, price and key details (context window and capabilities for text, voices for speech, resolutions, clip lengths and sound for video). Pass a model's id as 'model' to generate_text, generate_image, generate_speech, generate_music or create_video. Filter by category and search; the model marked default is the one that runs when no model is named (for generate_text, when no type is given either). Needs no API key and costs nothing.

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

Input Schema

NameRequiredDescriptionDefault
limitNoHow many models to return (1-100, default 25).
searchNoOnly models whose id or name contains this text, e.g. veo, flux, claude.
categoryNoOnly models of this kind. audio holds both speech and music models.
audio_kindNoAudio models only: speech (voices for generate_speech) or music (for generate_music).
capabilityNoText models only: keep models with this capability.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / audio_kind
      Added value: +{
      +  "description": "Audio models only: speech (voices for generate_speech) or music (for generate_music).",
      +  "enum": [
      +    "speech",
      +    "music"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered structurally. The description adds two genuinely new facts — no API key required and no cost — which matter for an agent deciding whether to call it speculatively. It stops short of anything about result size or pagination behavior under the 100-item cap, so it goes modestly beyond annotations rather than richly.

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?

Three sentences, front-loaded with what is returned and ordered, then routing, then filtering/default semantics. Every clause carries information an agent needs — no filler, no restatement of the title.

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?

There is no output schema, so the description carries the burden of describing returns, and it does so by naming the per-category fields (context window, voices, resolutions, clip lengths, sound). Combined with the default-model rule and the zero-cost/no-key note, nothing an agent needs to call this correctly is missing.

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 the audio_kind/capability enum semantics is already documented in structured form; baseline 3 applies. The description's 'filter by category and search' restates schema content without adding format or interaction details (e.g. how search combines with category) beyond what is supplied. It does clarify the cross-cutting 'default' concept, but that is model metadata, not a parameter.

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 ('List the AI models GenMagic runs') and goes further by naming what each entry contains (id, price, context window, voices, resolutions, clip lengths) and the ordering (newest first). The sibling generation tools are named explicitly, so an agent can tell this is the discovery tool feeding them.

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

Usage Guidelines5/5

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

Gives the concrete follow-up action — pass a returned id as 'model' to generate_text, generate_image, generate_speech, generate_music or create_video — plus the selection logic (category/search filters, and that the default-marked model runs when none is named, including the generate_text type nuance). That is explicit when-to-use and how-to-use-next guidance rather than inference.

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.