Skip to main content
Glama

reviewEdit

Analyze UI edit requests by comparing before and after screenshots to determine if visual changes meet user requirements, providing feedback for revisions when needed.

Instructions

Perform a visual review of a UI edit request. The 'before screenshot' is a screenshot of the page before the edit, and the 'after screenshot' is the screenshot of the page after the edit. You will recieve either a yes or no response, indicating whether the edit visually satisfies the edit request. If no, it will provide a detailed explanation of why the edit does not satisfy the request so you can continue to work on it.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
beforeScreenshotPathYesAbsolute path to the 'before' screenshot file (png)
afterScreenshotPathYesAbsolute path to the 'after' screenshot file (png)
editRequestYesA detailed description of the UI edit request made by the user. Do not describe the changes you made, but just summarize what the user asked you to change on the page.
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 burden. It discloses key behavioral traits: the tool returns a yes/no decision with detailed explanations for 'no' responses, which helps understand the output format. However, it does not cover aspects like error handling, performance characteristics (e.g., processing time), or any limitations (e.g., file size constraints), leaving gaps in transparency.

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?

The description is appropriately sized and front-loaded, starting with the core action and immediately detailing inputs and outputs. Each sentence adds necessary information without redundancy. Minor improvements could include bullet points for clarity, but it remains efficient and well-structured.

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?

Given the complexity (a review tool with visual inputs) and lack of annotations or output schema, the description is moderately complete. It explains the decision process and feedback mechanism, but it does not fully address potential edge cases (e.g., invalid file formats) or provide examples, which could aid an AI agent in handling diverse scenarios effectively.

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 description coverage is 100%, so the schema already documents all parameters thoroughly. The description adds value by explaining the semantic relationship between parameters (e.g., 'before screenshot' vs. 'after screenshot' and their role in the review process) and clarifying the 'editRequest' as a user-provided description, not a change summary. This enhances understanding beyond the schema's technical details.

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 states the tool's purpose with specific verbs ('perform a visual review') and resources ('UI edit request'), detailing the input components (before/after screenshots) and the decision outcome (yes/no response). It distinguishes itself by focusing on visual validation of UI changes, which is unambiguous even without sibling tools.

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?

The description implies usage for reviewing UI edit requests based on screenshots, but it does not provide explicit guidance on when to use this tool versus alternatives (e.g., other review methods or tools). With no sibling tools, this is less critical, but it lacks context on prerequisites or exclusions, leaving usage somewhat open-ended.

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/fefergrgrgrg/frontend-review-mcp'

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