Skip to main content
Glama

Delete a clip

delete_clip
DestructiveIdempotent

Deletes a clip for good, with its edit document and every file made from it (the vertical export and the horizontal cut). The video it came from stays. This cannot be undone: ask the person before calling it. To delete only a finished file and keep the clip, use delete_clip_file.

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": {
      "clip_id": "<clip_id>"
    },
    "name": "delete_clip"
  }
}

Input Schema

NameRequiredDescriptionDefault
clip_idYesClip id, as returned by list_clips or create_clip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

The annotations already declare destructiveHint=true and idempotentHint=true, yet the description still adds substantive behavior: exactly what is destroyed (clip, edit document, vertical export, horizontal cut), what survives (the source video), and that the operation is irreversible. This is precisely the cascade detail an agent cannot infer from the hints.

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 short sentences, front-loaded with the destructive scope, then the survival note, then the irreversibility warning, then the alternative. Every sentence carries distinct information with no repetition of the annotations or schema.

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 single-parameter destructive deletion with full annotation coverage and no output schema, this is complete: cascade effects, retained data, irreversibility, confirmation, and the sibling alternative are all covered. An agent has everything needed to call it correctly and safely.

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

Parameters5/5

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

Only one parameter exists and the schema documents it fully (100% coverage, UUID pattern, plus provenance 'as returned by list_clips or create_clip'), so the schema already carries the semantics. Baseline for this case is high, not penalized.

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 ('Deletes a clip for good') and immediately scopes the blast radius by naming the cascade: edit document plus every derived file (vertical export, horizontal cut). It also explicitly distinguishes itself from the sibling delete_clip_file, so an agent can choose between them 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?

Gives an explicit alternative and the condition that selects it: 'To delete only a finished file and keep the clip, use delete_clip_file.' It also adds a precondition ('ask the person before calling it'), which is actionable guidance for a destructive operation rather than vague advice.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources