Skip to main content
Glama
lawriec
by lawriec

trim_video

Cut a video clip by specifying start and end times. Output is re-muxed for fast, lossless trimming.

Instructions

Cut a clip from a video by specifying start and end times. The output is re-muxed (not re-encoded) so it is fast and lossless.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
end_timeYesEnd time in seconds
file_pathYesAbsolute path to the input video file
start_timeYesStart time in seconds
output_pathNoAbsolute path for the output file. Defaults to same directory with '_trimmed' suffix.
Behavior3/5

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

With no annotations, the description does some work by revealing that the output is re-muxed (not re-encoded) and thus fast and lossless. However, it does not disclose side effects, whether the operation is non-destructive, or any limitations such as frame accuracy.

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?

Two concise sentences with the primary action first. No redundant information; every phrase earns its place.

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 simple 4-parameter tool, the description covers the core operation and a key behavioral characteristic (re-muxing). It lacks explicit usage guidance but the schema fills in parameter details, and no output schema is needed.

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%, so all parameters are already described. The description adds no further semantic detail beyond the schema, matching the baseline for high schema coverage.

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 tool cuts a clip from a video using start and end times. This specific verb+resource+method distinguishes it from sibling tools like crop_video (spatial) and split_video (multiple segments).

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 description implies usage for time-based clipping but does not explicitly state when to use this tool over alternatives or provide exclusions. No comparison with sibling tools is offered.

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/lawriec/mcp-video-reader'

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