Skip to main content
Glama
elvatis

elvatis-mcp

Official
by elvatis

codex_run

Send coding tasks to OpenAI Codex for code generation, file operations, and technical analysis using the local CLI with cached authentication.

Instructions

Send a task to OpenAI Codex via the local codex CLI. Specializes in coding tasks, file operations, and technical analysis. Uses cached OpenAI auth — no API key required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoOpenAI model to use, e.g. "o3", "gpt-5-codex". Omit to use the configured default (CODEX_MODEL env var or Codex default).
promptYesTask or question to send to the Codex AI agent. Works best for coding tasks, file operations, and technical analysis.
sandboxNo"full-auto": workspace-write sandbox, no approval prompts (default, recommended). "dangerous": bypass all approvals and sandbox — only use in isolated environments.full-auto
timeout_secondsNoMax seconds to wait. Codex tasks can take longer than Gemini — 120s default.
working_directoryNoWorking directory for the Codex process. Set this to the project root so Codex can read and write local files. Defaults to the user home directory.
Behavior2/5

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

No annotations are provided, so the description bears full burden. It discloses authentication and specialization but does not describe side effects, safety profile, or behavior such as file writing. The sandbox parameter in the schema provides some context, but the description itself is insufficient.

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?

The description is three sentences, each adding distinct information: action and target, specialization, and authentication note. No wasted words; front-loaded with purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers basic functionality and specialization but omits return format, error behavior, or additional context. Given no output schema and moderate complexity, it is adequate but not comprehensive.

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 baseline is 3. The description adds minimal value beyond the schema; it mentions specialization (relevant to prompt) and cached auth, but does not elaborate on parameters like model or timeout beyond what schema already provides.

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 clearly states the tool sends a task to OpenAI Codex via local CLI. It specifies specialization in coding tasks, file operations, and technical analysis, and mentions cached auth. This distinguishes it from sibling tools like claude_run and gemini_run.

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 use for coding tasks and technical analysis, and notes no API key required. However, it does not explicitly state when to use versus alternatives or provide exclusions. Context is present but lacks explicit guidelines.

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/elvatis/elvatis-mcp'

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