Skip to main content
Glama

Insert a gap

insert_gap

Creates a gap on all tracks at a specified timeline time by shifting later clips and cutting any clip that spans the point, making room for manual inserts.

Instructions

Open empty space on all tracks: everything at or after time moves later by duration seconds, and a clip that spans the time is cut there (its second part moves). Use it to make room before inserting material by hand. Returns the number of clips moved and the sequence duration.

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

Input Schema

NameRequiredDescriptionDefault
timeYesTimeline time where the gap starts, in seconds.
durationYesLength of the gap, in seconds.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the annotations (readOnlyHint=false, destructiveHint=false, idempotentHint=false) by disclosing the exact ripple behavior, the scope (all tracks), and the non-obvious side effect that a clip spanning the time is split and its second half relocates. It also documents the return values (clips moved, resulting sequence duration) in the absence of an output schema.

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?

Three tight sentences: behavior first, then the use case, then the return value. No filler, no restatement of the title, and the most decision-relevant content is front-loaded.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With annotations carrying the safety profile and no output schema, the description fills the important gaps: ripple semantics, the clip-splitting edge case, track scope, and return values. Minor omissions remain around locked tracks or whether the operation is undoable, but nothing blocks correct invocation.

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, but the description adds real meaning about how 'time' and 'duration' interact: everything at or after time moves by duration seconds, so an agent understands duration as a displacement length rather than just a shape value. The sequence_id/sequence_name targeting params are left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (open empty space / gap) and precisely defines the effect: content at or after 'time' shifts later by 'duration', and a spanning clip is cut with its second part moving. Highly specific, though it never names a sibling such as close_gap_at (the inverse operation) to make the distinction explicit.

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?

"Use it to make room before inserting material by hand" gives a clear usage context that implicitly separates it from direct insertion tools. It offers no explicit exclusions or pointers to close_gap_at for undoing the gap, so it stops short of full when/when-not 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