Skip to main content
Glama

ui_diff_check

Compare two UI screenshots and highlight visual or implementation differences. Optionally specify a focal point for targeted analysis.

Instructions

比较两张 UI 截图,标记视觉或实现上的差异。

Args: image1: 第一张截图(路径 / URL / base64 URI)。 image2: 第二张截图(路径 / URL / base64 URI)。 question: 可选,关注的具体差异点。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image1Yes
image2Yes
questionNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations provided, the description carries the full burden. It states the core comparison operation but does not disclose additional behavioral traits such as output format, limitations, or side effects. However, there is no misleading information and the operation is inherently non-destructive.

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 concise and well-structured: a one-sentence purpose followed by a clean Args list. Every part earns its place with no redundant information.

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?

Given the tool's simplicity, an output schema exists, and the description covers all parameters with format hints, the description is largely complete. Minor gaps remain in explicit usage guidance and behavioral details, but the core is sufficient for an agent to invoke the tool correctly.

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?

The schema provides no parameter descriptions (0% coverage), but the description compensates by explaining each parameter: image1 and image2 accept paths, URLs, or base64 URIs, and question is an optional focus. This adds clear meaning beyond the raw 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 clearly states the tool's function: compare two UI screenshots and mark visual or implementation differences. This specific verb+resource combination distinguishes it from sibling tools like image_analysis or extract_text_from_screenshot.

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?

Usage is implied by the purpose (use when you have two UI screenshots to compare), but the description does not explicitly state when to use it versus alternatives, nor does it mention any exclusions or conditions.

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

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