Skip to main content
Glama
leancoderkavy

Premiere Pro MCP Server

Detect Repeated Takes

detect_repeated_takes
Read-onlyIdempotent

Detect duplicate sentence takes in a word timeline using token similarity, then plan removal of all but the kept take. Returns take groups and removal ranges for review without modifying 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.
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.
toolYesThe registered MCP tool name.
errorNoFailure detail when ok is false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.14.9

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description complements these by adding a concrete promise: 'never changes Premiere' and 'Local-only,' plus the planning-only nature and the return of apply routes. It does not discuss failure modes or input validation, but for a read-only analysis tool the safety profile is well covered by annotations plus the added local-only promise.

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 description is two sentences that front-load the main function and conclude with safety and output summaries. It is compact but includes the key disambiguation: it detects and plans, it does not apply. It could be slightly tighter, but every clause carries information and the structure is scannable.

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?

The tool has an output schema, so return values are already specified elsewhere. The description covers input domain, algorithm family, output categories, and safety. It does not mention prerequisites like get_clip_transcript_uxp, although that is referenced inside the word_timeline schema. Given the schema richness and output schema presence, the description is sufficiently complete for correct invocation.

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%, so the schema already documents all 8 parameters in detail, including defaults, bounds, and the word_timeline structure. The description adds the algorithmic framing ('token similarity within a time window') and the outputs, which helps an agent understand why parameters like similarity_threshold and max_gap_seconds matter. Since coverage is complete, 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?

The description uses a specific verb ('detect', 'plan removal') and names the exact resource ('repeated sentence takes (retakes) in a word timeline') plus the method ('token similarity within a time window'). It also clarifies what it returns (take groups, removal/keep ranges, apply routes), which distinguishes it from generic detection tools. Among siblings like plan_filler_word_removal or detect_silence, this clearly stands out as take/retake detection and removal planning.

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 description states the tool works on a 'word timeline' and is 'Local-only; never changes Premiere,' which gives clear context for when it is safe to use. It does not explicitly name alternative tools or exclusion conditions, but the word-timeline input requirement and read-only promise are enough to guide an agent away from direct Premiere mutation tools. A short 'use this before apply_edit_plan/preview_edit_plan' alternative note would have made it a 5.

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