Skip to main content
Glama

Delete a sequence

delete_sequence
Destructive

Delete a Premiere Pro sequence and its timeline clips by sequence ID or name while keeping source media; specify one explicitly, as it never targets the active sequence by default.

Instructions

Delete a sequence from the project (its clips on the timeline go with it; source media stays in the project). Pass sequence_id or sequence_name: unlike other tools it never falls back to the active sequence (BAD_ARGS when both are missing). Returns the deleted sequence's id and name and the number of sequences left. Use close_sequence to only close its tab.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_sequence"
  }
}

Input Schema

NameRequiredDescriptionDefault
sequence_idNoStable sequence id (from list_sequences) of the sequence to delete. Pass this or sequence_name.
sequence_nameNoName of the sequence to delete; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and readOnlyHint=false, but the description adds real substance beyond that: what is destroyed (the sequence's clips on the timeline), what survives (source media stays in the project), the error mode when identifiers are omitted, and the return payload (deleted id/name plus remaining sequence count). That is exactly the context annotations cannot carry.

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?

Front-loaded with the action and its blast radius, then identifier rules, then return values, then the sibling alternative. The parenthetical is dense but carries load-bearing information; there is no filler sentence.

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

Completeness5/5

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

For a destructive, zero-required-parameter tool with no output schema, the description covers destruction scope, identifier fallback behavior, error condition, return values, and the safer alternative. Nothing an agent needs to call this correctly is missing.

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?

Schema coverage is 100%, so the baseline is 3; the description earns an extra point by documenting the precedence rule and the failure mode (BAD_ARGS when both are missing), which the schema does not express. It does restate the 'sequence_name only when sequence_id is absent' rule already present in the schema, so it stops short of a 5.

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

Purpose5/5

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

The description opens with a specific verb+resource ('Delete a sequence from the project') and immediately scopes it against the most confusable sibling ('Use close_sequence to only close its tab'). An agent can distinguish deletion from tab-closing without opening either schema.

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

Usage Guidelines5/5

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

It states an explicit when/when-not: this tool never falls back to the active sequence and returns BAD_ARGS if both identifiers are missing, which is the key behavioral fork against other sequence tools. It also names the alternative tool (close_sequence) and the condition that selects it.

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

Deploy Server

Other Tools