Skip to main content
Glama

get_project_bins

Retrieve the bin structure and organization of Adobe Premiere Pro projects to manage media assets and streamline editing workflows.

Instructions

Get project bin structure and organization

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The main handler function that fetches project bins data from the local API endpoint, processes the hierarchical bin structure, formats it with indentation and emojis, handles errors, and returns structured MCP content.
    async getProjectBins() { try { const response = await fetch('http://localhost:3001/api/project-bins'); 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 binsList = data.bins.map(bin => { const indent = bin.parent_bin ? ' ' : ''; const subBins = bin.sub_bins.length > 0 ? ` (${bin.sub_bins.length} sub-bins)` : ''; return `${indent}📁 **${bin.bin_name}** - ${bin.media_count} items${subBins} ${bin.color_label ? `🏷️ ${bin.color_label}` : ''}`; }).join('\n'); return { content: [ { type: 'text', text: `📁 **Project Bins (${data.total_bins} total)**\n\n${binsList}`, }, ], }; } catch (error) { return { content: [ { type: 'text', text: `❌ **Failed to get project bins**\n\nError: ${error.message}`, }, ], isError: true, }; } }
  • Input schema for the get_project_bins tool, which requires no parameters (empty object).
    inputSchema: { type: "object", properties: {}, required: [] }
  • mcp-server.js:101-109 (registration)
    Tool registration in ListToolsRequestHandler, defining name, description, and schema.
    { name: "get_project_bins", description: "Get project bin structure and organization", inputSchema: { type: "object", properties: {}, required: [] } },
  • mcp-server.js:243-244 (registration)
    Handler dispatch in CallToolRequestHandler switch statement, routing 'get_project_bins' calls to the getProjectBins method.
    case 'get_project_bins': return await this.getProjectBins();

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