Skip to main content
Glama

Read the timeline

get_sequence_structure
Read-onlyIdempotent

Read a full Premiere Pro timeline structure, including sequence details, tracks, and ordered clips, to inspect or audit an edit. Filter by video or audio and limit clips as needed.

Instructions

Read a whole timeline: the sequence description plus every track (index, name, locked, muted, targeted, clip and transition counts) with its clips in order. This is the main tool for reading a timeline. Each clip has clip_id, name, start / end / duration on the timeline and in_point / out_point in the source (all in seconds), media_type, disabled, selected, speed, reversed and the source item_id. Restrict with track_type, skip empty tracks with include_empty_tracks=false, and cap the size with max_clips (truncated=true when clips were left out). For totals only use get_sequence_summary; for one track use list_track_clips.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_sequence_structure"
  }
}

Input Schema

NameRequiredDescriptionDefault
max_clipsNoMaximum clips described over the whole sequence (video tracks first, then audio), 0-100000. Default 2000. 0 returns the tracks without clips.
track_typeNoOnly return "video" or "audio" tracks. Omit for both.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
include_empty_tracksNoInclude tracks that have no clips. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent and non-destructive, so safety needs no restating; the description instead discloses return shape and ordering (video tracks first, then audio) and the truncation signal ('truncated=true when clips were left out'). That is meaningful behavior beyond structured fields, though it does not mention error cases or what happens if neither sequence identifier resolves.

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?

Front-loaded with the core purpose, then the return contents, then the tuning knobs, then sibling routing — a logical order with no filler sentences. The middle field enumeration (start/end/duration, in_point/out_point, speed, reversed…) is long but earns its place because no output schema exists.

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?

With no output schema, the description must describe return values and does so thoroughly, including units (all in seconds), identity fields, and the truncated indicator. Combined with the parameter notes and sibling routing, an agent has everything needed to call it and interpret the result.

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 value by pairing each parameter with its effect (track_type restricts, include_empty_tracks=false skips empties, max_clips caps and produces truncated=true). The clip-count budget behavior across the whole sequence is clarified in a way the schema alone states less prominently.

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 — 'Read a whole timeline' — and enumerates exactly what is returned (sequence description, tracks with index/name/locked/muted/targeted/counts, clips in order). It explicitly positions itself as 'the main tool for reading a timeline', which separates it from the summary and per-track siblings.

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?

Gives explicit routing: 'For totals only use get_sequence_summary; for one track use list_track_clips', plus inline when-to-use for the modifiers (restrict with track_type, skip empties with include_empty_tracks=false, cap with max_clips). Both the alternative tools and the conditions that select them are named.

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