Skip to main content
Glama

list_all_sequences

Retrieve all sequences in the current Adobe Premiere Pro project along with their basic details for enhanced project management and automation.

Instructions

List all sequences in the current project with basic info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function that executes the tool logic: fetches sequence list from HTTP API at localhost:3001/api/sequences, formats the data into a markdown list, handles errors, and returns structured content.
    async listAllSequences() { try { const response = await fetch('http://localhost:3001/api/sequences'); if (!response.ok) throw new Error(`HTTP ${response.status}: ${response.statusText}`); const data = await response.json(); if (data.error) { return { content: [ { type: 'text', text: `⚠️ ${data.error}`, }, ], }; } const sequenceList = data.sequences.map(seq => `• **${seq.name}** (${seq.duration}) - ${seq.resolution} @ ${seq.frame_rate}fps - ${seq.clip_count} clips ${seq.is_active ? '✅ ACTIVE' : ''}` ).join('\n'); return { content: [ { type: 'text', text: `🎬 **All Sequences (${data.total_sequences})**\n\n${sequenceList}\n\n**Active Sequence:** ${data.active_sequence}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to list sequences**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • Schema definition for the list_all_sequences tool, specifying no input parameters required.
    name: "list_all_sequences", description: "List all sequences in the current project with basic info", inputSchema: { type: "object", properties: {}, required: [] }
  • mcp-server.js:228-229 (registration)
    Registration in the tool call dispatcher switch statement, routing calls to the handler method.
    case 'list_all_sequences': return await this.listAllSequences();

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/jordanl61/premiere-pro-mcp-server'

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