Skip to main content
Glama

UI Diff Check

ui_diff_check
Read-only

Compare expected and actual UI screenshots to identify visual differences and report implementation mismatches.

Instructions

Compare an expected/reference UI screenshot with an actual/current UI screenshot and report visual implementation differences.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesInstructions for the comparison and aspects to focus on.
image_detailNoOptional Codex Responses input_image detail. Defaults to CODEX_VISION_IMAGE_DETAIL or high.
actual_image_sourceYesLocal file path, remote URL, or data:image URL to the actual/current UI.
expected_image_sourceYesLocal file path, remote URL, or data:image URL to the expected/reference UI.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNo
errorNo
successYes
metadataNo
Behavior3/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds that the tool compares and reports differences, which is consistent. It does not disclose additional traits like authorization needs or output format, but the core behavior is clear.

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?

Single sentence with no wasted words. The verb 'compare' is front-loaded. Every part is informative.

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?

The description is minimal but covers the core function. With 4 parameters fully documented in schema and an output schema present (not needing return value explanation), it is adequate but could add more detail about how the comparison works or limitations.

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 parameters are already well-documented. The description does not add extra meaning beyond what the schema provides, meeting the baseline.

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?

The description clearly states the tool compares two UI screenshots and reports differences. It specifies the verb 'compare' and resources (expected/reference vs actual/current). However, it does not explicitly distinguish from sibling tools like diagnose_error_screenshot or analyze_image, but the purpose is specific enough.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives (e.g., analyze_image, diagnose_error_screenshot). The description implies usage for UI diff checking but lacks explicit when-to-use or when-not-to-use instructions.

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/darkamenosa/codex-vision-mcp'

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