Skip to main content
Glama

worker_review

Run a read-only code review on a target repository directory, using skeptical adversarial analysis by default or standard mode, to catch issues before merging.

Instructions

Run a read-only code review (default: skeptical adversarial review) on a directory using a worker CLI.

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": {
      "cwd": "<cwd>"
    },
    "name": "worker_review"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdYesTarget repository directory to review.
modeNoReview rigor: 'adversarial' (default) or 'standard'.
focusNoOptional specific concerns, files, or invariants to focus on.
modelNoOptional model override.
workerNoWorker driver name (default: 'codex').
extra_argsNoOptional pass-through CLI flags.
scope_hintNoWhat to inspect, e.g. 'uncommitted changes', 'diff against main', or commit SHA.
wait_secondsNoMax seconds to wait before deferring (default 35, max 55).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden, and it does disclose two real behaviors: the operation is read-only and the default mode is adversarial. However, it omits the significant deferral trait implied by wait_seconds (max 55s, then defer), what a deferred call returns, and whether a worker CLI must already be installed/authenticated.

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; the default-mode clarification is placed in parentheses where it belongs. It is efficient, though arguably too terse for an 8-parameter asynchronous tool.

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 an 8-parameter tool with no annotations, no output schema, and an asynchronous deferral model, the description says nothing about return values, job handles, or how to retrieve results via the sibling tools. The gap around deferral and follow-up is the most consequential omission for correct invocation.

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 every parameter is already documented in the schema and the baseline is 3. The description only adds that the target is a repo directory and that adversarial is the default, both of which the schema already states.

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 gives a specific verb and resource ("Run a read-only code review") plus the target ("on a directory"), and the parenthetical clarifies the default rigor. It implies a distinct role from siblings like worker_delegate or worker_inspect, but never names them, so differentiation is only implicit.

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 explicit when-to-use or when-not-to-use guidance, and no routing against the available alternatives (worker_delegate, worker_inspect, worker_followup). The agent must infer from the phrase "code review" alone whether this or a general delegation tool is appropriate.

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