Skip to main content
Glama

analyze_video

Analyze public video URLs with GLM-4.6V-Flash to summarize content or answer custom prompts.

Instructions

用 GLM-4.6V-Flash 分析视频(建议用公网可访问的 URL,如 mp4)。

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_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptNo可选:自定义提问,默认总结视频内容
sourceYes视频 URL

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden, and it discloses only that a public URL is preferred and which model runs the analysis. It says nothing about what is returned, cost/latency, video length or size limits, or whether private URLs will fail outright versus just being discouraged.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single compact sentence with the purpose front-loaded and the input recommendation bracketed afterward. Nothing is wasted, though the extreme brevity leaves no room for useful operational detail.

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?

The tool is simple (2 params, flat schema, no annotations, no output schema), so the definition is close to sufficient for correct invocation. The main gap is that nothing describes the returned analysis (default video summary vs. prompt-driven answer), which the agent must infer from the schema's `prompt` description.

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 coverage is 100%, so both `source` and `prompt` are already documented in the schema. The description adds a meaningful hint about the URL needing to be publicly reachable and mp4 being a valid example, but never mentions the optional `prompt` parameter or how customization works.

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 pairs a specific verb (分析/analyze) with a specific resource (视频/video) and even names the underlying model, GLM-4.6V-Flash. It clearly separates this tool from analyze_image/ocr_image by resource type, though it does not explicitly reference any sibling by name.

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?

The only guidance is a parenthetical recommending a publicly accessible URL such as an mp4, which implicitly rules out local/private paths. There is no explicit when-to-use versus analyze_file or analyze_image, and no stated exclusions or size/duration limits.

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