Skip to main content
Glama

Analyze a video

analyze_video

Use to understand a video before recreating or swapping it: shots with timestamps, key frames (you see them as images), and the spoken words. Pass media_id from import_media, or url. Costs only the transcript, ~2 credits a minute. Then explain the hook, structure, pacing and why it works.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "analyze_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoA link to import first, if there's no media_id yet.
media_idNo
max_framesNo
transcribeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false and openWorldHint=true, so the description earns credit by explaining that frames come back as images the agent can see and by disclosing the pricing model ('costs only the transcript, ~2 credits a minute'), which explains the non-read-only hint. It does not state whether a job is created or how long analysis takes.

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?

Two sentences, front-loaded with the use case and the output payload, then cost and the downstream instruction. Dense but every clause carries information; the cost sentence is slightly awkwardly bolted on but not wasteful.

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?

No output schema exists, so the description must describe returns and does: shots, timestamps, key frames, spoken words. Cost and input sourcing are covered, but the max_frames control over how many frames come back is left unexplained, which matters for a tool whose output is visual.

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 only 25%, and the description compensates only partially: it clarifies media_id's provenance from import_media and that url is the fallback 'if there's no media_id yet'. The transcribe toggle is only obliquely implied by the cost note, and max_frames (default 6, max 8) is never explained despite shaping the returned key frames.

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 concrete verb and resource, then enumerates the actual return payload: shot list with timestamps, key frames surfaced as images, and the transcript. This lets an agent distinguish it from reframe_video or swap_video_characters, which act on a video rather than describe it, though those siblings are not named.

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?

Gives a clear when-to-use trigger ('before recreating or swapping it') and the prerequisite chain ('Pass media_id from import_media, or url'), plus a follow-on instruction to explain hook, structure and pacing. It stops short of stating when to skip this tool in favor of an alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.