Skip to main content
Glama
codex-mcp-tool

codex-mcp-tool

brainstorm

Generate creative ideas with structured frameworks, domain context, and feasibility analysis to solve challenges and evaluate options.

Instructions

Generate creative ideas using structured frameworks with domain context and feasibility analysis.

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": {
      "prompt": "<prompt>"
    },
    "name": "brainstorm"
  }
}

Input Schema

NameRequiredDescriptionDefault
cdNoWorking directory
ossNoUse local Ollama server
yoloNo⚠️ Bypass all safety (dangerous)
modelNoOptional model override. Known: gpt-6.1-sol, gpt-6-astra, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna. If omitted, uses your Codex CLI default (~/.codex/config.toml).
domainNoDomain: software, business, creative, research, product, marketing, etc.
promptYesBrainstorming challenge or question
searchNoEnable live web search using the native --search flag
fullAutoNoCompatibility alias for workspace-write with approval=never
ideaCountNoNumber of ideas (default: 12, range: 5-30)
constraintsNoLimitations: budget, time, technical, legal, etc.
methodologyNoFramework: divergent, convergent, scamper, design-thinking, lateral, auto (default)auto
personalityNoCommunication style: pragmatic (concise, machine-friendly), friendly (conversational) or none (no personality instructions)
sandboxModeNoAccess: read-only, workspace-write, danger-full-access
localProviderNoSpecify which local provider to use (lmstudio or ollama). Automatically enables --oss if not set.
approvalPolicyNoApproval policy (-a): never, on-request. Note: non-interactive `codex exec` runs report `approval: never` even with on-request, since nobody can answer a prompt.
enableFeaturesNoEnable feature flags
disableFeaturesNoDisable feature flags
existingContextNoBackground info or previous attempts
includeAnalysisNoInclude feasibility/impact analysis
reasoningEffortNoReasoning depth. Default: high (creative ideation benefits from depth). Override with "xhigh" for very complex domains, "medium" for quick exploration.high

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changedv2.7.0
    • changedInput schema / properties / approvalPolicy / description
      Previous value: -"Approval: never, on-request, untrusted"New value: +"Approval policy (-a): never, on-request. Note: non-interactive `codex exec` runs report `approval: never` even with on-request, since nobody can answer a prompt."
    • changedInput schema / properties / approvalPolicy / enum
      Previous value: -[
      -  "never",
      -  "on-request",
      -  "untrusted"
      -]New value: +[
      +  "never",
      +  "on-request"
      +]
    • changedInput schema / properties / model / description
      Previous value: -"Optional model override. Known: gpt-5.6, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna, gpt-5.5, gpt-5.4, gpt-5.4-mini. If omitted, uses your Codex CLI default (~/.codex/config.toml)."New value: +"Optional model override. Known: gpt-6.1-sol, gpt-6-astra, gpt-6.1-terra, gpt-6-sol, gpt-6-luna, gpt-5.6-sol, gpt-5.6-terra, gpt-5.6-luna. If omitted, uses your Codex CLI default (~/.codex/config.toml)."
    • changedInput schema / properties / personality / description
      Previous value: -"Communication style: pragmatic (concise, machine-friendly) or friendly (conversational). Codex CLI v0.94.0+"New value: +"Communication style: pragmatic (concise, machine-friendly), friendly (conversational) or none (no personality instructions)"
    • changedInput schema / properties / personality / enum
      Previous value: -[
      -  "pragmatic",
      -  "friendly"
      -]New value: +[
      +  "pragmatic",
      +  "friendly",
      +  "none"
      +]
  2. First observedv2.4.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations only say readOnlyHint=false and openWorldHint=true; the description adds no behavioral context. It never mentions that the tool drives a Codex CLI run with subprocess execution, web search, sandbox modes, approval policies, or the destructive yolo flag — all of which materially affect how the call behaves and what risks it carries.

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?

A single front-loaded sentence with no filler or redundancy. It is efficiently structured, though that brevity is part of why behavior and usage guidance are missing.

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?

For a tool with 20 parameters, execution-control knobs (sandboxMode, approvalPolicy, yolo, fullAuto), no output schema, and openWorld behavior, one sentence is far from complete. An agent cannot learn from the description how the call executes, what it returns, or what the safety-relevant flags imply.

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 100%, so the schema already explains all 20 parameters including enums and defaults. The description contributes nothing parameter-specific (no mention of methodology choices, ideaCount, domain, or reasoningEffort), so the baseline 3 applies.

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+object ('Generate creative ideas') and adds the mechanism ('structured frameworks') plus enrichment ('domain context and feasibility analysis'). It is clearly distinguishable from siblings like ask-codex, do-act, or image-gen, but it never explicitly contrasts itself with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no guidance on when to choose brainstorming over ask-codex or do-act, no prerequisites, and no exclusions. The agent must infer usage purely from the tool name and the word 'brainstorming challenge or question' in the schema.

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