Skip to main content
Glama

vision_analyze

Analyze an image via a chosen cloud vision model. Supply provider ID, image URL/base64/path, and a prompt to receive structured results such as summaries, OCR text, and detected objects.

Instructions

使用用户明确指定的云端视觉模型分析一张图片。必须提供 provider_id,且必须且只能提供 image_url、image_base64、image_path 之一。不要在参数中传递 API Key。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo分析模式:general 通用 / ocr 文字 / document 文档 / screenshot 截图general
promptYes用户希望对图片执行的分析任务
image_urlNo可由服务端访问的公网 HTTP/HTTPS 图片 URL
image_pathNoMCP Server 所在机器上、位于允许目录内的本地图片绝对路径
provider_idYesvision_list_models 返回的视觉模型 ID
image_base64No纯 Base64 图片,或 data:image/...;base64,...
image_mime_typeNoBase64 图片的 MIME 类型,例如 image/png
include_raw_responseNo是否返回视觉供应商原始文本,仅调试时使用
Behavior3/5

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

No annotations are provided, so the description carries the transparency burden. It discloses important parameter constraints and a security guideline (no API key), but it does not explain what the tool returns, whether it is read-only, or any authentication requirements. This leaves some behavioral aspects ambiguous.

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 two sentences long, front-loaded with the primary action, and every word adds value. There is no redundancy or filler; it is a model of concise, structured writing.

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's complexity (8 parameters, 2 required, no output schema), the description covers critical constraints that are not evident from the schema alone. However, it does not mention return values or the available mode parameter, which would improve completeness. Yet, the schema covers those details, so the description is sufficient for basic use.

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?

The schema provides 100% coverage of parameter descriptions, giving a baseline of 3. The description adds value beyond the schema by stating that exactly one of image_url, image_base64, or image_path must be provided, which is not enforced in the schema. It also reinforces the security note about not passing an API key.

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's function: analyzing an image using a user-specified cloud vision model. It uses a specific verb (analyze) and resource (image with vision model), and it distinguishes itself from sibling tools like vision_list_models, vision_get_setup_guide, and vision_test_connection by focusing on the analysis action itself.

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 gives explicit usage constraints: must provide provider_id, exactly one of image_url/image_base64/image_path, and do not pass API keys. While it does not explicitly name alternative tools for when not to use this one, the constraints and the tool's dedicated role make the usage context clear.

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/wotonger/vision-router-mcp'

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