Skip to main content
Glama

Codex Implement

codex_implement

Delegate feature implementation, bug fixes, or code changes to Codex, then receive a summary of modifications; note it writes directly to your codebase.

Instructions

Ask Codex to implement a feature, fix a bug, or make code changes. WARNING: This modifies your codebase. Returns a summary of what was changed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
taskYesWhat to implement or fix
modelNoOverride the Codex model
sandboxNoSandbox level (must allow writes)workspace-write
workingDirectoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose the critical trait: 'WARNING: This modifies your codebase' plus a note about the return summary. However, it omits permission/auth requirements, whether edits are reversible or committed, and how the sandbox setting affects scope.

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, zero waste, purpose front-loaded and the mutation warning placed prominently. Nothing to trim.

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?

For a mutation tool with no annotations and no output schema, it covers the essentials: the action, the fact it writes to the codebase, and the return shape. It is slightly thin on the sandbox/permission consequences but otherwise sufficient to call the tool correctly.

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 75% and the description adds no parameter-level detail at all (task, model, sandbox, workingDirectory are undocumented in the prose). Since the schema already documents most parameters, baseline 3 is 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+resource ('implement a feature, fix a bug, or make code changes') and the description clearly positions this as the mutating action among siblings like codex_review_code and codex_explain_code. It stops short of explicitly naming an alternative, so it's clear but not fully differentiated by text alone.

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 use cases (implement, fix, change code) imply when to call it, but there is no when-not guidance or reference to alternatives such as codex_plan_* or codex_review_*. Usage is implied rather than stated.

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