Skip to main content
Glama

get_active_sequence_info

Retrieve detailed metadata about the active sequence in Adobe Premiere Pro for automation, workflow optimization, and AI integration.

Instructions

Get detailed information about the currently active sequence

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • mcp-server.js:42-50 (registration)
    Tool registration in the ListToolsRequestSchema handler, defining the tool name, description, and empty input schema (no parameters).
    { name: "get_active_sequence_info", description: "Get detailed information about the currently active sequence", inputSchema: { type: "object", properties: {}, required: [] } },
  • Dispatcher in the CallToolRequestSchema handler switch statement that routes calls to the getActiveSequenceInfo method.
    case 'get_active_sequence_info': return await this.getActiveSequenceInfo();
  • Main handler implementation: fetches active sequence data from local HTTP server (localhost:3001/api/active-sequence), handles errors, and returns formatted markdown response with sequence details.
    async getActiveSequenceInfo() { try { const response = await fetch('http://localhost:3001/api/active-sequence'); 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}\n\n🔧 **Troubleshooting Steps:**\n1. Make sure Premiere Pro is running\n2. Open a project with an active sequence\n3. Ensure the CEP extension is loaded\n4. Click "Refresh Project Info" in the extension`, }, ], }; } return { content: [ { type: 'text', text: `🎬 **Active Sequence Details**\n\n**Name:** ${data.sequence_name}\n**Duration:** ${data.duration}\n**Frame Rate:** ${data.frame_rate} fps\n**Resolution:** ${data.resolution.width}x${data.resolution.height}\n**Audio Sample Rate:** ${data.audio_sample_rate} Hz\n**Timecode Start:** ${data.timecode_start}\n**Playhead Position:** ${data.playhead_position}\n**Video Tracks:** ${data.track_count.video_tracks}\n**Audio Tracks:** ${data.track_count.audio_tracks}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get active sequence info**\n\nError: ${error.message}\n\n🔧 **Troubleshooting:**\n1. Check that the HTTP server is running on port 3001\n2. Ensure Premiere Pro is open with an active sequence\n3. Verify CEP extension is loaded and functional`, }, ], isError: true, }; } }
  • Input schema definition for the tool: accepts no parameters (empty object).
    inputSchema: { type: "object", properties: {}, required: [] }

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