Skip to main content
Glama

Continue Codex session

codex_continue
Read-only

Continue a codex-mcp conversation from its session_id to ask follow-up questions, clarify results, or verify prior output; it uses the original working directory and stays read-only.

Instructions

Продолжает беседу любого инструмента codex-mcp по session_id из его ответа: уточнение, следующий вопрос, проверка вывода. Беседа идёт с исходным рабочим каталогом и только для чтения. Сколько дней хранятся беседы, задаёт настройка сервера.

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": {
      "session_id": "<session_id>",
      "message": "<message>"
    },
    "name": "codex_continue"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoМодель Codex. По умолчанию — модель возможности или настройка сервера
effortNoEffort рассуждений. По умолчанию — effort возможности или настройка сервера
messageYesУточнение или следующий вопрос в той же беседе
timeoutNoРекомендованный бюджет времени в секундах. Агент получает его в инструкциях, обрывает вызов только жёсткий предел сервера
session_idYesID беседы из ответа любого инструмента codex-mcp

Output Schema

NameRequiredDescriptionDefault
errorYes
modelYes
stepsYes
statusYes
contentYes
capabilityYes
session_idYes
duration_secondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=true; the description adds real context beyond that: the conversation keeps the original working directory, is read-only, and retention is governed by a server setting. It does not say what happens if the session has expired or is unknown, which is the main missing behavior.

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?

Three compact sentences, front-loaded with the action and the key id source. The session_id sentence partially repeats the schema, a minor redundancy, but nothing else is wasted.

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?

Output schema exists and annotations plus full parameter coverage mean the description only needs to add conversational behavior, which it does (working directory, read-only, retention). Only the expired/unknown-session case is left unaddressed for a tool with this lifecycle.

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 parameters are already documented in structured form; the description only restates session_id's origin and says nothing extra about model, effort, or timeout. Baseline 3 applies since the schema carries the parameter semantics.

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 and resource: continues a conversation from any codex-mcp tool keyed by session_id. It implicitly differentiates follow-up (continue) from starting a new session, but never names a sibling it is not, so it stops short of full sibling differentiation.

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?

Gives clear usage contexts — clarification, next question, verifying output — which tell the agent when a continuation is appropriate. It does not explicitly say when not to use it (e.g. to start a new task, use codex_agent), so there is a residual inference gap.

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