Skip to main content
Glama

Remove a transition

remove_transition
Destructive

Delete a single video or audio track transition by index or by a time inside it; clips remain unchanged, and a NOT_FOUND error is returned when no transition matches.

Instructions

Delete one transition from a track, chosen by transition_index (from list_track_transitions) or by a time inside it. The clips are not changed. Fails with NOT_FOUND when nothing matches. Use remove_all_transitions for a whole track or sequence. Returns {removed, remaining}.

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>"
    },
    "name": "remove_transition"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeNoUsed when transition_index is not given: a sequence time in seconds inside the transition.
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.
transition_indexNo0-based index of the transition on the track, in time order (from list_track_transitions).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and non-idempotent, so mutation semantics are covered; the description adds real value by stating clips are untouched, that NOT_FOUND is the failure mode when nothing matches, and the {removed, remaining} return shape (no output schema exists). It stops short of saying whether removal ripples timing or is undoable, so not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences, front-loaded with the action and selector rule; the constraint (clips unchanged), failure mode, alternative, and return shape each appear once with no padding.

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?

No output schema exists, yet the return shape is disclosed, the failure case is named, and the guidance points to the listing tool needed to construct the index. For a destructive single-item removal with 6 parameters, nothing an agent needs to call it correctly 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 100%, so the baseline is 3; the description still earns credit by framing transition_index and time as mutually exclusive selectors and by naming the sibling that produces a valid index. Track/sequence targeting is left entirely to the schema, which already handles it.

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 ("Delete one transition from a track") plus the two exclusive selection mechanisms (transition_index or a time inside it), and names the sibling it is not (remove_all_transitions). An agent can distinguish it from the other remove_* tools without opening a 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 routes whole-track/sequence deletion to remove_all_transitions and points at list_track_transitions as the source of a valid transition_index, which is the required precondition. The two-alternative selection rule is spelled out rather than inferred.

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