Skip to main content
Glama

codex_list_models

Lists all AI models available in Codex configuration and catalog, showing the active model, context window, and supported reasoning levels.

Instructions

List all AI models available in Codex configuration and catalog (e.g. gemini, deepseek, gpt-6, grok, glm, claude), showing the active model, context window, and supported reasoning levels.

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": "codex_list_models"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it partially does by saying the output surfaces the active model, context window, and supported reasoning levels, which implies a read-only catalog. It does not state whether configuration is per-workspace or global, whether the catalog reflects installed vs supported models, or anything about freshness or cost of the call.

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?

A single front-loaded sentence that leads with the core action and appends the returned fields. The parenthetical list of example model names is slightly expendable but does help an agent recognize the resource quickly.

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?

For a zero-parameter listing tool with no output schema, the description covers the essential question of what comes back (active model, context window, reasoning levels). Missing only minor context such as configuration scope, which is low-risk for a read-only catalog call.

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 there is no parameter meaning to add and the baseline applies. The description correctly implies no filtering or selection argument is needed.

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?

States a specific verb (List) and resource (AI models in Codex configuration and catalog), and enumerates concrete examples of the returned entities plus the fields shown. It implicitly separates itself from codex_ask_model by being a catalog read, but never names a sibling or scope boundary explicitly.

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?

Usage is only implied: an agent can infer this is the discovery call before codex_ask_model, but the description never states when to call it, when not to, or what to do with the result. No alternatives or prerequisites are mentioned.

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