Skip to main content
Glama

codex_goal

Create and track persistent multi-step goals and milestones shared with the Codex Bridge Sidecar panel, so backend debugging, refactors, and analysis pipelines survive restarts and context compaction.

Instructions

Manage persistent multi-step Goals & Milestones shared with the Codex Bridge Sidecar panel (survives restarts and conversation compaction). Use this for ongoing backend debugging, refactors, or meta-analysis pipelines that require iterative verification.

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

Input Schema

NameRequiredDescriptionDefault
cwdNoWorking directory for the goal (for create).
notesNoVerification outcome, findings, or notes.
titleNoTitle for a new goal or new milestone.
actionNoOperation to perform on the persistent goal board.get
statusNoNew status: goal ('active'|'paused'|'completed'|'failed') or milestone ('pending'|'in_progress'|'done'|'blocked'|'skipped').
goal_idNoTarget goal_id (defaults to the active goal).
blockersNoCurrent blockers list (for set_status).
objectiveNoDetailed goal description/objective (for create).
milestonesNoInitial ordered milestones list (for create).
milestone_idNoTarget milestone id like 'm1' (for update_milestone).
verificationNoVerification command or check for a milestone.
max_iterationsNoMax automatic progression iterations for this goal (default 12).
acceptance_criteriaNoVerifiable acceptance criteria list (for create).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior2/5

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

With no annotations, the description must carry the full behavioral burden. It discloses persistence and shared state, but omits critical behavior for a tool that includes create/update/delete actions: no mention of destructive semantics, permissions, return values, or what happens to other data when a goal is deleted.

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 sentences, both front-loaded and free of waste. The purpose and the usage context are presented efficiently.

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 13 parameters and an 8-action enum, the description is too thin. It does not explain per-action requirements (e.g., which parameters apply to create vs. update_milestone), nor does it describe expected outputs or safety behavior for destructive actions.

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 coverage is 100%, so every parameter is already documented in the input schema. The description adds no parameter-specific meaning beyond the schema, which matches the baseline of 3 for fully covered schemas.

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 states a specific resource ("Goals & Milestones") and the persistent scope ("shared with the Codex Bridge Sidecar panel"). However, the verb is the generic "Manage," and the description does not differentiate this tool from siblings like codex_status or codex_run that might also touch goal state.

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?

It gives clear when-to-use context: "ongoing backend debugging, refactors, or meta-analysis pipelines that require iterative verification." No explicit when-not-to-use or alternative tool is named, but the usage scenario is specific 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.