Skip to main content
Glama
bcdxc
by bcdxc

understand_image

Identify and extract information from images using vision models. Returns text descriptions for coding tools without vision support.

Instructions

调用视觉模型理解图片,将识别结果以文本返回。

当用户要求识别、分析、OCR、描述、比较图片或截图时,必须调用此工具。 这是唯一可以"看到"图片的工具,不要用 Read/cat 等文本工具打开图片文件。

Args: prompt: 图片理解任务描述,如"提取图中文字"、"分析截图中的报错信息"。 image_path: 单张本地图片路径。 image_url: 单张网络图片 URL 或 data:image base64 格式。 image_paths: 多张本地图片路径列表。 image_urls: 多张网络图片 URL 列表。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYes
image_urlNo
image_pathNo
image_urlsNo
image_pathsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

No annotations are provided, so the description carries full burden. It states that the tool returns text from a visual model, but does not disclose potential limitations (e.g., model accuracy, supported image formats, size limits) or behavioral traits like error handling. The warning against text tools adds some transparency, but overall it's minimal beyond the core function.

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 with no wasted words. It front-loads the purpose and usage guidance in a few sentences, then lists parameters in a structured Args block. Every sentence adds value, and the structure is easy to scan.

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 has an output schema (not shown but indicated), the description does not need to detail return values. It covers the main purpose, usage, and all parameters. However, it lacks details on the visual model's capabilities (e.g., supported image formats, size limits, or failure modes). This is a minor gap but the description is still fairly complete for a tool with no siblings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The description has 0% schema description coverage, but the Args section in the description compensates fully. It explains each parameter: prompt with examples ('extract text in image', 'analyze error info in screenshot'), image_path as local path, image_url as URL or base64, and their plural counterparts. This adds meaningful semantics beyond the schema's types and defaults.

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 that the tool calls a visual model to understand images and returns text. It lists specific use cases (recognition, analysis, OCR, description, comparison) and explicitly distinguishes itself as the only tool that can 'see' images, contrasting with text-based tools like Read/cat.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use the tool ('when the user asks to recognize, analyze, OCR, describe, or compare images or screenshots') and when not to ('do not use Read/cat and other text tools to open image files'). It asserts that this is the only tool for such tasks, giving clear usage boundaries.

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/bcdxc/visual-understand-mcp'

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