Skip to main content
Glama

describe_video

Converts a local video into a timestamped text timeline of on-screen scenes, captioning sampled frames and merging matching captions into readable segments.

Instructions

Turn a local video into a timestamped text timeline of what is on screen.

Picks frames, captions each, and merges neighbouring identical captions into
segments like "[00:04–00:10] a dog runs on the beach." Timestamps are the video's
real timestamps (correct for variable-frame-rate phone video).

Args:
    path: Absolute path to the video (mp4, mov, mkv, avi, webm, m4v).
    mode: "scenes" (default) captions a frame whenever the picture changes (cuts, new
        shots), plus one every 10 s on long static shots; segment boundaries land on
        the actual cuts and static stretches cost one caption. "interval" captions one
        frame every `every_seconds`.
    scene_threshold: scenes mode only. Change score (0-1) that counts as a new scene;
        lower = more sensitive (0.15 catches camera moves, 0.5 only hard cuts).
    every_seconds: interval mode only. Seconds between sampled frames.
    max_frames: Upper bound on frames captioned, to keep long videos fast.
    merge_threshold: Word overlap (0-1) needed to merge neighbouring captions; 1.0 = identical only.

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": {
      "path": "<path>"
    },
    "name": "describe_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoscenes
pathYes
max_framesNo
every_secondsNo
merge_thresholdNo
scene_thresholdNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.1

TDQS

A4/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does well on process and side effects — frame selection, caption merging, VFR-corrected timestamps, and the speed/coverage tradeoff of max_frames — but says nothing about runtime or cost, whether frames go to a remote model, what happens on an unsupported or corrupt file, or whether the call is read-only or safe to repeat.

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?

The first sentence front-loads the purpose and the segment example makes the output immediately concrete. The Args block is long but each entry adds distinct meaning rather than restating the schema, so the length is earned; only minor tightening is possible.

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?

An output schema exists, so the description need not explain return values, and it wisely spends its space on frame-selection behavior and parameter effects instead. For a six-parameter processing tool the coverage is strong, with the remaining gap being operational context — execution environment and failure behavior — rather than anything needed to call it correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must compensate entirely, and it does: every one of the six parameters is explained with defaults, accepted values, and behavioral consequences (e.g. 0.15 vs 0.5 on scene_threshold, 1.0 = identical only on merge_threshold, the 10-second fallback caption in scenes mode). This is meaning the schema does not supply.

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 and resource ('Turn a local video into a timestamped text timeline of what is on screen') and shows the shape of the output with a concrete segment example. It implicitly separates this from summarize_video (a timeline, not a summary) and caption_image (multi-frame over time), but never names a sibling explicitly, so it falls just short of a 5.

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 mode paragraphs give real decision guidance: 'scenes' is the default and is described as boundary-accurate and cheap on static stretches, while 'interval' is for fixed sampling. However, there is no guidance on when to choose this tool over summarize_video for the same file, nor any stated prerequisites or preconditions.

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

Deploy Server

Other Tools