Skip to main content
Glama

get_export_presets

Retrieve available export presets and their settings from Adobe Premiere Pro for configuring video output.

Instructions

Get available export presets and their settings

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that fetches available export presets from the local HTTP API endpoint 'http://localhost:3001/api/export-presets' and formats a list of presets with their settings for display.
    async getExportPresets() { try { const response = await fetch('http://localhost:3001/api/export-presets'); 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 presetsList = data.presets.map(preset => `• **${preset.preset_name}** (${preset.format})\n 📐 ${preset.resolution.width}x${preset.resolution.height} @ ${preset.frame_rate}fps\n 📊 Video: ${preset.bitrate} | Audio: ${preset.audio_codec} @ ${preset.audio_bitrate}` ).join('\n\n'); return { content: [ { type: 'text', text: `🎥 **Export Presets**\n\n${presetsList}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get export presets**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • mcp-server.js:128-136 (registration)
    Tool registration entry in the ListToolsRequestSchema handler, defining the tool name, description, and empty input schema.
    { name: "get_export_presets", description: "Get available export presets and their settings", inputSchema: { type: "object", properties: {}, required: [] } },
  • Input schema definition for the get_export_presets tool, which requires no parameters.
    inputSchema: { type: "object", properties: {}, required: [] }
  • Dispatch case in the CallToolRequestSchema switch statement that routes calls to the getExportPresets handler method.
    case 'get_export_presets': return await this.getExportPresets();

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