Skip to main content
Glama
aresyn

Codex Control Plane MCP

codex_get_diagnostic_logs

Read redacted MCP diagnostic logs and app-server audit entries, filtered by thread, turn, or workflow IDs, for effective troubleshooting.

Instructions

Read redacted MCP diagnostic log lines and MCP-owned app-server event audit entries with thread/turn/workflow filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sourceNoall
workflow_idNo
thread_idNo
turn_idNo
process_generationNo
since_minutesNo
severityNo
limitNo
max_line_charsNo
include_payloadNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
errorNo
agentGuidanceNo
agentGuidanceTextNo
recoveryAttemptStateNo
Behavior2/5

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

With no annotations, the description must fully disclose behavior. It states 'Read' implying it is read-only, but omits important details like whether data is redacted, if there are rate limits, or if authentication is required. No side effects or safety information are provided beyond the verb.

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?

The description is a single sentence that is concise and front-loaded with the core action. However, it lacks structure (e.g., bullet points or parameter list) that would improve scannability given the tool's complexity.

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?

Despite having an output schema (not shown), the description for a tool with 10 parameters and 0% schema descriptions is severely incomplete. It does not explain return values, pagination, or how filters interact. The agent would need to infer too much.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters1/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, and the description only mentions 'thread/turn/workflow filters' without explaining the 10 parameters such as 'source', 'severity', or 'limit'. The agent receives no help in understanding what each parameter controls.

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

Purpose5/5

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

The description uses a specific verb ('Read') and clearly identifies the resource ('redacted MCP diagnostic log lines and MCP-owned app-server event audit entries') along with filters. This distinguishes it from sibling tools like 'codex_collect_diagnostics' which likely gathers or exports data.

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?

The description implies usage for reading logs with filters, but does not explicitly state when to use this tool versus alternatives (e.g., 'codex_get_operation_status'), nor does it mention when not to use it or any prerequisites.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/aresyn/codex-control-plane-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server