Skip to main content
Glama

bridge_codex_run

bridge_codex_run

Starts or resumes a Codex thread to execute a task, track events, and operate in a sandbox; workspace writes require explicit approval.

Instructions

CODEx APP SERVER: inicie ou retome thread; acompanha eventos e usa sandbox. Gravação exige habilitação e confirmação.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "task": "<task>"
    },
    "name": "bridge_codex_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNoPasta RELATIVA ao workspace autorizado
modeNo
taskYesTarefa para o Codex
modelNoModelo Codex opcional; vazio escolhe padrão da conta
thread_idNoID de thread existente para continuar
confirm_writeNoAprovação explícita para workspace_write
timeout_secondsNoTempo de 10 a 900 segundos

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.5

TDQS

C2.9/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 real behaviors: execution happens in a sandbox, and write operations require prior enablement and explicit confirmation. It omits other consequential traits an agent needs — whether the call blocks until completion, how timeout_seconds interacts with long runs, and what it returns (thread id? events?) — so the safety profile is only partly covered.

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?

Two short clauses with the tool family and the primary action front-loaded, and the write-safety caveat deliberately placed second. It is tight, though the telegraphic semicolon style costs some readability for a non-Portuguese-reading agent.

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?

This is a 7-parameter execution tool with no annotations and no output schema, so the description must carry more of the load. It leaves unstated what a run produces, whether the returned thread can be resumed, and how the 10–900 second timeout affects long executions — all gaps an agent will hit on first call.

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?

Schema coverage is high (86%), so the schema already explains cwd, model, thread_id, confirm_write, and timeout_seconds, setting a baseline of 3. The description still earns above baseline by stating that writing requires enablement and confirmation, which explains the interplay between mode=workspace_write and confirm_write that the schema lists but does not connect.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (a Codex thread), the two entry modes ("inicie ou retome"), and a behavioral trait ("acompanha eventos e usa sandbox"). However, it never states the core outcome — that it runs a Codex task and returns results — and it does not distinguish this from siblings like bridge_codex_turns or bridge_codex_thread_read, which an agent must infer on its own.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use guidance and no named alternative (bridge_ask_gpt, bridge_codex_turns, bridge_codex_thread_read) for a task that clearly overlaps with the other bridge_codex_* tools. The only usable signal is the implied prerequisite that write mode needs enablement plus confirmation, which is a condition, not a routing rule.

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