Skip to main content
Glama

create_sequence

Create a new video editing sequence in Adobe Premiere Pro with custom name, resolution, and frame rate settings for project organization.

Instructions

Create a new sequence in Premiere Pro

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesName of the new sequence
widthNoWidth in pixels (default: 1920)
heightNoHeight in pixels (default: 1080)
framerateNoFrame rate (default: 23.976)

Implementation Reference

  • The handler function that executes the 'create_sequence' tool. It destructures the input arguments, sends a POST request to the local Premiere Pro API endpoint to create the sequence with the specified name, width, height, and framerate, and returns formatted text content with the result or error.
    async createSequence(args) { const { name, width = 1920, height = 1080, framerate = 23.976 } = args; try { const response = await fetch('http://localhost:3001/api/create-sequence', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ name, width, height, framerate }), }); 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}`, }, ], }; } return { content: [ { type: 'text', text: `✅ **Sequence Created Successfully**\n\n**Name:** ${data.sequence_name}\n**Resolution:** ${data.resolution.width}x${data.resolution.height}\n**Frame Rate:** ${data.frame_rate} fps\n**Created:** ${data.created_timestamp}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to create sequence**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • The input schema for the 'create_sequence' tool, defining the expected parameters: name (required string), optional width, height, framerate (numbers).
    inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Name of the new sequence', }, width: { type: 'number', description: 'Width in pixels (default: 1920)', }, height: { type: 'number', description: 'Height in pixels (default: 1080)', }, framerate: { type: 'number', description: 'Frame rate (default: 23.976)', }, }, required: ['name'], },
  • mcp-server.js:161-186 (registration)
    The tool definition object registered in the ListToolsRequestSchema handler, including the name, description, and input schema for 'create_sequence'.
    { name: 'create_sequence', description: 'Create a new sequence in Premiere Pro', inputSchema: { type: 'object', properties: { name: { type: 'string', description: 'Name of the new sequence', }, width: { type: 'number', description: 'Width in pixels (default: 1920)', }, height: { type: 'number', description: 'Height in pixels (default: 1080)', }, framerate: { type: 'number', description: 'Frame rate (default: 23.976)', }, }, required: ['name'], }, },
  • mcp-server.js:258-259 (registration)
    The switch case in the CallToolRequestSchema handler that routes 'create_sequence' calls to the createSequence method.
    case 'create_sequence': return await this.createSequence(args);

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