Skip to main content
Glama

set_speed

Change a Premiere clip’s playback speed and linked audio using a speed factor, with optional reverse, pitch preservation, and ripple control for later clip placement.

Instructions

Change clip speed (1 = normal, 2 = 200%, 0.5 = 50%) on the clip and its linked audio, optionally reversed. maintainPitch keeps voices natural. ripple=true moves later clips by the change in length; ripple=false keeps them in place (a sped-up clip leaves a gap, a slowed clip is trimmed to its old length).

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_speed"
  }
}

Input Schema

NameRequiredDescriptionDefault
idNoStable clip id from sequence_state (preferred; survives other edits)
clipNoClip index on that track (shifts after edits; prefer id)
kindNoTrack typevideo
speedYes
trackNoTrack index, 0 = V1/A1
rippleNo
reverseNo
sequenceNoSequence name or ID. Defaults to the active sequence.
maintainPitchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses that linked audio is affected, that ripple=true shifts later clips while ripple=false leaves gaps or trims, and that maintainPitch affects voice quality. Missing are reversibility/undo considerations and whether the operation requires the sequence to be active or unlocked.

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 action and speed scale, then progressively more conditional detail. Dense but every clause adds real information; the ripple parenthetical is long but justifies its length by disambiguating two non-obvious outcomes.

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 a 9-parameter mutation tool with no annotations and no output schema, the description covers the behaviorally significant parameters well. The remaining gaps (which parameters identify the target clip, sequence defaults) are documented in the schema itself, so nothing critical is missing.

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 56%, so the description must compensate, and it does for the ambiguous parameters: speed is given concrete scaling examples, ripple is explained with its two outcomes, maintainPitch and reverse are clarified. The id/clip/track/kind/sequence parameters are left entirely to the schema, which does document some of them.

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 ('Change clip speed') and scopes the effect precisely: it acts on the clip and its linked audio, optionally reversed. An agent can immediately tell this apart from generic property setters among the siblings.

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?

Usage is implied by the operation itself (changing playback speed), and the ripple explanation effectively says which mode to pick in which situation. However, there is no explicit guidance on when to use this versus alternatives such as set_time_interpolation or apply_effect, and no stated preconditions (clip must exist, track selection needed).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.