Skip to main content
Glama
antigravity-codex-mcp
by Sunlazys

codex_list_jobs

Lists active and recent asynchronous Codex MCP jobs newest first, enabling clients to reconnect to running sessions or recover job IDs across windows and devices.

Instructions

List active and recent asynchronous Codex MCP jobs (newest first). Useful for reconnecting or recovering job_id across windows/devices.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoFilter by exact working directory (path-normalized).
kindNoFilter by job kind ('run' | 'resume' | 'fork' | 'review').
limitNoMaximum jobs to return (default 20).
statusNoFilter by status group ('all' | 'active' | 'terminal') or exact job status (default 'all').
session_idNoFilter by associated Codex session UUID.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses ordering ('newest first') and scope ('active and recent'), but omits safety profile (e.g., read-only nature), permission requirements, rate limits, and return format.

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?

Two tightly written sentences with zero waste. The purpose and scope are front-loaded, and the use case follows immediately.

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

Completeness3/5

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

For a tool with no annotations and no output schema, the description is somewhat thin. It covers purpose and a use case, but does not explain return values, safety characteristics, or pagination behavior beyond what the schema already states.

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

Parameters3/5

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

Schema description coverage is 100%, so all five parameters are fully documented in the schema. The description adds no parameter-specific meaning beyond what the schema already provides, making the baseline score of 3 appropriate.

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), resource (asynchronous Codex MCP jobs), and scope (active and recent, newest first). The resource name distinguishes it from sibling list tools like codex_list_sessions and codex_list_workspaces, though it does not explicitly name alternatives.

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?

Provides a clear use case: 'Useful for reconnecting or recovering job_id across windows/devices.' It does not explicitly state when not to use it or name alternatives like codex_get_session, but the context is concrete enough to guide selection.

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