Skip to main content
Glama

codex_list

Read-only

Lists bounded candidates from the existing Codex backend, using offsets for Desktop or a native cursor for the daemon so you can page through results by context ID.

Instructions

List bounded candidates from the existing Codex backend. Use offsets for Desktop or the native cursor for the daemon.

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": {
      "context_id": "<context_id>"
    },
    "name": "codex_list"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
cursorNo
offsetNo
context_idYes
execution_backendNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.7.0

TDQS

C2.4/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false, and openWorldHint=true, so safety is covered structurally. The description adds only the weak signal that results come from an "existing" backend (nothing is created) and that results are "bounded"; it says nothing about pagination termination, result size, or what the cursor/offset pagination returns.

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?

Two short sentences with no filler, and the core operation is front-loaded. The terseness borders on cryptic given the undefined "candidates", but no sentence is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter, open-world read tool with no output schema and zero schema description coverage, the description is far too thin: an agent still doesn't know what a candidate is, what context_id scopes, or what the response looks like.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning. It usefully reveals the non-obvious backend-dependent pagination mapping (offset for Desktop, cursor for daemon) that the schema cannot express, but leaves three of five parameters — including the required context_id — and the limit/execution_backend relationship entirely unexplained.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a verb and a source ("List bounded candidates from the existing Codex backend"), but "candidates" is undefined — candidates for what, sessions, tasks, runs? With siblings like codex_status and codex_watch present, an agent cannot tell from the description alone which one enumerates state versus lists candidates.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The second sentence is parameter-selection advice (offset for Desktop, cursor for daemon), not when-to-use guidance. There is no statement of when this tool should be chosen over codex_status, codex_read, or codex_watch, and no prerequisites or exclusions.

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