Skip to main content
Glama

codex_config

Manage persistent Codex Bridge settings such as model, reasoning effort, sandbox policy, and workflow mode, and list locally available Codex models to keep CLI defaults aligned with your UI panel.

Instructions

Read or update persistent Codex Bridge preferences (model, reasoning_effort, sandbox, workflow_mode, progression_mode, max_auto_iterations) shared with the Codex Bridge UI panel, and list available local Codex models.

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

Input Schema

NameRequiredDescriptionDefault
modelNoSet default Codex model slug (pass '' to follow ~/.codex/config.toml).
sandboxNoSet default sandbox policy.
list_modelsNoInclude available local Codex models in the output.
workflow_modeNoBriefing mode: 'direct' executes immediately; 'plan_first' presents a brief for confirmation first.
progression_modeNoGoal progression mode: 'manual' (no auto-callback), 'notify' (auto-notify Antigravity when background Codex job finishes), 'autonomous' (auto-verify and continuously advance goal milestones until done or paused).
reasoning_effortNoSet default reasoning effort (pass '' to follow model/config default).
max_auto_iterationsNoMaximum automatic iterations before pausing (1-100, default 12).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/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 it does disclose two useful facts: settings are persistent and shared with the Codex Bridge UI panel, so changes affect external state. It omits what a call returns, whether updates are partial or replace the whole config, and any risk note about switching sandbox to danger-full-access.

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?

A single front-loaded sentence that opens with the action and resource before the detail list. The parenthetical enumeration duplicates schema property names and slightly blurs the dual read/write/list purpose, but nothing is padded or wasted.

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?

Seven optional parameters, no output schema, and no annotations mean the description should explain the no-argument read path, partial-update semantics, and what the response contains; it explains none of these. It is adequate to identify the tool but leaves real gaps for correct invocation.

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 description coverage is 100% with helpful enum documentation for four parameters, so the schema already does the heavy lifting. The description's parenthetical key list merely restates parameter names and adds no syntax or default behavior beyond the schema, matching the baseline 3.

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 pair (read/update) and resource (persistent Codex Bridge preferences), and enumerates the six preference keys plus the model-listing capability. It is clear what the tool does, but it bundles two operations (config read/write and list_models) without saying how they relate, and never distinguishes itself from siblings like codex_info.

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 schema's zero required parameters suggest calling with no arguments reads current config, and supplying a key updates it, but the description never states this. No alternatives are named and no when-not-to-use conditions are given.

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