Skip to main content
Glama

analyze_image

Analyze a single local or remote image with a vision model to generate detailed descriptions or answer custom prompts.

Instructions

用 GLM-4.6V-Flash(免费视觉模型)分析单张图片。source 可以是本地路径或 http(s) 图片 URL。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "source": "<source>"
    },
    "name": "analyze_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNo可选:自定义提问,默认详细描述图片
sourceYes本地图片路径,或 http(s) 图片链接
thinkingNo可选:是否开启深度思考(默认 false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It usefully reveals the model identity and that it is free, which matters for cost decisions, but says nothing about supported formats, size limits, latency, or that the result is a text description — gaps that matter for an image-analysis tool.

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?

Two short sentences with no filler, front-loading what the tool does and then the accepted input forms. Every clause carries information.

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 single-input analysis tool with fully described parameters and no output schema, the definition covers purpose, model, and accepted source forms. It could still mention the shape of the returned result and the default behavior when prompt is omitted, but the essentials are present.

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%, so all three parameters (prompt, source, thinking) are already documented in the schema. The description's note that source can be a local path or http(s) URL restates what the schema already says, adding no meaning beyond it.

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 gives a specific verb plus resource ('分析单张图片') and names the underlying model (GLM-4.6V-Flash), and the qualifier '单张' implicitly separates it from the batch sibling analyze_images. It does not explicitly contrast itself with ocr_image or analyze_file, so the differentiation is only partial.

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

Usage Guidelines3/5

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

Usage is only implied: '单张图片' signals the single-image case versus a batch tool, and calling out the model as free hints at a cost-driven preference. There is no explicit statement of when to prefer this over ocr_image or analyze_file, and no exclusions or prerequisites.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.