Skip to main content
Glama

List cuts on a track

list_cuts
Read-onlyIdempotent

Lists every cut on a specified video or audio track, returning adjacent clips and any existing transition so you can find edit points before adding transitions.

Instructions

List the cuts on one track: every place where a clip ends exactly where the next one starts (gaps are not cuts), with the two clips and the transition already on the cut (or null). Use it before add_transition_at_cut. Returns {clip_count, count, cuts: [{time, from_clip, to_clip, transition}]}.

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

Input Schema

NameRequiredDescriptionDefault
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, non-destructive and closed-world, so the safety profile is covered. The description adds genuinely useful behavioral context: the exact adjacency semantics of a cut and the fact that the transition field may be null. It does not discuss ordering of the returned cuts or cost on long tracks, so the additions are real but modest against an already-complete annotation set.

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 compact sentences: definition first, workflow hook second, return shape third. There is no filler, and the most decision-relevant fact (what counts as a cut) 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 no output schema, the description correctly supplies the return shape inline, and the definition of a cut removes the main ambiguity for this tool. What remains thin is minor: whether results are ordered by time and whether transition objects carry their own fields, but an agent could still call this correctly.

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%, with enums and defaults (active sequence fallback, 0-based index) fully documented in the schema, so the baseline of 3 applies. The description contributes only the implicit scoping to "one track" and nothing about how sequence_id/sequence_name interplay beyond what the schema already states.

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 definition pairs a specific verb with a specific resource ("List the cuts on one track") and then defines the resource precisely: adjacent clips touching with no gap. The parenthetical "gaps are not cuts" explicitly differentiates it from the sibling get_track_gaps, so an agent can distinguish the two 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 Guidelines4/5

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

It gives a concrete sequencing rule — "Use it before add_transition_at_cut" — which tells the agent where this tool sits in a workflow and what consumes its output. It offers no when-not guidance (e.g., use get_track_gaps to find gaps, list_track_clips for all clips), so it stops short of full alternative routing.

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