Skip to main content
Glama

analyze_images

Analyze multiple local or URL images at once with GLM-4.6V-Flash to extract insights, compare content, or answer custom prompts; pass 2–6 image sources in order.

Instructions

用 GLM-4.6V-Flash 同时分析多张图片(按顺序传入,2~6 张为宜)。本地路径或 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": {
      "sources": "<sources>"
    },
    "name": "analyze_images"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNo可选:自定义提问
sourcesYes图片路径或 URL 列表

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?

With no annotations at all, the description carries the full disclosure burden, and it does add useful context: the backing model, the ordering requirement, the recommended batch size, and that both local paths and URLs are accepted. It says nothing about whether the result is one combined analysis or per-image outputs, nor about size limits, latency, or failure behavior for a bad path/URL.

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, front-loaded with what the tool does, immediately followed by the operational constraints. Nothing is wasted and no sentence is redundant.

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?

For a simple two-parameter read tool with no output schema and no annotations, most of what an agent needs is present. The main omission is the shape of the return value — a single fused answer versus per-image results materially changes how the agent should phrase the prompt and consume the output.

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?

Schema coverage is 100%, so both parameters are already documented, yet the description still adds real meaning: the list is order-sensitive and should hold roughly 2 to 6 entries. That constrains a free-form array in a way the schema alone does not.

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?

States a specific verb and resource ("同时分析多张图片") plus the underlying model, which implicitly separates it from the singular sibling analyze_image. It stops short of explicitly naming analyze_image or ocr_image as alternatives, so the differentiation is conveyed by the quantifier rather than by an explicit contrast.

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?

Gives one concrete usage constraint — pass images in order, and 2 to 6 images is the sensible range — which tells the agent the expected working context. It never says when to prefer this over analyze_image (one image) or ocr_image (text extraction), so the routing decision is left to be inferred from the quantity wording.

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