Skip to main content
Glama

describe_image

Analyze local image files using AI vision to generate detailed descriptions. Customize prompts to extract specific information like text or chart structure.

Instructions

识别图片内容。传入本地图片的绝对路径,返回AI对图片内容的详细描述。

参数:

  • image_path: 图片的绝对路径,支持 PNG/JPG/JPEG/GIF/WEBP/BMP

  • prompt: 自定义提示词,可指定需要提取的信息类型(如"提取所有文字"、"描述图表结构"等)

  • max_tokens: 最大输出长度,默认4096

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
image_pathYes
promptNo
max_tokensNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description is the sole source of behavioral info. It explains the tool returns AI description but does not disclose potential issues like file access errors, rate limits, or whether the operation is read-only (though reasonable to infer). Basic but adequate.

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?

Very concise: one sentence for purpose followed by a clear parameter list. No redundant information, and every sentence is necessary.

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 image description tool with an output schema (not shown), the description covers the main behavior and parameters. It lacks error handling info but is reasonably complete for basic usage.

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?

Despite 0% schema coverage, the description adds value by explaining each parameter: image_path requires absolute path and supported formats, prompt allows custom instruction, max_tokens sets output length with default. This compensates for lack of schema descriptions.

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 recognizes image content and returns a detailed description. It specifies input as local absolute path. However, it does not explicitly differentiate from sibling tool 'describe_image_to_file', though the return mechanism (direct vs file) is implied.

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 vs alternatives like 'describe_image_to_file', nor any prerequisites or constraints such as file accessibility or supported formats beyond the path.

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/coffe-d/MCP-Vision-Server'

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