Skip to main content
Glama

Split clip at a time

split_clip

Cuts one clip in two at a specified timeline time, optionally splitting linked audio/video clips to keep both halves in sync. Other clips remain untouched.

Instructions

Cut one clip in two at a timeline time (seconds, must fall inside the clip, not on an edge). include_linked (default true) cuts the linked audio/video clips at the same time so both halves stay in sync. The left halves stay linked to each other and so do the right halves. Other clips are untouched. Use razor_track / razor_all_tracks to cut whole tracks. Returns both halves (left, right) and the halves of the linked clips.

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": {
      "time": "<time>"
    },
    "name": "split_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
timeYesTimeline time of the cut, in seconds. Snapped to a frame.
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 cut 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.9/5.0
Behavior5/5

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

Annotations already establish that this is a non-read-only, non-idempotent, non-destructive mutation in a closed world. The description adds important behavioral context beyond those annotations: linked audio/video clips are cut simultaneously by default, the resulting left and right halves remain linked within their pairs, and other clips are untouched.

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?

The description is front-loaded with the core action and constraint, then covers side effects, alternatives, and return values. Every sentence contributes concrete information with no redundant wording.

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 8-parameter mutation tool with full schema coverage and no output schema, the description does the remaining work: it explains the operation, time constraint, linked-clip behavior, effect on other clips, relevant alternatives, and what the tool returns.

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 useful meaning beyond the schema by explaining the 'time' constraint that the cut must fall inside the clip and not on an edge, and by clarifying the synchronization consequence of include_linked rather than merely restating its default.

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: 'Cut one clip in two at a timeline time.' It also scopes the operation to one clip and explicitly distinguishes it from whole-track cuts by naming razor_track and razor_all_tracks.

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?

The description says to use this tool for cutting one clip and directs agents to razor_track / razor_all_tracks when the goal is to cut whole tracks. It also gives the key precondition that the time must fall inside the clip and not on an edge.

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