Skip to main content
Glama

Delete clips

delete_clips
DestructiveIdempotent

Delete several clips from one live project in a single call, stop in-progress renders, and keep them restorable; deleted storage remains until purge.

Instructions

Delete several clips of one live project in one step (the selection bar's Delete); renders in progress stop. Each shows up on Deleted (list_deleted) and restore_clip brings it back for DELETED_RETENTION_DAYS. Already-deleted ids are skipped. Storage still counts until purge_clip. Returns { deleted, skipped, stoppedRenders, renderQueued: false, restorable, storedBytes }.

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": {
      "projectId": "<projectId>",
      "clipIds": "<clipIds>"
    },
    "name": "delete_clips"
  }
}

Input Schema

NameRequiredDescriptionDefault
clipIdsYesClip ids of that project (get_project), 1-200
projectIdYesProject id (from list_projects, search_clips or create_project)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.51.1
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.26.3

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the destructive/idempotent annotations, it discloses that deletion is reversible (restore_clip), the retention window, that in-progress renders stop, that already-deleted ids are skipped idempotently, and that storage is not freed until purge_clip. It also enumerates the return payload, so the agent knows exactly what changes on success.

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?

Dense but front-loaded: the core action and scope come first, then lifecycle semantics, then the return shape. Every sentence carries information, though the parenthetical UI reference and the terse return-object listing add a little density without much extra clarity.

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 two-parameter tool with no output schema, the definition covers side effects (render stop), reversibility and retention, storage accounting, idempotent skipping, and the exact returned fields. An agent has everything needed to call it and understand the consequences.

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 coverage is 100%, so both parameters are already documented in structured data. The description only adds the behavioral note that already-deleted ids are skipped and that the project must be live, which is useful but not substantial semantic detail about id formats or bounds.

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 a specific verb and resource ('Delete several clips'), plus scope constraints: one live project, one step, up to the selection bar's Delete. It is clearly separable from delete_clip, list_deleted, restore_clip and purge_clip because those siblings are named in the workflow it describes.

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

Usage Guidelines4/5

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

The description makes the use context explicit by explaining the soft-delete workflow: items land on Deleted (list_deleted), restore_clip reverses it within DELETED_RETENTION_DAYS, and purge_clip is needed to reclaim storage. It does not explicitly state when to choose delete_clip (singular) instead, but the multi-id framing plus the named follow-up tools give an agent enough to route correctly.

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