Skip to main content
Glama

UI Verify

Accept, deny, or ignore one story's change

review_diff

Record a review on a single diff result (get diffResultId from get_build/get_diff). 'accept' makes the candidate the new baseline for that story on its branch, so the next build is clean; 'deny' records the rejection without changing the baseline; 'ignore' excludes the story from the gate persistently (the snapshot keeps differing on future builds but no longer flags the check) — use it for an intentional, ongoing diff like an animation or a live timestamp. This is the same accept/deny/ignore as the dashboard, attributed to your project key. Use after you've inspected the diff (e.g. with render_diff_image) and decided intended vs. regression.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
decisionYes'accept' advances the baseline; 'deny' records a rejection; 'ignore' excludes the story from the gate.
diffResultIdYesThe diff result id from get_build or get_diff.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
decisionYes
diffResultIdYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

The description fully discloses the persistent side effects of each decision: accept changes the baseline so the next build is clean, deny records rejection without changing baseline, ignore permanently excludes the story from the gate while the snapshot keeps differing. It also notes attribution to the project key, which is useful context beyond the annotations.

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 information-dense but not bloated; it front-loads the core purpose and then expands each decision. Every sentence adds either behavioral clarity or workflow guidance, and the length is justified by the need to distinguish three decision outcomes.

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

Completeness5/5

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

For a two-parameter write operation with a fully documented schema and an output schema present, the description covers the workflow, side effects, parameter sourcing, and decision criteria. No critical operational detail is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters already have descriptions. The description adds value by explaining the real-world consequences of each decision value and reinforcing that diffResultId comes from get_build/get_diff, but it does not introduce semantics the schema entirely lacks.

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 opens with a specific verb and resource ('Record a review on a single diff result') and then defines each decision outcome ('accept' makes the candidate the new baseline, 'deny' records rejection, 'ignore' persists gate exclusion). The title and 'single diff result' wording distinguish it from build-level siblings like accept_build.

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?

It explicitly says when to use the tool: 'Use after you've inspected the diff (e.g. with render_diff_image) and decided intended vs. regression.' It also gives a concrete use case for 'ignore' (intentional ongoing diffs like animation or live timestamp). It does not explicitly contrast with a sibling alternative like accept_build, so no exclusions are stated.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.7/5.0
Disambiguation4/5

Most tools target distinct resources and actions, and the descriptions carefully separate build triage from PR changesets. However, get_diff and render_diff_image both provide diff imagery (URLs vs inline), and accept_build overlaps with review_diff's accept mode, so one or two selections could be mis-picked without reading closely.

Naming Consistency5/5

All nine tools use a consistent snake_case verb_noun pattern: list_* for paginated listings, get_* for detail/triage, render_* for image output, and review_diff/accept_build for review actions. The naming convention is predictable and easy to reason about.

Tool Count5/5

Nine tools is well within the ideal scope for a visual-regression review server. Each tool maps to a distinct workflow step—finding builds, triaging results, paging stories, fetching images, and recording reviews—without redundant or bloated additions.

Completeness5/5

The tool surface covers the full UI-verification loop: discover builds, inspect gate verdicts, page through changed/failed/unchanged stories, fetch diff details and inline images, review individually or bulk-accept, and inspect PR-level visual changesets. No essential operation for the stated domain is missing.