Skip to main content
Glama

analyze_image

Analyze local screenshots and design references to identify layout, spacing, colors, and visual defects, delivering structured feedback for coding agents.

Instructions

用 MiMo-V2.5 视觉模型分析一张本地图片(UI 截图、网页截图、报错截图、设计参考图等),返回布局、排版、间距、配色与视觉问题等分析结果,供 Coding Agent 直接使用。

主动调用时机(用户提到以下任一情况时,应主动调用本工具,无需用户明确说"调用 MCP"):用户要求"看看/分析这张图";用户给出本地截图路径;涉及 UI/网页/报错截图;涉及设计参考图;要提取图片中的文字或内容;视觉验收;判断当前实现是否接近参考图。

参数:image_path 必填;prompt 可选,指定重点分析什么。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptNo可选:告诉视觉模型重点分析什么(如布局、配色、可读性等)。留空则使用默认视觉分析清单。
image_pathYes本地图片路径: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?

Since no annotations are provided, the description carries full responsibility for behavioral disclosure. It names the model (MiMo-V2.5), the scope of analysis, and states results are for direct use. However, it does not specify the output format or limitations, which keeps it from a 5.

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 front-loaded with its purpose and then organizes when-to-use cases in a clear paragraph. It is somewhat long but every section earns its place; the parameter summary is slightly redundant but not wasteful. Efficiency is good, though not as tight as a two-sentence high example.

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 simple 2-parameter tool with no output schema, the description is adequately complete: it explains what it does, when to use it, and the parameters are fully covered by the schema. The only notable gap is the lack of output format information, but overall it does not leave major ambiguities.

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%, with both image_path and prompt already having detailed descriptions in the schema. The description's parameter paragraph merely restates what the schema offers (image_path required, prompt optional) and adds no new semantic meaning, so it remains at the baseline for high schema coverage.

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 it uses the MiMo-V2.5 vision model to analyze a local image and returns layout, typography, spacing, color, and visual issue analysis. This gives a specific verb and resource, but does not explicitly distinguish it from sibling tools like compare_images or inspect_ui.

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 includes a dedicated '主动调用时机' (proactive invocation timing) section listing concrete triggers such as '用户要求看看/分析这张图' or when the user provides a screenshot path. This provides clear when-to-use guidance, but it does not mention alternatives or when not to use this tool, missing the full 5.

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