Skip to main content
Glama

Delete preview files

delete_sequence_previews
DestructiveIdempotent

Remove rendered preview files from a whole sequence or a time range, resetting the render bar to unrendered without altering clips or effects.

Instructions

Discard the rendered preview files of a sequence, for the whole sequence or a time range; the render bar of that range goes back to unrendered. Clips and effects are not touched. Returns deleted_duration (seconds of rendered previews removed), the green seconds before and after, and the render status afterwards.

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

Input Schema

NameRequiredDescriptionDefault
endNoEnd of the range, in seconds from the sequence start, snapped to a frame and capped at the sequence end. Must be after start. Default: the end of the sequence.
startNoStart of the range, in seconds from the sequence start, snapped to a frame. Default 0.
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description adds the crucial qualifier that only rendered previews are removed while clips and effects survive — exactly the reassurance an agent needs before invoking a destructive tool. It also documents the post-state (render bar reverts to unrendered) and the return payload (deleted_duration, green seconds before/after, resulting render status).

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 verb and resource, then scope, then non-destruction caveat, then return values — a sensible information order in three tight clauses. Slightly dense but no filler; the return-value sentence earns its place because there is no output schema.

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?

Covers the mutation's blast radius, scope options, and return values, which is enough for a 4-parameter deletion tool with full schema coverage. Minor gap: nothing about whether the action is recoverable or what it costs to re-render, and no note on behavior when the range contains no rendered frames.

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%, including defaults for start/end and the sequence_id vs sequence_name precedence, so the schema already does the heavy lifting. The description reinforces that start/end define the range whose render bar is reset, but adds no format or edge-case detail beyond that.

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 ("Discard the rendered preview files of a sequence") with an explicit scope toggle (whole sequence or a time range). The clause "Clips and effects are not touched" immediately separates it from the destructive sibling delete_sequence, and "render bar of that range goes back to unrendered" pins down the effect.

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?

Usage is implied rather than stated: an agent can infer this is the inverse of render_sequence_previews, but the description never says when to reach for this (free disk space, force a re-render, clear a bad render) or explicitly name the alternative. No exclusions or prerequisites are given.

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