Skip to main content
Glama

Audit a sequence for problems

audit_sequence
Read-onlyIdempotent

Runs a read-only audit of a Premiere Pro sequence before hand-off, detecting gaps, overlaps, flash frames, disabled/offline clips, sync issues, and other timeline problems with suggested fixes.

Instructions

One read-only pass that finds problems in a sequence before hand-off: gaps between clips on a track (warning when nothing on another video track covers it, i.e. black in the program; info otherwise and on audio), overlapping clips on one track, flash frames (video clips of at most flash_frame_max_frames frames), disabled clips, clips whose media is offline, clips running past the end of their media, empty tracks, video clips whose source has audio but no audio clip of it plays with them (audio_missing), linked or overlapping audio of the same source that is out of sync (start offset in seconds and frames), and markers with no name. Returns issues sorted by time (track-less issues last), each with type, severity (error/warning/info), time/end in seconds, track (V1/A1 ...), clip_id, message and suggested_fix (the name of the tool that fixes it), plus a summary by type and severity. Use checks to run only some checks. Never changes the project.

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

Input Schema

NameRequiredDescriptionDefault
checksNoChecks to run. Default all: gaps, overlaps, flash_frames, disabled, offline, past_media_end, empty_tracks, sync, unnamed_markers.
max_issuesNoReturn at most this many issues (the summary still counts all). Default 500.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.
min_gap_secondsNoShortest gap reported, in seconds. Default: one frame (half a frame is always the minimum).
sync_tolerance_framesNoSync offsets up to this many frames are accepted. Default 0 (any whole-frame offset is reported).
flash_frame_max_framesNoA video clip this many frames long or shorter is a flash frame. Default 2.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.6/5.0
Behavior5/5

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

Goes well beyond the readOnly/idempotent annotations by specifying severity assignment logic (gaps are warnings only when no other video track covers them, info otherwise and on audio), sort order (by time, track-less issues last), that the summary counts all issues even when max_issues truncates the list, and that the project is never modified. This is exactly the behavioral context annotations cannot convey.

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 purpose and safety, then a dense but purposeful enumeration of checks and the return payload. The long check-list sentence is heavy, but every listed item corresponds to a distinct issue type an agent needs to interpret the output, so little is wasted.

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 carries the return-value burden and does so thoroughly: issue fields (type, severity, time/end, track, clip_id, message, suggested_fix) and the summary by type and severity. Combined with the stated truncation behavior, an agent can act on results without further documentation.

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 already 100%, but the description still adds real meaning: it defines flash frames in terms of flash_frame_max_frames, explains that sync offsets are reported as seconds and frames, and clarifies that suggested_fix names the tool that repairs the issue. It stops short of explaining sequence_name vs sequence_id precedence or min_gap_seconds defaults, which the schema already covers.

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?

Opens with a specific verb and scope: 'One read-only pass that finds problems in a sequence before hand-off,' then enumerates exactly which problems (gaps, overlaps, flash frames, disabled/offline clips, past-media-end, empty tracks, audio_missing, sync, unnamed markers). This distinguishes it clearly from the narrower sibling find_sequence_gaps, since gaps are only one of nine checks.

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?

Gives a clear usage context ('before hand-off') and explains the checks parameter for narrowing scope, plus 'Never changes the project' to reassure on safety. It does not explicitly say when to prefer a narrower tool like find_sequence_gaps over this one, so an exclusion is missing, but the situational guidance is solid.

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