Skip to main content
Glama

Delete a project item

delete_project_item
Destructive

Delete a clip, subclip, sequence, generated item, or bin from a Premiere Pro project without removing media files from disk. Block deletion of in-use items or non-empty bins unless explicitly allowed.

Instructions

Delete one item from the project: a clip, subclip, generated item, sequence or bin. The media file on disk is never deleted. Refuses (BAD_ARGS) a bin that still has contents unless delete_contents=true, and an item used on a timeline (for a bin: anything inside it) unless allow_used=true, in which case those timeline clips are removed too. Deleting a search bin removes only the search bin, never the items it shows. Returns the deleted item with deleted=true and usage_count. Use delete_project_items for several at once.

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_project_item"
  }
}

Input Schema

NameRequiredDescriptionDefault
item_idNoStable project item id (from list_project_items). Preferred.
item_nameNoItem name; the first match in the project is used.
item_pathNoPath in the Project panel, e.g. "Footage/Day 1/clip.mp4".
allow_usedNoAllow deleting an item that timeline clips use; those clips are removed from their sequences. Default false.
delete_contentsNoAllow deleting a bin together with everything inside it. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description adds the crucial non-obvious behaviors: the media file on disk is never deleted, BAD_ARGS is returned for non-empty bins or timeline-used items, and timeline clips are removed when allow_used=true. It also discloses the search-bin edge case and the return payload, which the annotations do not cover.

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

Conciseness4/5

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

Front-loaded with the core action and item types, then the caveats, with no filler sentences. The middle portion packs several conditional clauses into long sentences, which is dense but each clause carries distinct information, so nothing is wasteful.

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 mutation with no output schema, the description still states the return shape (deleted item with deleted=true and usage_count) and covers the failure modes and irreversible side effects. Nothing an agent needs in order to invoke it safely 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 extra credit by explaining the real consequences of allow_used (timeline clips are removed from their sequences) and delete_contents (bin plus everything inside), which go beyond the schema's terse "Default false" wording. It adds little about item_id vs item_name vs item_path selection, leaving that to the schema's own descriptions.

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?

Opens with a specific verb and resource ("Delete one item from the project") and enumerates the affected item types (clip, subclip, generated item, sequence, bin). It also names the bulk sibling, so the agent can distinguish this from delete_project_items 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?

Explicitly routes multi-item work to delete_project_items ("Use delete_project_items for several at once") and states the exact conditions under which the call is refused (bin with contents, item used on a timeline) plus the flags that override each refusal. When-to-use, when-it-fails, and the alternative are all present.

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