Skip to main content
Glama

List clips of a track

list_track_clips
Read-onlyIdempotent

Lists clips on a single video or audio track in order, including timing, speed, flags, and source IDs, with optional filtering by overlap time range.

Instructions

List the clips of one track in order with clip_id, clip_index, name, start, end, duration, source in/out points (all in seconds), speed, disabled and selected flags and the source item_id, optionally only those that overlap a time range. Returns total_clips on the track and count returned. Use get_sequence_structure or list_clips for clips of all tracks.

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_track_clips"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOnly clips that start before this timeline time, in seconds from the sequence start. Omit for no upper bound.
fromNoOnly clips that end after this timeline time, in seconds from the sequence start. Omit for no lower bound.
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.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds behavior beyond that: results are returned "in order," optionally filtered by overlap, and the response includes total_clips plus count returned — valuable since there is no output schema. It does not state error behavior for invalid track_index or what clip_index ordering means.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, both load-bearing: the first carries purpose, return fields and filtering; the second carries return counts and sibling alternatives. The long field enumeration is dense but justified given the absence of an output schema; no filler is present.

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?

For a read-only lister with no output schema, the description supplies the essential return shape, ordering, filtering semantics and routing to alternatives. Minor gaps remain around clip_index semantics and behavior on an out-of-range track_index, but nothing an agent needs to select and invoke 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 from/to, track_type, track_index and sequence_id are already documented in the schema, making 3 the baseline. The description's "optionally only those that overlap a time range" usefully unifies the from/to pair into an overlap filter and confirms all time values are in seconds, but adds little beyond that.

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 ("List the clips of one track") and immediately scopes it to a single track, distinguishing it from siblings. It also enumerates the returned fields, so an agent knows exactly what this call yields without opening a 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 explicitly routes the agent to alternatives: "Use get_sequence_structure or list_clips for clips of all tracks," which is the key disambiguation for a per-track lister. It gives clear positive context (one track, optional time-range overlap) but does not say when this tool is a poor choice beyond that single contrast.

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