Skip to main content
Glama

Detect scene cuts in clips

detect_scene_edits

Detect original cut points in edited video clips and either add source clip markers or razor timeline clips at each detected cut.

Instructions

Run Premiere's Scene Edit Detection on video clips of a sequence to find the original cut points inside already-edited footage. operation "create_markers" (default) adds a clip marker on the source project item at each detected cut and leaves the timeline as it is; "apply_cuts" razors the clips at each detected cut. Pass clip_ids to choose the clips (the timeline selection is replaced by them and stays so); without clip_ids the selected video clips are analysed, and BAD_ARGS when none is selected. The call blocks until the analysis is done (roughly the footage duration on first analysis; timeout 15 min). Returns the clips analysed, the new cut times on the timeline in seconds (apply_cuts), the new markers with their source time in seconds (create_markers), and the video clip count before and after. Use detect_scene_changes_in_file to analyse a file on disk instead.

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": "detect_scene_edits"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_idsNoIds of the video clips to analyse (clip_id from get_sequence_structure). Omit to analyse the clips currently selected in the timeline.
operationNo"create_markers": add clip markers at the detected cuts. "apply_cuts": cut the clips there. Default "create_markers".
sensitivityNoDetection sensitivity. Default "medium".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
apply_cuts_to_linked_audioNoWith apply_cuts, also cut the audio linked to each clip. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the annotations: discloses that the call blocks roughly for the footage duration with a 15-minute timeout, that clip_ids permanently replaces the timeline selection, and what the return payload contains. Annotations already cover readOnly/destructive/idempotent hints, so the remaining gap is minor—nothing about failure modes beyond BAD_ARGS or partial results on timeout.

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?

Front-loaded with purpose, then operation semantics, then selection rules, blocking behavior, return shape, and the alternative tool—a logical progression. It is dense with nested parentheticals, which costs some readability, but no sentence is filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 6-parameter, zero-required, mutating tool with no output schema, the description supplies the return contents explicitly, blocking and timeout behavior, selection side effects, error condition, and a sibling alternative. An agent has everything needed to call it correctly.

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 baseline is 3, but the description adds real meaning beyond the schema: the side effect that clip_ids overwrites the persistent timeline selection and the BAD_ARGS error when neither is supplied. sensitivity, sequence_id and sequence_name are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Run Premiere's Scene Edit Detection on video clips of a sequence") plus the goal (finding original cut points in already-edited footage). It also explicitly names the sibling it is not (detect_scene_changes_in_file) for the on-disk case, so an agent can route without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use for both operations (create_markers vs apply_cuts), states the default, spells out the clip_ids vs timeline-selection fallback with the BAD_ARGS condition, and redirects file-based analysis to detect_scene_changes_in_file. Nothing about selection is left to inference.

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