Skip to main content
Glama

analyze_image

Analyze images using multimodal AI to extract text, objects, scenes, and charts from local files, Base64, or URLs.

Instructions

使用多模态模型分析图片内容。支持本地文件路径、Base64 编码、或图片 URL。可用于识别图中文字、物体、场景、图表等。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNo可选:覆盖默认模型(如 qwen-vl-plus 做快速 OCR,qwen-vl-max 做复杂分析)。留空用 OPENAI_MODEL。
detailNo图片解析精度(仅 OpenAI 官方端点生效)。auto=自动, low=低精度(更快), high=高精度。默认 auto。auto
promptNo对图片的分析指令,例如:'请描述这张图片的内容'、'提取图中的文字'、'这张图表说明了什么'。留空则默认描述。
image_urlNo图片的公网 URL 地址。与 image_path、image_base64 三选一。
image_pathNo本地图片文件的绝对路径(仅接受 PNG/JPEG/GIF/WebP/BMP)。与 image_base64、image_url 三选一。
image_base64No图片的 Base64 编码字符串(不含 data: 前缀)。与 image_path、image_url 三选一。
Behavior3/5

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

无注解,描述补充了输入格式和分析类型,但未说明返回的具体内容、模型选择(如 qwen-vl-plus vs qwen-vl-max)对结果的影响,也未提及三个图片来源必须互斥这一行为。描述对行为透明度的贡献一般。

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?

描述仅两句话,第一句直接点明核心功能,第二句补充输入格式与用途,没有冗余信息,结构紧凑且前置信息充分。

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

工具结构简单,参数 schema 覆盖完整,但描述未提及必须提供一种图片来源、未说明返回值或输出形式,且无注解补充,对于无输出 schema 的工具略显不完整。

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 描述覆盖率 100%,每个参数都有详细说明,描述本身没有额外解读参数,也没有需要补偿的缺口,故按基线 3 分评分。

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?

描述明确说明使用多模态模型分析图片内容,动作和对象具体,并列出支持的文件路径、Base64、URL 三种输入方式及应用场景。尽管没有兄弟工具需要区分,但功能定位已经足够清晰。

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?

描述清晰说明了适用于分析图片内容、识别文字/物体/场景/图表等场景,并列举了输入格式,提供了使用上下文。虽然没有明确排除场景或给出替代工具,但无兄弟工具时已算清晰。

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/yunper-wang/mcp-image-analyzer'

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