Skip to main content
Glama

list_sequences

Retrieve all sequences in a Premiere Pro project, including IDs, names, and basic properties, to streamline project organization and editing workflows using the MCP Adobe Premiere Pro automation server.

Instructions

Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Handler function that executes an ExtendScript via the PremiereProBridge to list all sequences in the current project, returning their IDs, names, durations, dimensions, frame rates, and track counts.
    private async listSequences(): Promise<any> { const script = ` try { var sequences = []; for (var i = 0; i < app.project.sequences.numSequences; i++) { var seq = app.project.sequences[i]; sequences.push({ id: seq.sequenceID, name: seq.name, duration: seq.duration.seconds, width: seq.frameBounds.width, height: seq.frameBounds.height, frameRate: seq.frameRate, videoTrackCount: seq.videoTracks.numTracks, audioTrackCount: seq.audioTracks.numTracks }); } JSON.stringify({ success: true, sequences: sequences, count: sequences.length }); } catch (e) { JSON.stringify({ success: false, error: e.toString() }); } `; return await this.bridge.executeScript(script); }
  • Input schema definition for the list_sequences tool: no parameters required (empty object).
    { name: 'list_sequences', description: 'Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.', inputSchema: z.object({})
  • Registration/dispatch in the executeTool switch statement that calls the listSequences handler.
    case 'list_sequences': return await this.listSequences();

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hetpatel-11/Adobe_Premiere_Pro_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server