Skip to main content
Glama

codex_review

Run strict read-only, two-stage reviews that check spec compliance first, then report P0 blockers and P1 suggestions with a specified Plus account, avoiding nitpicking.

Instructions

使用指定 Plus 账号以严格只读模式执行两阶段分级审查(先查 Spec 合规,再查 P0 阻断/P1 建议,防过度吹毛求疵)。默认 balanced 档 + high 推理,高危场景可升 flagship/xhigh。

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": {
      "account": "<account>",
      "working_dir": "<working_dir>"
    },
    "name": "codex_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
tierNo可选:模型分级,默认 balanced(gpt-6.2-sol);核心安全/科研推导可升 flagship。
focusNo可选:重点审查方向或 Spec 验收要点。
modelNo可选:显式指定审查模型。
accountYes必填:Plus 账号 ID 或自定义备注名。
working_dirYes必填:项目目录绝对路径。
timeout_secondsNo可选:超时秒数(默认 300)。
reasoning_effortNo可选:推理深度,默认 high;涉及资金/数据安全/权限登录/核心算法或公式证明时传 xhigh。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.3.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that the run is strictly read-only and follows a two-stage review sequence, and that escalation to flagship/xhigh exists — but it also repeats defaults (balanced, high) that the input schema already documents, and says nothing about what is produced, how long review runs behave, or failure handling beyond the schema's timeout.

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 dense sentence with the key mode and workflow front-loaded, followed by the default/escalation rule. No filler, though the final clause partially duplicates schema defaults.

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?

For a 7-parameter tool with no annotations and no output schema, the description should clarify the shape of the review result (findings format, blocking vs advisory output) since nothing else defines return values. It covers the process and safety posture but leaves the outcome and interaction with 'focus'/'account' under-specified.

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 the schema already explains every parameter, including tier, model, timeout_seconds, and reasoning_effort enums. The description adds little beyond restating the default tier and reasoning level, and does not explain how 'focus' interacts with the two-stage review or what 'account' selection implies.

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 names a specific verb and resource ('执行两阶段分级审查' – run a two-stage graded review) and specifies the mechanism (Spec compliance check first, then P0 blockers/P1 suggestions). It implicitly separates itself from codex_exec by being a read-only review, but never names a sibling or explicitly contrasts with one.

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?

It gives default operating conditions (balanced tier, high reasoning) and an escalation rule for high-risk scenarios (flagship/xhigh), which implies when to use which configuration. It does not say when to choose this tool over codex_exec, codex_resume, or deepseek_ask, nor does it state prerequisites for choosing a review over direct execution.

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