Skip to main content
Glama

create_bin

Organize media in Adobe Premiere Pro by creating new folders in the project panel. Specify a name and optional parent folder for structured project management.

Instructions

Creates a new bin (folder) in the project panel to organize media.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYesThe name for the new bin
parentBinNameNoThe name of the parent bin to create this bin inside

Implementation Reference

  • Registration of the 'create_bin' tool in the getAvailableTools() method, including name, description, and input schema.
      name: 'create_bin',
      description: 'Creates a new bin (folder) in the project panel to organize media.',
      inputSchema: z.object({
        name: z.string().describe('The name for the new bin'),
        parentBinName: z.string().optional().describe('The name of the parent bin to create this bin inside')
      })
    },
  • The main handler function for 'create_bin' tool. It constructs and executes an ExtendScript via the PremiereProBridge to create a new bin in the project, optionally in a parent bin.
    private async createBin(name: string, parentBinName?: string): Promise<any> {
      const script = `
        try {
          var parentBin = app.project.rootItem;
          ${parentBinName ? `parentBin = app.project.rootItem.children["${parentBinName}"] || app.project.rootItem;` : ''}
          
          var newBin = parentBin.createBin("${name}");
          
          JSON.stringify({
            success: true,
            binName: "${name}",
            binId: newBin.nodeId,
            parentBin: parentBinName || "Root"
          });
        } catch (e) {
          JSON.stringify({
            success: false,
            error: e.toString()
          });
        }
      `;
      
      return await this.bridge.executeScript(script);
    }
  • Dispatcher case in executeTool method that routes 'create_bin' calls to the createBin handler.
    case 'create_bin':
      return await this.createBin(args.name, args.parentBinName);
  • Zod input schema for validating arguments to the 'create_bin' tool.
    inputSchema: z.object({
      name: z.string().describe('The name for the new bin'),
      parentBinName: z.string().optional().describe('The name of the parent bin to create this bin inside')
    })
Behavior2/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries full burden but only states the creation action without behavioral details. It lacks information on permissions required, whether bins can be nested or renamed later, error conditions, or what happens on success (e.g., if the bin becomes active). This is inadequate for a mutation tool with zero annotation coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, efficient sentence that front-loads the core action and purpose with zero wasted words. It directly communicates what the tool does without unnecessary elaboration.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutation tool with no annotations and no output schema, the description is incomplete. It doesn't explain return values, error handling, or important behavioral traits like whether the bin is created immediately or requires saving. Given the complexity and lack of structured data, more context is needed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, with both parameters ('name' and 'parentBinName') well-documented in the schema. The description adds no additional parameter semantics beyond implying organization context, so it meets the baseline for high schema coverage without compensating value.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the action ('Creates') and resource ('new bin (folder) in the project panel'), specifying its purpose for organizing media. It distinguishes from siblings like 'create_project' or 'create_sequence' by focusing on bins/folders, though it doesn't explicitly contrast with them.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing an open project), exclusions, or comparisons to similar tools like 'import_folder' or 'create_project', leaving the agent to infer context.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

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/hetpatel-11/Adobe_Premiere_Pro_MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server