Skip to main content
Glama

Delete a short clip

delete_clip
DestructiveIdempotent

Deletes a clip and its exported video. Exports already counted this period stay counted. Only with the user's OK.

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

Input Schema

NameRequiredDescriptionDefault
jobIdYesThe episode's id (jobId), as returned by create_episode or list_episodes.
clipIdYesThe clip's id, from list_clips, create_clip or suggest_clips.

Output Schema

NameRequiredDescriptionDefault
deletedYes

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare destructive and idempotent behavior, so the description's job is to add context – and it does: deletion cascades to the exported video, and export counts for the current period are not refunded. The confirmation requirement adds a further operational constraint. It stops short of 5 because it doesn't say whether deletion is reversible or what the return value indicates.

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?

Three short sentences, zero waste. The destructive scope is front-loaded, followed by the billing consequence and the confirmation requirement in priority order.

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

Completeness4/5

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

An output schema exists and annotations cover the safety profile, so the description only needs to surface non-obvious behavior. It covers cascade effects, quota non-refund, and the confirmation gate. The only meaningful gap is recoverability – an agent cannot tell whether a deleted clip can be restored.

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%: both jobId and clipId carry descriptions including provenance (create_episode, list_clips, etc.). The description adds no parameter-level meaning beyond that, so the baseline 3 applies.

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

Purpose4/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 and its exported video.' The cascading scope is explicit, and 'clip' is distinguishable from sibling resources like graphics, files, and upload sources. It does not explicitly contrast with remove_file or remove_graphic, so it stops short of full sibling differentiation.

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

Usage Guidelines3/5

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

The line 'Only with the user's OK' establishes a confirmation requirement before invoking, which is real usage guidance for a destructive tool. However, it gives no guidance on when to delete versus recut/update a clip, and no prerequisites or preconditions beyond confirmation.

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