Skip to main content
Glama

Review Verdict

review_verdict
Read-only

Run the full review pipeline in one call to get a unified verdict with a derived confidence score, combining impact, context, and merge-gate analysis.

Instructions

Run the full review pipeline in one shot: change_impact plus review_context plus review_gate, returning a unified verdict with a derived confidence score. Use review_verdict when you want the complete picture of a change in a single call. Use review_context instead for diff metadata only (no verdict), or review_gate for the gate verdict alone.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
prNoOptional PR selector. When set, pass-pr runs against GitHub instead of local mode.
baseNoBase ref for local diff. Defaults to origin/main, then HEAD.
pathNoRepository path. Defaults to current working directory.
policyNoPolicy profile: standard (default), company, or high-risk.
receiptNoOptional convergence inputs hash, JSON object, or path to a JSON receipt artifact. Exact-subject v2 receipts require the full hash; legacy v1 display IDs remain accepted.
requestNoPlain-English change request for impact scoring.
impactTopNoNumber of impact files. Defaults to 8.
governanceNoGovernance: team (default) or solo.
minConvergenceNoOptional minimum convergence score (0–100) enforced by the merge gate.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, so the safety profile is covered. The description adds meaningful context by revealing that the tool composes three sub-tools and returns a unified verdict plus a confidence score. It does not go into depth about possible latency or failure modes when invoking the full pipeline, but that is not a major gap for a read-only aggregator.

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?

Three sentences with zero filler: the first states the composite action and output, the second gives the primary use case, and the third lists alternatives. The information is front-loaded and each sentence earns its place.

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?

For a composite tool with 9 parameters and no output schema, the description covers the essential decision of when to use it and what it returns. It could say more about the structure of the 'unified verdict' or the fact that the PR selector switches mode between GitHub and local, but the schema already documents those details, so the description is reasonably complete.

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 input schema already documents all 9 parameters in detail. The description does not add parameter-level semantics beyond mentioning the high-level pipeline, which meets the baseline for a fully documented 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 names a specific composite operation—'Run the full review pipeline in one shot: change_impact plus review_context plus review_gate'—and clearly states the unique output: a unified verdict with a derived confidence score. This differentiates it from its siblings, which each provide only part of the picture.

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

Usage Guidelines5/5

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

It explicitly states when to use this tool ('when you want the complete picture of a change in a single call') and names alternatives: review_context for diff metadata only and review_gate for the gate verdict alone. This gives the agent direct routing guidance.

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