Skip to main content
Glama

Delete a finished file of a clip

delete_clip_file
DestructiveIdempotent

Deletes one finished file of a clip for good: its vertical export (format "vertical") or its horizontal cut (format "horizontal"). The clip and its edit document stay, so it can be rendered again with render_clip. A vertical export still running is stopped. This cannot be undone: ask the person before calling it.

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>",
      "format": "<format>"
    },
    "name": "delete_clip_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
formatYes
clip_idYesClip id, as returned by list_clips or create_clip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that only the file is removed while the clip and edit document survive (and can be re-rendered), that an in-flight vertical export is stopped, and that the action is irreversible and needs human confirmation. The annotations only flag destructive/idempotent; the description supplies the actual consequences.

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 tight sentences, front-loaded with the target scope, then the survival-of-clip guarantee, then the irreversibility warning. No filler and the most consequential warning lands last where it stands out.

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 mutation with no output schema, the description covers what is removed, what persists, side effects on running jobs, and the confirmation requirement. Nothing an agent needs for correct invocation 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 50%, with clip_id documented in-schema but format's enum undescribed. The description compensates by spelling out that 'vertical' means the vertical export and 'horizontal' the horizontal cut, giving both parameters concrete meaning.

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 ('Deletes'), a specific resource ('one finished file of a clip'), and enumerates exactly which artifacts count as the target (the vertical export or horizontal cut). It also implicitly scopes itself against the sibling delete_clip by noting the clip and edit document remain.

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?

Clearly frames when this applies (removing a rendered/cut output while keeping the clip) and adds a strong precondition: 'ask the person before calling it.' It stops short of naming the alternative tool for deleting the whole clip, leaving that routing inference to the agent.

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