Skip to main content
Glama

Merge video clips

video_merge
Destructive

Merge two or more video clips into one rendered output file. Supports optional crossfade transitions and validates input clips to avoid errors.

Instructions

Concatenate two or more existing video clips into one rendered output file. The input clips are read only and kept unchanged; the tool creates an auto-named output or writes to output_path, using FFmpeg and reporting transition or media-mismatch validation errors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clipsYesOrdered absolute paths to existing video clips. Provide at least two clips; inputs are validated and never modified.
output_pathNoDestination video path. Auto-generated when omitted; an existing supplied path may be overwritten.
transitionNoOptional xfade transition applied to every clip boundary, such as fade, dissolve, wipeleft, wiperight, slideleft, or slideright.
transitionsNoOptional per-boundary xfade transitions. Overrides transition when provided.
transition_durationNoDuration in seconds for each transition; must fit inside neighboring clips.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations indicate destructiveHint true, but description adds value by clarifying input clips are read-only and unchanged, output may overwrite, and validation errors are reported. This goes beyond annotations.

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 sentences, front-loaded with purpose. No filler; every sentence adds value.

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?

With output schema present, description covers purpose, parameters, behavior, and errors. Minor omission: no mention of output format or codec prerequisites, but implied by 'rendered output file' and validation errors. Still highly complete.

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?

Schema coverage is 100%, but description adds significant meaning: clips are 'ordered absolute paths', output_path auto-generates or overwrites, transition lists examples, transitions overrides transition, transition_duration must fit clips. Each parameter gains context.

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?

Description clearly states the tool concatenates two or more video clips into one rendered output file. The verb 'concatenate' and resource 'video clips' are specific. Among sibling tools, none do concatenation, so it is well differentiated.

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?

No explicit when-to-use or when-not-to-use guidance. It does not mention alternatives like video_edit or video_compose. Usage is implied through the description, but lacks exclusions.

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

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