Skip to main content
Glama

codex_app_goal

Manage persistent autonomous goals: start, pause, resume, or complete them, letting Codex continue working until a terminal status.

Instructions

Start or manage a persisted autonomous goal. Activating a goal lets the Codex runtime generate continuation turns until terminal goal status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdNo
nameNo
itemsNo
limitNo
modelNo
actionYes
configNo
cursorNo
effortNo
statusNo
turnIdNo
commandNo
gitInfoNo
sandboxNo
sortKeyNo
archivedNo
numTurnsNo
threadIdNo
ephemeralNo
itemsViewNo
objectiveNo
processIdNo
searchTermNo
personalityNo
serviceNameNo
serviceTierNo
tokenBudgetNo
dynamicToolsNo
includeTurnsNo
sortDirectionNo
approvalPolicyNo
approvalReviewerNo
baseInstructionsNo
developerInstructionsNo
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that goals are persisted, autonomous, and run until terminal status, which is useful. However, it doesn't discuss side effects, resource usage, or prerequisites, leaving significant behavioral ambiguity.

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?

The description is two sentences, front-loaded with the primary action, and contains no fluff. It's appropriately concise for the information it conveys.

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 tool with 34 parameters, 5 enums, no annotations, and no output schema, this description is far too sparse. It doesn't cover actions, requirements, or return behavior, making it inadequate for safe autonomous use.

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 coverage is 0% and the description does not explain any of the 34 parameters. It provides no meaning beyond the bare types and enums in the schema, so the agent cannot infer parameter usage or relationships.

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 clearly identifies the tool's purpose with a specific verb ("Start or manage") and resource ("persisted autonomous goal"), and adds context about the runtime generating continuation turns. However, it doesn't strongly differentiate from sibling tools like codex_app_process or codex_app_job.

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 description implies usage for persisted autonomous goals that need continuation turns, but it doesn't explicitly state when to use this tool over alternatives or mention exclusions. There's no guidance on choosing this vs. sibling tools.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zai-one/codex-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server