Skip to main content
Glama

Move clip in time

move_clip

Moves a clip along its track to a new time by a relative or absolute offset while keeping its duration, source range, and effects, and optionally moving linked audio or video clips.

Instructions

Move a clip along its track: by a relative amount (delta, seconds; negative = earlier) or to an absolute timeline start (start, seconds). Pass exactly one of them. The clip keeps its duration, source range and effects; material already at the destination on that track is overwritten (covered clips are trimmed or removed). include_linked (default true) moves the linked audio/video clips by the same amount. Use move_clips for several clips, move_clip_to_track to change track. Returns the clip at its new position.

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": "move_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
deltaNoShift in seconds; negative moves earlier.
startNoNew timeline start of the clip, in seconds.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
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 move the clips linked to this one (the audio of a video clip, or the video of an audio clip). Default true.

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?

Beyond the annotations it discloses the real consequence an agent needs: destination material on that track is overwritten and covered clips are trimmed or removed, and linked audio/video moves along. It also states the clip keeps duration, source range and effects. The only tension is that the disclosed overwrite/removal behavior sits awkwardly against destructiveHint=false — I read this as the annotation being imprecise rather than the description misleading, since the description is the more accurate of the two and does not claim the tool is non-destructive.

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?

Front-loaded with the core action, then the mode rule, then side effects, then sibling routing, then return value — every sentence carries distinct information and none repeats the schema verbatim.

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 a 9-parameter mutation tool with no output schema, the description covers mode selection, side effects on neighboring clips, linked-item behavior, and the return value (the clip at its new position). Nothing an agent needs to invoke 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 earns an extra point by supplying the mutual-exclusion contract between delta and start that the schema itself does not encode, and by explaining what include_linked defaults to and what it moves. It sensibly leaves clip_id/clip_index/track addressing to the schema, which already documents the preference for clip_id.

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?

Opens with a specific verb+resource+scope ("Move a clip along its track") and immediately decomposes into the two mutually exclusive modes, relative delta vs absolute start. It also names the two nearest siblings (move_clips for several clips, move_clip_to_track for track changes) so the agent can discriminate without opening another 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?

Gives an explicit invocation rule ("Pass exactly one of them") plus routing guidance to move_clips and move_clip_to_track, and states the default for include_linked. Both the when and the when-not are present.

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