Skip to main content
Glama

compare_images

Directly compare 2-8 local images to identify differences, similarities, and layout, typography, spacing, color, component, and hierarchy changes, providing actionable insights for code modification.

Instructions

用 MiMo-V2.5 视觉模型一次性对比 2~8 张本地图片(当前页面 vs 目标设计、修改前 vs 修改后、多个设计方案),模型直接跨图比较(不是分别分析后拼接)。返回:每张图概括、相同点、差异、布局/Typography/Spacing/Color/Component/图片比例/视觉层级变化,以及对代码修改最有价值的信息。

主动调用时机:用户要求"对比设计图与当前实现"、"根据目标图修改项目"、视觉回归、多方案比较时。

参数:image_paths 按顺序传入(顺序有语义:通常第一张是当前实现,后面是目标/参考图);prompt 可选。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptNo可选:指定对比重点(如'重点对比导航栏与配色')。
image_pathsYes2~8 张本地图片路径,按顺序传入。顺序有语义:通常第一张是当前实现,其余为目标/参考图。本地图片路径:Windows 绝对路径(如 C:\screenshots\a.png)或相对项目根目录的路径(如 ./screenshots/a.png)。支持中文、空格、反斜杠。支持 JPEG/JPG/PNG/WebP/GIF/BMP,单张 Base64 不超过 50MB。
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses that the model compares images directly across images (not separately analyzing then stitching) and details the returned information, including visual hierarchy changes. It doesn't mention limitations or failure modes, but core behavior is well covered.

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 moderately sized but front-loaded with the main action, followed by return details, use cases, and parameters. Every sentence adds value, though it could be slightly more concise by merging repetitive parameter mentions.

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 multi-image comparison tool with no output schema, the description adequately covers purpose, timing, parameters, and return categories. It lacks explicit output formatting or failure details, but is sufficient for an agent to select and invoke the tool correctly.

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?

The schema covers 100% of parameters, including image_paths order semantics, path formats, and optional prompt. The description reiterates order semantics but adds no new information beyond the schema, so the baseline of 3 is appropriate.

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 compares 2-8 local images using a vision model, with a specific list of output categories (summary, differences, layout changes, etc.). It distinguishes itself from sibling tools like analyze_image and inspect_ui by emphasizing cross-image comparison rather than single-image analysis.

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?

The description provides explicit invocation timing under '主动调用时机', listing scenarios such as design-to-implementation comparison, visual regression, and multi-scheme evaluation. However, it does not explicitly name sibling tools as alternatives or state when not to use it, so it lacks full exclusion guidance.

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/Channel-Carl/mimo-vision'

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