Skip to main content
Glama

review_change

Destructive

Run a coding agent to edit files, capture the git diff, and have a reviewer judge the change, returning a PASS/WARN/FAIL verdict.

Instructions

Run the runner agent in cwd (which edits files), capture the concrete git diff of the change, then have the reviewer agent judge it and return a PASS/WARN/FAIL verdict along with the runner output, the diff, and the review. Requires a git worktree. Newly-created (untracked) files are reviewed by their contents too (bounded per file), not just by name. The diff may include pre-existing changes if the worktree was already dirty.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cwdYesGit working tree the runner operates in (REQUIRED)
modelNoFallback model for BOTH agents. Only useful when runner and reviewer are the same agent — model namespaces do not overlap, so one value cannot be valid for two different CLIs. For the cross-agent setup this tool recommends, use `runnerModel` / `reviewerModel`. Must match [A-Za-z0-9][A-Za-z0-9._:/-]{0,127}.
promptYesTask or question to send to the runner agent
runnerYesAdapter name of the agent that edits files
reviewerYesAdapter name of the agent that judges the change
timeoutMsNoPer-agent timeout in ms
runnerModelNoModel for the RUNNER agent, overriding `model`. Use this (not `model`) when runner and reviewer are different agents.
reviewerModelNoModel for the REVIEWER agent, overriding `model`. Lets you review with a different engine/tier than the one that wrote the change.
Behavior5/5

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

The description goes well beyond the annotations by detailing the exact sequence of operations (runner edits → diff captured → reviewer judges → verdict returned). It also discloses specific edge-case behaviors: untracked files are reviewed by contents (bounded per file) and the diff may include pre-existing dirty changes. This adds substantial value beyond the readOnlyHint/destructiveHint flags.

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 compact and well-structured: three sentences that explain the core workflow, a prerequisite, and two important edge-case caveats. It is front-loaded with the primary action and avoids redundancy, earning its place with no fluff.

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

Completeness4/5

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

Given the tool's complexity (multi-agent, 8 params, no output schema), the description covers the key aspects: operational flow, return contents (verdict, runner output, diff, review), and environmental requirements. However, it could more explicitly state that this is a persistent-mutation operation and when to avoid it, though annotations handle the safety flag partially.

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?

All 8 parameters have descriptions in the schema, so the baseline is 3. The tool description reinforces the role of `runner` and `reviewer` (one edits, one judges) but does not add meaning beyond what the schema already states. No additional parameter context is provided beyond the schema.

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 specifies the tool's purpose: run the `runner` agent to edit files, capture the `git diff`, then have the `reviewer` agent judge it and return a verdict with outputs. This distinguishes it from sibling tools like `codex` or `run_all` by describing its unique multi-step review workflow.

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

Usage Guidelines4/5

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

The description provides clear context for when to use the tool—when you need an agent to make a change and have another agent review it. It also gives a necessary prerequisite ('Requires a git worktree') and warns about pre-existing changes in a dirty worktree, but it does not explicitly name alternatives or spell out when not to use the tool.

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/blackaxgit/agent-mcp-hub'

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