Skip to main content
Glama

trim_clip

Trim a video clip by specifying start and end times or duration, then save the result to a new output file.

Instructions

Trim a clip to start/end or start+duration and write output_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNo
startNo
durationNo
overwriteNo
input_pathYes
output_pathYes
stream_copyNo
allow_any_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It discloses that an output path is written, but omits significant behavior: overwrite defaults to true and may replace an existing file, stream_copy controls re-encoding, allow_any_path restricts allowed paths, and no mention is made of ffmpeg dependency or return behavior.

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?

A single sentence with no filler, front-loaded with the core action. It is compact and scannable, though a structured mention of the trim modes could improve clarity further.

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

Completeness2/5

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

With 8 parameters, 0% schema coverage, and no annotations, the description is too thin to fully support invocation. Critical constraints—mutual exclusivity of end vs duration, default overwrite behavior, path safety flag, and time units—are missing even though an output schema exists.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate. It clarifies the relationship between start, end, and duration and names output_path, but leaves the other five parameters (overwrite, stream_copy, allow_any_path) and the units/format of timestamps unexplained.

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?

The description identifies a specific verb and resource ('trim a clip') and states the two trim modes (start/end or start+duration) plus an output destination. It is clearly distinct from siblings like concat_clips, though it does not explicitly compare itself to other tools such as run_ffmpeg.

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

Usage Guidelines2/5

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

No guidance is given on when to choose this tool over alternatives like run_ffmpeg, concat_clips, or verify_edit. The phrase 'Trim a clip' only implies intent; there are no prerequisites, exclusions, or selection conditions.

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