Skip to main content
Glama

list_jobs

Read-only

List background jobs newest to oldest with optional status filtering. Retrieve running, done, failed, or cancelled Codex jobs to track progress and check results.

Instructions

List background jobs from newest to oldest, with optional status filtering.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
statusNoall

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already establish this as a safe, non-open-world read (readOnlyHint=true, openWorldHint=false), so the description only needs to add context. It contributes the newest-first ordering and the optionality of filtering, but says nothing about result volume, whether the limit truncates silently, or what fields a job record exposes. With annotations carrying the safety profile this is adequate but thin.

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 sentence with no filler, front-loading the core action and scope before the optional filter clause. Every phrase carries information and nothing is repeated from the schema.

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 two-parameter read tool this is close to sufficient, but with no output schema the description should indicate roughly what a returned job looks like or how many are returned by default. Combined with the unexplained limit semantics, an agent can call it but cannot predict the result shape.

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 would need to compensate, and it largely does not. It mentions that status filtering is optional, which merely restates the schema's default of "all", and never explains the limit parameter's default of 20 or its maximum of 100, leaving truncation behavior undocumented.

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?

The description gives a specific verb and resource ("List background jobs") plus an ordering guarantee (newest to oldest) and an optional filter. It does not, however, distinguish this tool from siblings like job_status or cancel_job, so the agent must infer that those operate on a single job rather than enumerating them.

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: the phrase "optional status filtering" signals that the tool can be used broadly or narrowed by state, but there is no explicit when-to-use or when-not-to-use guidance. No alternative tool is named for retrieving a single job's details, which is where the real ambiguity lies given job_status in the sibling set.

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