Skip to main content
Glama

List models

list_models
Read-onlyIdempotent

Search the public model catalog before or after connecting. All arguments are optional. Start with {"type":"llm","limit":3} for a few text models, or {"limit":3} for any models. Rows are summaries: id, name, type, model, maker, provider, service_tier, capabilities, modalities, context_window, max_output_tokens, pricing, compliance (inference_location, training, logging), release date, access, retired_at and successor. For one model's full record (parameters, every compliance fact, references) pass detail="full" with q or model; it returns at most 3 rows. Pages hold 20 rows by default and at most 30, and end early rather than pass 40,000 characters, so a page can hold fewer rows than asked for. Each page starts with total, has_more and next_offset: while has_more is true, call again with offset set to next_offset. Narrow with type, provider, capability or q rather than paging everything. Omit unused filters; never send the strings "undefined" or "null", which are literal filters and can hide all results. If a filtered search is empty, retry with only limit before concluding the catalog is empty. To find models that run in the EU pass inference_location=["EU"], and add storage_location=["EU"] to keep retained content there too. For No training and No logging on the Rules page pass training=["no"] and logging=["none"], and add moderation=["none"] for No provider moderation. These filters match the way Rules do; each parameter says how an unrecorded fact is treated. include takes only maker,benchmarks; get_allowed_models gives effective policy. The callable id selects an endpoint; model names the underlying weights, which several endpoints can share. For comply.allowlist.models, remove only the first provider prefix from id (gemini/gemma-4-26b-moe becomes gemma-4-26b-moe). pricing holds USD rates; no pricing object means a free-priced model under the runtime plan gate. For image, video or tts start with featured=true, the curated current models. Listing does not guarantee credentials, entitlement or policy access.

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
qNoCase-insensitive substring of a model's id, name, description or alias. Dots, dashes, underscores, colons, slashes and spaces are also ignored on both sides from the start of a word, so `gpt-5-1`, `gpt 5.1` and `gpt5.1` all find `gpt-5.1`.
sortNoField to sort by (`id`, `name`, `provider`, `type`, `cost`, `speed`, `quality`, `context_window`, `ttft`, `tokens_per_second`). Default `id`. `speed` and `quality` are editorial tiers; `ttft` and `tokens_per_second` are measured on Opper traffic, and unmeasured endpoints sort last in either order, so `?sort=tokens_per_second&order=desc` lists the fastest first.id
typeNoFilter by model type (`llm`, `image`, `tts`, `stt`, `video`, `realtime`, `embedding`, `rerank`, `ocr`, `evaluation`, `extraction`, `forecast`, `music`, `sound`).
limitNoPage size, 1 to 30, default 20 (detail=full: at most 3). A larger value is capped, and 0 or less means the default, never the whole catalog. A page ends early rather than pass 40,000 characters; has_more and next_offset then say where to continue.
modelNoKeep the endpoints of one model, by the canonical key each item carries as `model` (e.g. `kimi-k3`), exact match.
orderNo`asc` (default) or `desc`.asc
detailNosummary (default) or full. Full rows add parameter schemas, every compliance fact, references and descriptions, and a full page holds at most 3 rows: use it with q or model for one model.summary
offsetNoPagination offset.
includeNoComma-separated public enrichments: maker,benchmarks (summary rows keep benchmarks). Use get_allowed_models for effective policy.
loggingNoKeep models whose provider's logging stance is one of `none`, `abuse_monitoring`, `limited_debug`, `other`. Repeatable, or comma-separated. A stance that has not been researched never matches. `logging=none` is No logging on the Rules page. Each item reports its stance as `compliance.logging`.
featuredNotrue keeps the short, hand-curated list of current models per type that Opper features.
providerNoFilter by provider (company) slug as published in each item's `provider.slug` and on `/v3/providers` (e.g. `openai`, `anthropic`, `google`). Adapter keys like `vertexai` are not companies and match nothing.
trainingNoKeep models whose provider's training stance is one of `no`, `opt_in`, `opt_out`, `yes`. Repeatable, or comma-separated. A stance that has not been researched never matches. `training=no` is No training on the Rules page. Each item reports its stance as `compliance.training`.
capabilityNoFilter by capability (repeatable). Items matching ALL listed capabilities are returned.
deprecatedNoSet to `true` to include retired models in results.
moderationNoKeep models whose provider's moderation stance is one of `none`, `optional`, `default_on`, `mandatory`. Repeatable, or comma-separated. A stance that has not been researched never matches. `moderation=none` is No provider moderation on the Rules page. Each item reports its stance as `compliance.moderation`.
max_ttft_msNoKeep endpoints whose measured median time to first token is at most this many milliseconds (see `include=performance`). Unmeasured endpoints are left out.
service_tierNoKeep endpoints of these processing tiers, comma-separated: `flex`, `priority` (alias `fast`), `ultrafast`, `economy`, `batch` (served by POST /v3/batches only), or `default` for standard endpoints. Each tier endpoint carries its tier as `service_tier` and its own price; request one with the `service_tier` field or by its id. E.g. `?service_tier=flex` lists every model sold at flex, `?model=kimi-k3&service_tier=priority` the priority endpoints of one model.
max_input_priceNoKeep token-priced models whose base input price (`pricing.input[0]`, USD per million tokens) is at most this. Models not priced per token are left out.
input_modalitiesNoKeep models that take ALL of these inputs, comma-separated: `text`, `image`, `file`, `pdf`, `audio`, `video`. Each item lists what it takes as `input_modalities`; a model without recorded modalities matches no modality filter.
max_output_priceNoKeep token-priced models whose base output price (`pricing.output[0]`, USD per million tokens) is at most this. Models not priced per token are left out.
storage_locationNoKeep models whose provider stores retained content (logs, content retained for moderation) only inside these locations. Matches like Storage location on the Rules page, by the same containment as `inference_location`. A model whose provider keeps no content (no logs, nothing retained for moderation, no training on it by default) matches any location. Values come from the catalog's location list: the ISO 3166-1 alpha-2 codes of the countries providers serve from, and the areas `EU`, `EEA` and `GLOBAL`. A country missing from the list has no model recorded in it. Repeatable, or comma-separated.
output_modalitiesNoKeep models that give back ANY of these outputs, comma-separated: `text`, `image`, `embeddings`, `audio`, `video`, `rerank`, `decisions`, `speech`, `transcription`, or `all` for no filter. Each item lists what it gives back as `output_modalities`.
inference_locationNoKeep models whose inference runs inside any of these locations. Matches like Inference location on the Rules page: `EU` includes a model running in Sweden, and a model with no recorded location only matches `GLOBAL`. Each item reports its location as `compliance.inference_location`. Values come from the catalog's location list: the ISO 3166-1 alpha-2 codes of the countries providers serve from, and the areas `EU`, `EEA` and `GLOBAL`. A country missing from the list has no model recorded in it. Repeatable, or comma-separated.
min_context_windowNoKeep models whose `context_window` is at least this many tokens, e.g. `200000`.
min_tokens_per_secondNoKeep endpoints Opper measured at no fewer than this many output tokens per second on its own traffic (see `include=performance`). Unmeasured endpoints are left out.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Beyond readOnlyHint/idempotentHint the description discloses real behavior: pages end early rather than pass 40,000 characters, detail=full caps at 3 rows, unrecorded compliance facts never match a filter, unmeasured endpoints are dropped from performance filters, and "Listing does not guarantee credentials, entitlement or policy access." Those are exactly the side facts an agent cannot get from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and example calls are front-loaded, but the rest is a single dense block that mixes filter semantics, compliance/Rules-page mappings, pagination and output-field lists, partly restating schema text (page sizes, next_offset, unrecorded-stance behavior). Every sentence is relevant, but the lack of segmentation makes it harder to scan than its content warrants.

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 26 optional parameters, no output schema and an all-optional filter surface, the description fills exactly the gaps that matter: the row fields returned, pagination contract, filter-matching semantics, and the caveat that a listing implies no access. Nothing an agent needs in order to call it correctly appears missing.

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 per-parameter descriptions already do most of the work; the tool description adds cross-parameter meaning the schema does not: detail="full" should be paired with q or model, include accepts only maker,benchmarks, and for comply.allowlist.models only the first provider prefix is stripped (gemini/gemma-4-26b-moe → gemma-4-26b-moe). Some overlap (pagination caps, empty-pricing meaning) is redundant with the schema, so not a 5.

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?

"Search the public model catalog" states a specific verb plus resource, and the description immediately delimits scope by pointing to get_allowed_models for effective policy and by distinguishing 'id' (endpoint selector) from 'model' (underlying weights). An agent can tell this apart from list_rules, list_api_keys or get_allowed_models without opening the schema.

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?

It gives explicit entry points ({"type":"llm","limit":3}, {"limit":3}, featured=true for image/video/tts) and exclusions: "Narrow with type, provider, capability or q rather than paging everything" and "Omit unused filters; never send the strings 'undefined' or 'null'." It also defines a recovery path ("If a filtered search is empty, retry with only limit") and routes to get_allowed_models as the alternative for effective policy.

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