Skip to main content
Glama

codex_models

Read-only

Lists available models from your configured Codex account so you can choose the right model for local Codex tasks.

Instructions

List available models from the configured Codex account.

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_models"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is covered. The description adds only one piece of extra context, that the list is scoped to the configured Codex account, and says nothing about whether the result depends on account tier, auth state, or whether model IDs are directly usable elsewhere. Useful but thin beyond 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.

Conciseness5/5

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

A single ten-word sentence with the verb and resource front-loaded and the account scope trailing. No filler, no restatement of the title, nothing to trim.

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 no-parameter read-only listing tool with annotations covering safety and no output schema, the definition supplies what an agent needs to decide to call it. The only gap is that it does not indicate what the items look like (identifiers vs display names), which matters for chaining into a session-start tool.

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 and the schema is fully closed (additionalProperties=false), so there is no parameter meaning left for the description to supply. Baseline 4 applies; nothing is missing because nothing is accepted.

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 and resource ("List available models") plus a scope qualifier ("from the configured Codex account"), which is enough to separate it from session-oriented siblings like codex_list or codex_start. It stops short of naming or contrasting any sibling explicitly, so an agent still infers that codex_list deals with sessions rather than models.

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?

The use case is only implied: an agent can reasonably deduce this is a discovery call to find model identifiers before starting or resuming a session, but the description never says when to call it, when not to, or what to do with the result. No alternatives or preconditions are mentioned.

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