Skip to main content
Glama

Set clip speed

set_clip_speed
Idempotent

Changes a clip's playback speed using a multiplier (1 = 100%, 2 = 200%, 0.5 = 50%), optionally reversing direction and applying the same speed to linked audio.

Instructions

Change a clip's playback speed (Speed/Duration). speed is a multiplier: 1 = 100 %, 2 = 200 %, 0.5 = 50 %. A faster clip gets shorter in proportion (2 halves it) and leaves a gap after it; nothing is rippled. A slower clip keeps its timeline duration, so it shows only the first part of its source: lengthen it afterwards with trim_clip_end to reveal the rest. Reliable only on clips that show their whole source: on a trimmed or razored clip Premiere often applies a different speed, so the tool undoes the change and fails with UNSUPPORTED. Stills, adjustment layers and graphics have no speed (UNSUPPORTED). Linked clips get the same speed unless include_linked is false; any Premiere refuses are listed in linked_not_changed. Use reverse_clip to only flip the direction. Leaves the sequence active. Returns the clip re-read after the change (speed, reversed, new duration), previous, and linked_changed.

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": {
      "speed": "<speed>"
    },
    "name": "set_clip_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
speedYesSpeed multiplier: 1 = normal, 2 = twice as fast, 0.5 = half speed. Range 0.01 to 100.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
reverseNotrue = play backwards, false = forwards. Omit to keep the clip's current direction.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.
include_linkedNoAlso change the clips linked to it (e.g. the audio of a video clip). Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare the generic mutation profile (readOnly=false, idempotent, non-destructive). The description adds the timeline consequences that annotations cannot convey: a faster clip shortens and leaves a gap with no ripple, a slower clip truncates to the source head, failed Premiere operations are rolled back, unsupported media types fail, and the active sequence is left active. It also describes the return payload shape.

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 the core semantics (multiplier and duration effect) before failure modes and linked-clip behavior. Dense but nearly every sentence carries a distinct operational fact; the reverse_clip aside could arguably be folded into the guidance earlier, but nothing is redundant 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?

With 9 parameters, 100% schema coverage, and no output schema, the description still supplies failure modes, rollback behavior, return value composition, active-sequence state, and linked-clip semantics. An agent has everything needed to call and interpret the result.

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 the baseline is 3. The description goes beyond the schema by explaining the proportional duration effect of the speed multiplier and the linked-clip behavior of include_linked (including the linked_not_changed reporting), though it does not discuss clip_id vs clip_index selection tradeoffs that the schema itself covers.

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 names a specific verb and object (change a clip's playback speed) and immediately pins down the meaning of the key input with concrete multipliers (1 = 100%, 2 = 200%, 0.5 = 50%). It also distinguishes itself from siblings reverse_clip and trim_clip_end by naming what those tools do instead.

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?

Explicit routing is given: use reverse_clip to only flip direction, use trim_clip_end afterward to reveal the rest of a slowed clip, and the include_linked parameter governs linked audio. It also states the condition where the tool is unreliable (trimmed or razored clips) and what the outcome is (UNSUPPORTED).

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