Skip to main content
Glama

Codex status and usage limits

codex_status
Read-onlyIdempotent

Check the local Codex CLI setup before generating images: install path, version, ChatGPT sign-in, remaining usage limits, and available models.

Instructions

Check the Codex CLI setup used for image generation: install location, version, ChatGPT sign-in, remaining 5-hour and weekly usage limits, and the available models with their reasoning efforts.

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

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds genuine context beyond that: it discloses the specific state being read, including ChatGPT sign-in status and rate-limit windows, which tells the agent this is an auth/quota probe that may reveal an unusable setup. It does not say whether the call is local-only or hits the network, which openWorldHint only hints at.

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?

One dense, front-loaded sentence with no filler; every listed item is a distinct piece of returned state. Marginal wording ('with their reasoning efforts') is slightly compressed but still parses.

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?

With no output schema and no parameters, the description must carry the return-value burden, and it does by enumerating the fields checked. What it omits is whether the check is cheap, remote, or can fail in ways that matter (e.g., signed-out state), so it is strong but not exhaustive for a zero-arg status 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?

Zero parameters, so the baseline is 4; there is no parameter semantics burden to carry. The description correctly does not invent inputs the empty schema would contradict.

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?

Specific verb ('Check') plus a concrete resource ('Codex CLI setup used for image generation'), followed by an enumeration of exactly what is inspected: install location, version, sign-in, usage limits, models. That makes it unmistakably a diagnostics call rather than the sibling generation calls. It stops short of naming a sibling explicitly, so it falls just below the top mark.

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 'setup used for image generation' suggests calling this before or when generate_image/get_image_result fail, but the description never states when to call it, when not to, or what to do with the result. No exclusions or fallback path are given.

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

Deploy Server

Other Tools