Skip to main content
Glama

Extract a time range

extract_range
Destructive

Delete all timeline content between two times across every track and close the resulting gap, trimming clips that cross the boundaries so later material shifts left by the range length.

Instructions

Remove everything between two timeline times (seconds) on ALL tracks and close the gap: clips crossing a boundary are cut there, the inside is deleted and all later material moves left by the range length. Use lift_range to keep the gap. Returns the removed clip count, the shift applied and the sequence duration before and after.

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": {
      "start": "<start>",
      "end": "<end>"
    },
    "name": "extract_range"
  }
}

Input Schema

NameRequiredDescriptionDefault
endYesEnd of the range, in seconds.
startYesStart of the range, 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.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known; the description goes beyond them by explaining exactly what is destroyed (inside material on all tracks), how boundaries are handled (clips are cut there), and that later material ripples left by the range length. It also discloses the return payload, though it does not mention undo/irreversibility or any sequence-resolution failure modes.

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?

Two dense sentences with no filler: the destructive ripple behavior comes first, the alternative second, and the return values last. Every clause carries information an agent needs.

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 destructive, four-parameter tool with no output schema, the description supplies the mutation semantics, the ripple consequence, the alternative, and the return fields. Nothing an agent needs in order 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.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so start, end, sequence_id and sequence_name are already documented; the description only reinforces that the times are in seconds and that the operation spans all tracks rather than a single item. That is a marginal semantic addition over the schema, so the baseline of 3 is appropriate.

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+scope: remove everything between two timeline times on ALL tracks and close the gap. It immediately distinguishes itself from lift_range, which keeps the gap, so an agent can tell the two apart 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It names the alternative explicitly ('Use lift_range to keep the gap') and states the condition that selects it, which is the only real branching decision for this operation. No further exclusions are needed because the sibling comparison resolves the ambiguity.

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