Skip to main content
Glama

video_detect_scenes

Detect scene changes in a video using a configurable sensitivity threshold and minimum scene duration. Use the results to split or index footage by visual transitions.

Instructions

Detect scene changes in a video.

Args: input_path: Absolute path to the input video. threshold: Scene detection sensitivity (0.0-1.0, lower = more sensitive, default 0.3). min_scene_duration: Minimum scene duration in seconds (default 1.0).

Input Schema

NameRequiredDescriptionDefault
overwriteNoExplicitly allow replacing existing media. Existing non-media files are protected.
thresholdNo
input_pathYes
min_scene_durationNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.16.4
    • addedInput schema / properties / overwrite
      Added value: +{
      +  "default": false,
      +  "description": "Explicitly allow replacing existing media. Existing non-media files are protected.",
      +  "title": "Overwrite",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv1.16.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Addedv1.5.1

TDQS

B3.1/5.0
Behavior2/5

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

With zero annotations, the description must carry the full behavioral burden, and it does not. 'Detect' reads as analysis, yet the schema exposes an 'overwrite' parameter described as allowing replacement of existing media, implying this may write output files — the description never resolves whether this is a pure read or a write operation.

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 front-loaded purpose sentence followed by a compact Args list; every line carries information. The defaults restated in Args duplicate the schema, which is a small redundancy but the sensitivity direction is genuinely new information.

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?

An output schema exists, so return values need not be described. However, for a tool with 25% schema coverage and no annotations, the description leaves the agent unsure whether files are produced and how this differs from video_ai_scene_detect — gaps that materially affect correct invocation.

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 only 25% (only 'overwrite' is documented in-schema), so the description must compensate — and it does for three of four parameters: absolute path for input_path, sensitivity direction and range (0.0-1.0, lower = more sensitive), and seconds for min_scene_duration. Only the interaction between threshold and min_scene_duration is left unexplained.

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 first line gives a specific verb plus resource: detect scene changes in a video. It is unambiguous on its own, but it never distinguishes itself from the sibling video_ai_scene_detect, which an agent would have to disambiguate by schema inspection.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no mention of when the sibling video_ai_scene_detect should be chosen instead. The Args block explains parameter meanings but never addresses tool selection.

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