Skip to main content
Glama

Add transitions to every cut

add_transitions_to_all_cuts

Adds the same transition to every cut on a track or track type, keeping existing transitions unless replacement is enabled, and can also crossfade linked audio at each video cut.

Instructions

Put the same transition on every cut of one track, or of every track of a type (default: all video tracks). With include_audio, also adds an audio crossfade on the linked audio tracks where they are cut at the same time. Unlike the single-cut tools, existing transitions are kept (reported in skipped_cuts) unless replace_existing is true. Gaps are not cuts. A cut that fails is reported in errors and the rest continue; an unknown transition name fails the whole call. Returns {cuts, added, skipped, failed, transitions, skipped_cuts, errors}. 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

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "add_transitions_to_all_cuts"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoExact transition name, case-insensitive, for the scanned tracks. Default "Cross Dissolve" (video) / "Constant Power" (audio).
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.
audio_nameNoAudio transition used with include_audio. Default "Constant Power".
track_typeNoWhich kind of track to scan. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNoOnly this 0-based track. Omit to scan every track of track_type.
include_audioNoVideo scans only: also crossfade the linked audio at each video cut. Default false.
sequence_nameNoSequence name; used only when sequence_id is not given.
audio_durationNoAudio crossfade duration in seconds, up to 60. Default: same as duration.
replace_existingNoReplace transitions already on a cut. Default false (they are skipped).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare readOnly=false, destructive=false, idempotent=false, and openWorld=false. The description adds substantial behavior beyond that: existing transitions are kept and reported in skipped_cuts unless replace_existing is true, gaps are not cuts, per-cut failures continue while an unknown transition name aborts the whole call, and the full return object is described.

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 purpose and key caveats are front-loaded, and the return-shape details are valuable because no output schema exists. The description is long and the transition-object field list is dense, but it is not padded or repetitive.

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?

For an 11-parameter mutation tool with no output schema, the description covers defaults, edge cases, failure semantics, and the complete return structure. Nothing essential for correct invocation appears to be 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 100%, so the baseline is 3. The description still adds cross-parameter meaning beyond the schema: unknown transition names fail the entire call, include_audio crossfades linked audio only where cuts coincide, and replace_existing controls whether existing transitions are skipped.

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 opens with a specific verb, resource, and scope: 'Put the same transition on every cut of one track, or of every track of a type (default: all video tracks).' It also explicitly contrasts itself with 'the single-cut tools', so an agent can distinguish it from add_transition_at_cut without opening either schema.

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?

It explains the alternative single-cut tools and the replace_existing condition, plus include_audio and per-cut error handling. It does not give a full when-not-to-use rule or name add_transition_at_cut directly, so it falls short of the most explicit guidance.

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