Skip to main content
Glama

get_sequence_details

Retrieve comprehensive details about a specific sequence, including tracks, effects, and markers, to enhance project analysis and automation in Adobe Premiere Pro.

Instructions

Get detailed information about a specific sequence including tracks, effects, and markers

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sequence_nameYesName of the sequence to get details for

Implementation Reference

  • The primary handler function that executes the get_sequence_details tool. It makes an HTTP request to the local API for sequence details, processes the response to format video and audio track information, lists applied effects and markers, and returns a structured text response or error.
    async getSequenceDetails(sequenceName) { try { const response = await fetch(`http://localhost:3001/api/sequence-details?name=${encodeURIComponent(sequenceName)}`); 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 videoTracks = data.tracks.video_tracks.map(track => ` • Track ${track.track_number}: ${track.track_name} (${track.clip_count} clips) ${track.is_locked ? '🔒' : ''} ${track.is_visible ? '👁️' : '🙈'}` ).join('\n'); const audioTracks = data.tracks.audio_tracks.map(track => ` • Track ${track.track_number}: ${track.track_name} (${track.clip_count} clips) ${track.is_locked ? '🔒' : ''} ${track.is_muted ? '🔇' : '🔊'} ${track.is_solo ? '🎯' : ''}` ).join('\n'); return { content: [ { type: 'text', text: `🎬 **Sequence Details: ${data.sequence_name}**\n\n**Settings:**\n• Resolution: ${data.settings.resolution.width}x${data.settings.resolution.height}\n• Frame Rate: ${data.settings.frame_rate} fps\n• Audio: ${data.settings.audio_sample_rate} Hz\n\n**Video Tracks:**\n${videoTracks}\n\n**Audio Tracks:**\n${audioTracks}\n\n**Applied Effects:** ${data.effects_applied.join(', ')}\n**Markers:** ${data.markers.length}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get sequence details**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • Input schema definition for the get_sequence_details tool, specifying an object with a required 'sequence_name' string property.
    inputSchema: { type: "object", properties: { sequence_name: { type: "string", description: "Name of the sequence to get details for" } }, required: ["sequence_name"] }
  • mcp-server.js:60-73 (registration)
    Tool registration in the ListToolsRequestSchema handler, defining the tool's name, description, and input schema.
    { name: "get_sequence_details", description: "Get detailed information about a specific sequence including tracks, effects, and markers", inputSchema: { type: "object", properties: { sequence_name: { type: "string", description: "Name of the sequence to get details for" } }, required: ["sequence_name"] } },
  • mcp-server.js:231-232 (registration)
    Routing/registration in the CallToolRequestSchema switch statement that directs calls to the getSequenceDetails handler.
    case 'get_sequence_details': return await this.getSequenceDetails(args.sequence_name);

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