Skip to main content
Glama

codex_open

Destructive

Opens the embedded conversation side panel for a specified conversation ID or the session list, and opens the same conversation in the companion IDE extension.

Instructions

Open the embedded Codex conversation side panel. Pass a conversation_id or omit it for the session list. On IDE, the companion extension opens the same conversation.

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

Input Schema

NameRequiredDescriptionDefault
conversation_idNoBridge conversation_id returned by codex_start/resume/list

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?

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true, so the safety profile is carried by structured data. The description adds useful environment context ('On IDE, the companion extension opens the same conversation') but does not explain why a panel-opening action is flagged destructive, nor what happens with an unknown conversation_id. There is a mild tension between 'open a panel' and destructiveHint=true, but the description makes no explicit safety claim, so it is not a direct contradiction.

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 compact sentences, front-loaded with the action and followed by the parameter rule; nothing is padded. The trailing IDE note is slightly tangential but short enough to earn its place as environment context.

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 one-optional-parameter tool with no output schema, the description covers purpose, both parameter modes, and cross-environment behavior. The only real gap is error/invalid-id behavior, which is minor at this complexity level.

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 100% and the single parameter is already documented, so the baseline would be 3. The description earns above baseline by explaining the semantics of omitting the optional parameter (falls back to the session list), which the schema does not state.

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 uses a specific verb and resource ('Open the embedded Codex conversation side panel') and immediately clarifies the two operating modes (a specific conversation vs the session list). It is unambiguous about what the tool does, though it never explicitly contrasts itself with siblings like codex_read or codex_list.

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?

It gives conditional guidance for the one parameter ('Pass a conversation_id or omit it for the session list'), which is genuinely useful. However, it never states when an agent should open the panel versus reading the conversation with codex_read or enumerating with codex_list, so the when-to-use decision against alternatives is only implied.

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