Skip to main content
Glama

List models

list_models
Read-only

List and search the language or transcription models each provider offers, with installed status, paging, and refresh options, so admins can pick the right model.

Instructions

Admins only: the models each provider offers for language or transcription (the Settings → Models picker), a page per provider, the models in use first. installed: false = a self-hosted server can download it. Next page: provider plus its nextCursor. q searches (typos too) and keeps matching providers, best first. Returns { providers: [{ provider, title, available, reason, error, selfHosted, groups, models: [{ id, label, note, installed, group }], total, nextCursor, installedCount }], limit, q }. Cached 5 minutes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "kind": "<kind>"
    },
    "name": "list_models"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoFuzzy search, e.g. whisper large or haiku gateway
kindYeslanguage = AI_MODEL / the judge; transcription = TRANSCRIPTION_MODEL or the align model
limitNoModels per provider, default 50
cursorNonextCursor from the previous page of the same provider and q
refreshNotrue = ask every provider again instead of using the 5-minute cache
providerNoOnly this provider (e.g. openai, anthropic, gateway, opencode, openrouter), to page through its models

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.51.1

TDQS

A4.3/5.0
Behavior5/5

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

Beyond readOnlyHint=true, it discloses real behavioral traits: results are paged per provider, models in use are ordered first, search results are ranked with matching providers kept, and responses are cached for 5 minutes. It also explains the semantic of installed: false (a self-hosted server can download it), which is not derivable from annotations.

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?

It is compact and front-loads the admin-only constraint, and no sentence is filler. The tradeoff is a run of comma-spliced fragments that read as notes rather than prose, which costs some clarity at first pass.

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 return contract itself and does so explicitly, listing the providers/models field shape plus limit and q. Combined with pagination, caching, and search semantics, an agent has everything needed to call this correctly in one shot.

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 adds cross-parameter meaning the schema only implies: the cursor is valid only in combination with the same provider and q. It also clarifies the search behavior of q (typo-tolerant, keeps matching providers, best first) rather than just 'fuzzy search'.

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 models each provider offers for language or transcription'), anchors it to the product surface ('the Settings → Models picker'), and sets an audience constraint ('Admins only'). It is clear which sibling list_ tool this is, though the sentence is a fragment with no explicit verb, so the agent infers 'list' rather than reading it.

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?

It states the prerequisite (admin-only) and gives concrete routing for the two sub-tasks: use provider plus nextCursor to page, and use q to fuzzy-search across providers. It does not compare against any alternative tool or say when this should not be used, but no plausible sibling alternative is evident from the guidance itself.

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

Deploy Server

Other Tools