Skip to main content
Glama

video_trim

Trim video clips by specifying start time and duration or end time. Cut unwanted sections from videos using timestamps or duration values.

Instructions

Trim a video clip by start time and duration.

Args: input_path: Absolute path to the input video. start: Start timestamp (e.g. '00:02:15' or seconds as string like '10.5'). duration: Duration to keep (e.g. '00:00:30' or '30'). Exclusive with end. end: End timestamp. Exclusive with duration. output_path: Where to save the trimmed video. Auto-generated if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYes
startNo0
durationNo
endNo
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations provided, the description carries full burden. It mentions the output path is 'Auto-generated if omitted' which is useful behavioral context. However, it doesn't disclose important traits like whether the operation is destructive to the original file, format compatibility, processing time, or error conditions.

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?

The description is efficiently structured with a clear purpose statement followed by parameter explanations. Every sentence earns its place - the first establishes the tool's function, and the parameter explanations are necessary given the 0% schema coverage.

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?

For a video processing tool with 5 parameters and no annotations, the description does well explaining parameters and basic behavior. The existence of an output schema means return values don't need explanation. However, it could better address mutation safety and format constraints given it's a file manipulation tool.

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?

With 0% schema description coverage, the description fully compensates by explaining all 5 parameters. It provides format examples for timestamps, clarifies the exclusive relationship between duration and end, and explains the optional output_path behavior. This adds significant value beyond the bare schema.

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?

The description clearly states the specific action ('Trim a video clip') and specifies the mechanism ('by start time and duration'). It distinguishes from siblings like video_crop (spatial) or video_edit (general) by focusing on temporal trimming.

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?

The description provides clear context for when to use this tool (trimming video clips temporally). It doesn't explicitly mention when NOT to use it or name specific alternatives, but the sibling list shows related tools like video_crop for spatial edits.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Pastorsimon1798/mcp-video'

If you have feedback or need assistance with the MCP directory API, please join our Discord server