Skip to main content
Glama
leancoderkavy

Premiere Pro MCP Server

Detect Repeated Takes

detect_repeated_takes
Read-onlyIdempotent

Detect repeated sentence takes in a word-timed transcript, group similar retakes, and plan removal of all but the kept take without changing Premiere.

Instructions

Detect repeated sentence takes (retakes) in a word timeline using token similarity within a time window, and plan removal of all but the kept take. Returns take groups, removal and keep ranges, and apply routes. Local-only; never changes Premiere.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
keepNoWhich take in each group to keep; defaults to last.
min_wordsNoMinimum tokens a sentence needs before it is compared; defaults to 4.
frame_rateNoTimebase used to snap ranges to whole frames; defaults to 30.
max_groupsNoMaximum take groups to return; defaults to 64.
handle_framesNoFrames of handle left inside each removal so cuts are not tight; defaults to 1.
word_timelineYesCaller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp. Different labeled speakers may overlap; same-speaker words may not, even when another speaker is between them.
max_gap_secondsNoOnly sentences starting within this many seconds of an earlier candidate are compared; defaults to 20.
similarity_thresholdNoToken Jaccard/containment similarity needed to group two sentences; defaults to 0.8.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYesWhether the tool completed successfully.
dataNoTool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it.
toolYesThe registered MCP tool name.
errorNoFailure detail when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.18.6
    • changedOutput schema / properties / data / description
      Previous value: -"Tool-specific result data when ok is true."New value: +"Tool-specific result data when ok is true; on failure, diagnostic detail when the tool provides it."
  2. Changed1 schema field changedv1.16.0
    • changedInput schema / properties / word_timeline / description
      Previous value: -"Caller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp."New value: +"Caller-supplied word-timed transcript for one Premiere source item. Words must be ordered by start time and bound to the transcript revision returned by get_clip_transcript_uxp. Different labeled speakers may overlap; same-speaker words may not, even when another speaker is between them."
  3. Addedv1.14.9

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint=false, idempotentHint, and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful behavior beyond that: it is local-only and 'never changes Premiere', and it discloses the return shape (take groups, removal/keep ranges, apply routes) that implies a plan-then-apply workflow.

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?

Three tight sentences, front-loaded with the core action and mechanism, then output shape, then the safety caveat. No filler, though the return-values sentence is somewhat redundant given an output schema exists.

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?

For an 8-param tool with a nested word-timeline object, an output schema, and full annotation coverage, the description supplies enough to call correctly: what it detects, that it is a non-mutating planner, and that an apply route is produced. Missing only explicit sibling routing, which is a minor gap given the distinct 'retake' concept.

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 description coverage is 100% with 8 well-documented parameters including ranges and defaults, so the schema carries the semantics. The description only gestures at two concepts (token similarity, time window) that map to similarity_threshold and max_gap_seconds without adding syntax or defaults. Baseline 3 is appropriate.

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 (detect) and resource (repeated sentence takes/retakes) plus the mechanism (token similarity within a time window) and the planning action (removal of all but the kept take). This clearly distinguishes it from siblings like detect_silence and detect_beats without opening any schema.

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 description implies context ('in a word timeline', 'plan removal') and clarifies the tool is a dry-run planner ('Local-only; never changes Premiere'), which signals it feeds an apply step. However, it never names an alternative or states explicit when-not-to-use conditions against siblings such as plan_filler_word_removal or detect_silence.

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