Skip to main content
Glama
jgt87
by jgt87

List available Codex models

codex_models

Retrieve the list of models available in this Codex install along with the reasoning efforts each supports, enabling validation of model and reasoning effort parameters before starting a job.

Instructions

Show the models this Codex install offers and the reasoning efforts each one accepts, read from Codex's own model index. Use it when you want to pin model or reasoningEffort on codex_start and need to know what is legal — the accepted efforts differ per model, and a value the model does not take fails the job rather than the call. Also reports how the index was obtained, so a stale or missing one is visible rather than silent.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

With no annotations, the description fully discloses the source (Codex's own model index) and that it reports how the index was obtained, making staleness or missing data visible.

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?

Well-structured with the main purpose front-loaded, and every sentence adds value without redundancy.

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?

Given zero parameters and no output schema, the description is remarkably complete, covering usage, data source, and potential issues (stale index).

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?

There are no parameters, so baseline is 4. The description adds no parameter-specific details but fully compensates by explaining the tool's purpose and output.

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?

The description clearly states the tool shows available Codex models and their reasoning efforts, distinguishing it from sibling tools like codex_start by focusing on listing rather than execution.

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?

Explicitly advises when to use: when pinning model or reasoningEffort on codex_start, and warns that invalid values fail the job, not the call, providing clear guidance.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jgt87/codex-offload-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server