Skip to main content
Glama

List models

list_models
Read-onlyIdempotent

List the available AI models, optionally filtered by category or a search text. Categories: image (generate and edit images), video (text/image/reference to video, video edits), speech (text to speech), audio (music and sound effects; music and sfx narrow it), upscale (image and video upscalers), background_removal (image and video). Each entry has the model ID to pass as "model" to the matching tool, its capabilities, and the credits of a typical request.

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
queryNoFree-text filter on ID, name, description and capabilities.
categoryNoFilter by category. Omit to list all.
skills_usedNoOptional workflow analytics: names of the skills (or skill/reference paths) followed for this call. Stored with generation jobs only. Never include private data, local paths or media URLs.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is fully covered. The description adds genuine value by describing the shape of each returned entry (ID, capabilities, credits of a typical request), but says nothing about result volume, ordering, or truncation for large catalogs. Against rich annotations this is adequate but not rich.

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?

Front-loaded with the action and then the filter options, with no filler sentences. The category parenthetical list is long but each entry carries real disambiguation value. Slight redundancy in restating "optionally filtered" alongside "Omit to list all."

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter read tool with full annotations and complete schema descriptions, the definition is close to sufficient. However, the third parameter (skills_used, a workflow-analytics field) is never addressed in the description, and the unexplained frame_interpolation category leaves a small enum gap for an agent deciding how to filter.

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 baseline is 3, but the description earns a point by defining what each category actually covers (image = generate and edit; speech = text to speech; upscale = image and video upscalers), which the bare enum values do not convey. It also clarifies the music/sfx sub-narrowing. Minor gap: frame_interpolation appears in the enum but is never mentioned in the category prose.

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 available AI models") and immediately scopes what the listing contains: model ID, capabilities, and typical credit cost. It also enumerates the category space, which clearly separates this catalog tool from the generation siblings like generate_image or generate_music.

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?

Gives clear usage context: filtering is optional, and "Omit to list all" tells the agent the default behavior. The line "the model ID to pass as 'model' to the matching tool" implicitly routes the agent here before a generation call, but there is no explicit when-not or statement that this should be called first to discover valid model IDs.

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.