Skip to main content
Glama

gemini_review

gemini_review

Get a read-only second review of code, diffs, or plans to catch interface contract breaks, error-path gaps, state bugs, and user-facing regressions.

Instructions

Second review by Gemini, strongest on interface contracts, error paths, state and user-facing regressions. Read-only.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
diffNoUnified diff, when the question is about a change.
tierNolight: fast, cheap model for small ordinary questions. standard: normal reviews. deep: flagship models, for security, money, concurrency, production or a hard bug. auto: decided from the size and subject of the packet. Pick the cheapest tier that can do the job.
modelNoPin a model for the first attempt. Usually leave unset and pick a tier.
pathsNoProject-relative files to include. Keep the list short.
checksNoSpecific checks, e.g. "does the retry loop stop on a 429".
effortNoCodex reasoning effort override. Usually leave unset.
noCacheNoSkip the result cache.
workdirYesAbsolute path of the project. The specialist reads nothing above it and writes nothing at all.
objectiveYesWhat you want decided or found, in one or two sentences. This is the whole task the specialist sees.
timeoutMsNoTime budget per attempt.
constraintsNoRules or context to respect: framework version, invariants, what is out of scope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. It discloses read-only status and its focus areas, and the schema adds that the workdir is read-only and nothing above it is read, but the description omits auth needs, cost/rate implications, and what the review returns. Adequate but thin for an annotation-free tool.

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?

Two short, front-loaded sentences with no filler; the purpose leads and the read-only trait is stated compactly. Terse, though it trades some completeness for brevity.

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 an 11-parameter review tool with no output schema and no annotations, the description covers the role and focus but leaves behavioral details (auth, cost, return format) to the schema or unstated. Reasonable but with clear gaps.

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 (tier, model, diff, paths, checks, objective, constraints, etc.) is already documented in the schema. The description adds nothing parameter-specific, 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?

States that this is a review by Gemini and names its strong areas (interface contracts, error paths, state, user-facing regressions), which gives a real sense of what it does. However, it never explicitly states the verb+resource ('reviews your code/diff') nor names the sibling it complements (codex_review, gemini_analyze), 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 Guidelines3/5

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

'Second review' implies it is used as a follow-up pass, and the listed strengths hint at when to prefer it, but there is no explicit when-to-use/when-not or named alternative such as codex_review or gemini_analyze. Usage is left to inference.

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