Skip to main content
Glama

Add transition at a cut

add_transition_at_cut

Finds the nearest cut within tolerance on a Premiere Pro track and places a transition there, centered by default, with optional alignment, duration, and replacement.

Instructions

Find the cut (one clip ending exactly where the next starts) nearest to a time on a track, within tolerance, and put a transition there (centred by default). Fails with NOT_FOUND when no cut is within tolerance. Use list_cuts to see the cuts, add_video_transition / add_audio_transition for a clip edge without a neighbour. Returns {cut_time, skipped, transition, replaced}. Each transition is {track_type, track_index, transition_index, transition_id, name, match_name, start, end, duration, cut_time, alignment, edge, from_clip, to_clip}: times in seconds of sequence time; edge is "cut" (between two adjacent clips), "clip_start" or "clip_end" (single-sided); alignment is center / start_at_cut / end_at_cut / offset for cuts; from_clip / to_clip are {clip_id, name, clip_index, start, end} of the outgoing / incoming clip (null on the missing side).

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": {
      "track_type": "<track_type>",
      "track_index": "<track_index>",
      "time": "<time>"
    },
    "name": "add_transition_at_cut"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoExact transition name, case-insensitive, of the track's type. Default "Cross Dissolve" on a video track, "Constant Power" on an audio track.
timeYesSequence time near the cut, in seconds.
durationNoTransition duration in seconds, up to 60. Default 1. Snapped to whole frames.
alignmentNoWhere the transition sits on a cut: "center" (default; half before, half after the cut), "start_at_cut" (begins at the cut and plays over the incoming clip) or "end_at_cut" (ends at the cut and plays over the outgoing clip). At a clip edge with no adjacent clip the transition is single-sided and lies inside the clip whatever the alignment.
toleranceNoHow far from time the cut may be, in seconds. Default 1.
track_typeYesTrack type: "video" or "audio".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexYes0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.
replace_existingNoIf a transition already sits on that edge or cut: true (default) replaces it, false leaves it and reports the edge as skipped.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false, destructiveHint=false, idempotentHint=false; the description adds the failure mode (NOT_FOUND), the replacement/skip semantics behind replace_existing (reported as 'replaced' or 'skipped'), and where the transition is placed relative to the cut. It stops short of stating permission requirements or whether replacement is reversible, so 4 rather than 5.

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 action and the failure mode before the alternatives and the return contract, which is the right order. The long enumeration of transition fields is dense but earns its place given there is no output schema; a short lead-in separating 'returns' from the field list would make it easier to scan.

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 no output schema, the description takes on the return contract and does so completely, enumerating cut_time, skipped, transition, replaced plus the nested transition fields including time units, edge kinds, alignment values, and null handling for from_clip / to_clip. Combined with a fully documented 10-parameter schema, an agent has everything needed to invoke and interpret the call.

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 coverage is 100%, so parameter meaning is already carried by the schema; the description mainly restates it. The only added signal is the framing of alignment relative to a cut, and it mentions an 'offset' value not present in the alignment enum, which slightly muddies rather than clarifies.

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 ('find the cut ... put a transition there') along with the qualifying constraint (nearest to a time on a track, within tolerance). It also distinguishes itself from add_video_transition / add_audio_transition, which handle a clip edge without a neighbour, so an agent can route correctly without opening the 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?

Explicitly names when to use this tool versus the siblings: list_cuts to inspect available cuts, add_video_transition / add_audio_transition for a single-sided clip edge. It also documents the NOT_FOUND failure condition when no cut falls within tolerance, which tells the agent what a failed call means.

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