Skip to main content
Glama

Delete several project items

delete_project_items
Destructive

Deletes multiple Premiere Pro project items in one call, including clips, sequences, and bins. Validates unknown IDs, bin contents, and timeline usage first, and never deletes media files on disk.

Instructions

Delete several project items in one call (clips, subclips, generated items, sequences, bins). Media files on disk are never deleted. Everything is checked first: nothing is deleted if any item id is unknown (NOT_FOUND), any bin still has contents (unless delete_contents=true) or any item is used on a timeline (unless allow_used=true). Returns the number deleted and each item with deleted and usage_count. Use delete_project_item for one item by name or path.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "item_ids": "<item_ids>"
    },
    "name": "delete_project_items"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idsYesItems to delete. 1-2000 stable project item ids (item_id from list_project_items).
allow_usedNoAllow deleting items that timeline clips use; those clips are removed from their sequences. Default false.
delete_contentsNoAllow deleting bins together with everything inside them. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the safety profile is known. The description adds valuable behavior beyond that: media files on disk are never deleted, deletion is all-or-nothing with NOT_FOUND and bin/timeline checks, and it returns the number deleted plus per-item deleted/usage_count. However, it does not mention permissions, irreversibility, or concurrency considerations, so it is strong but not exhaustive for a destructive bulk operation.

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?

Four compact sentences, front-loaded with scope, then safety behavior, then return values, then the sibling alternative. Every sentence carries operational value and there is no filler.

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 3-parameter bulk tool with no output schema, the description covers scope, item types, safety checks, return values, and the single-item alternative. Combined with the annotations and fully documented schema, an agent has everything needed to call it correctly.

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%, so item_ids, allow_used, and delete_contents are already documented in the schema. The description reinforces the conditions under which allow_used and delete_contents matter, but adds no new syntax, bounds, or format details beyond the schema. Baseline 3 is appropriate.

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?

States the verb and resource precisely: 'Delete several project items in one call', enumerates supported item types (clips, subclips, generated items, sequences, bins), and explicitly distinguishes it from delete_project_item. An agent can identify the operation and its scope without opening the 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?

Explicitly routes single-item deletion to delete_project_item 'for one item by name or path', and explains the conditions that select destructive options: delete_contents=true for non-empty bins and allow_used=true for timeline-used items. It leaves little ambiguity about when to use this bulk tool versus the single-item sibling.

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