Skip to main content
Glama

codex_message_thread

Sends the owner's typed message to a specified Codex thread and returns Codex's answer, queuing it so an open ChatGPT app runs it within about 10 seconds.

Instructions

Send the owner's words to one of their Codex threads and return Codex's answer. A thread the ChatGPT app has open gets the message in its queue, and the app runs it within about 10 s. Pass only words the owner typed.

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": {
      "thread": "<thread>",
      "text": "<text>"
    },
    "name": "codex_message_thread"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
threadYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose useful behavior: the message is queued to a thread the ChatGPT app has open and executed in roughly 10 seconds. However, it never states what happens when no app has the thread open, whether the call blocks or fails, or what preconditions (ownership, thread existence) apply, which are significant gaps for a send-and-reply operation.

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?

Three short sentences, front-loaded with the action and its return, then the queueing/timing behavior, then the critical phrasing constraint. No filler and nothing buried.

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?

An output schema exists, so return-shape explanation is not required, and the description covers the round trip, latency expectation, and wording constraint. The main omission is the conditional behavior when no app has the thread open, plus how to source the thread identifier.

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 0%, so the description has to compensate for two bare parameters. 'Pass only words the owner typed' adds real meaning to `text` (verbatim owner wording, no paraphrase or injected instructions), but `thread` is never explained — no hint that it identifies an existing Codex thread or where such an identifier comes from.

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 definition pairs a specific verb and resource, 'Send the owner's words to one of their Codex threads and return Codex's answer', so the action and its round-trip nature are unmistakable. It implicitly separates this from the read/start/list siblings, but it never names an alternative, so sibling differentiation is left to inference.

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 implied rather than stated: an agent can infer this is the tool for delivering a message into a thread, but there is no explicit when-to-use, when-not-to-use, or named fallback such as codex_read_thread. The one real constraint, 'Pass only words the owner typed', governs content fidelity rather than tool selection.

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