Skip to main content
Glama

list_all_sequences

Retrieve all sequences in your Adobe Premiere Pro project with basic information for project management and workflow automation.

Instructions

List all sequences in the current project with basic info

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • Main execution logic for list_all_sequences tool: fetches sequence data from HTTP API and returns formatted list.
    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, }; } }
  • Tool schema definition including name, description, and empty input schema, used in ListTools response.
    { 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 dispatch switch statement within CallToolRequestSchema handler.
    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