Skip to main content
Glama

list_sequences

Retrieve all sequences from your current Premiere Pro project with IDs, names, and basic properties to manage video editing workflows.

Instructions

Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The handler function `listSequences` that executes an ExtendScript code to retrieve and return a list of all sequences in the Premiere Pro project, including their IDs, names, durations, dimensions, frame rates, and track counts.
    private async listSequences(): Promise<any> {
      const script = `
        try {
          var sequences = [];
          
          for (var i = 0; i < app.project.sequences.numSequences; i++) {
            var seq = app.project.sequences[i];
            sequences.push({
              id: seq.sequenceID,
              name: seq.name,
              duration: seq.duration.seconds,
              width: seq.frameBounds.width,
              height: seq.frameBounds.height,
              frameRate: seq.frameRate,
              videoTrackCount: seq.videoTracks.numTracks,
              audioTrackCount: seq.audioTracks.numTracks
            });
          }
          
          JSON.stringify({
            success: true,
            sequences: sequences,
            count: sequences.length
          });
        } catch (e) {
          JSON.stringify({
            success: false,
            error: e.toString()
          });
        }
      `;
      
      return await this.bridge.executeScript(script);
    }
  • The input schema definition for the `list_sequences` tool, defined as an empty Zod object since no parameters are required.
    {
      name: 'list_sequences',
      description: 'Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.',
      inputSchema: z.object({})
  • Registration of the `list_sequences` tool in the `getAvailableTools()` method of the `PremiereProTools` class, including name, description, and schema.
    {
      name: 'list_sequences',
      description: 'Lists all sequences in the current Premiere Pro project with their IDs, names, and basic properties.',
      inputSchema: z.object({})
  • Dispatch in the `executeTool` method's switch statement that routes calls to the `list_sequences` tool to the `listSequences` handler.
    return await this.listSequences();
Behavior3/5

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

With no annotations provided, the description carries the full burden. It implies a read-only operation by using 'Lists', which suggests non-destructive behavior, but doesn't explicitly state this or cover other behavioral aspects like permissions needed, rate limits, or error conditions. The description adds some context about what data is returned (IDs, names, basic properties), which is useful beyond just the action.

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 ('Lists all sequences') and specifies the context ('in the current Premise Pro project') and output details ('with their IDs, names, and basic properties'). Every word adds value with no redundancy or fluff.

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

Completeness3/5

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

Given the tool's simplicity (0 parameters, no annotations, no output schema), the description is adequate but has gaps. It explains what the tool does and what data it returns, but doesn't cover behavioral aspects like whether it requires a project to be open, error handling, or format of the returned data. For a read-only list tool, this is minimally viable but could be more complete.

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

Parameters4/5

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

The tool has 0 parameters, and schema description coverage is 100% (though empty). The description doesn't need to explain parameters, so it meets the baseline of 4 for zero-parameter tools. No additional parameter semantics are required or provided.

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 verb 'Lists' and the resource 'sequences in the current Premiere Pro project', specifying the scope as 'all sequences' and the returned data as 'IDs, names, and basic properties'. It distinguishes from siblings like 'list_project_items' by focusing specifically on sequences, but doesn't explicitly contrast with other sequence-related tools like 'get_project_info'.

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. The description doesn't mention when to choose this over 'list_project_items' (which might list broader project items) or 'get_project_info' (which might include sequence information), nor does it specify prerequisites like needing an open project.

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