Skip to main content
Glama
AbyAbyss

ffmpeg-mcp-video-editor

by AbyAbyss

Add a transition

add_transition

Join two video clips with a cross-fade, wipe, or slide transition, overlapping them by a set duration. Automatically matches resolution and frame rate, and crossfades audio.

Instructions

Join two clips with a cross-fade or wipe-style transition.

The clips overlap by 'duration' seconds, so the result is shorter than the two clips added together by exactly that much. The second clip is conformed to the first one's resolution and frame rate first, since xfade requires both sides to match.

Available transitions include fade, fadeblack, dissolve, the wipe family (wipeleft/right/up/down), the slide family, and circleopen/circleclose.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
encodeNo
durationNoHow long the two clips overlap, in seconds.
first_pathYesClip that plays first.
transitionNoOne of: fade, fadeblack, fadewhite, wipeleft, wiperight, wipeup, wipedown, slideleft, slideright, slideup, slidedown, circlecrop, rectcrop, circleopen, circleclose, dissolve, pixelize, radial, smoothleft, smoothright, smoothup, smoothdown.fade
output_pathNo
second_pathYesClip that plays second.
crossfade_audioNoCross-fade the audio across the same overlap.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
toolYes
job_idYes
statusNoqueued
messageNoJob queued. Poll job_status for progress, then job_result.
Behavior4/5

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

The description discloses important behavior beyond annotations: the result is shorter by exactly the overlap duration, and the second clip is conformed to the first's resolution and frame rate because xfade requires matching formats. Annotations (readOnlyHint=false, destructiveHint=false) are not contradicted; the description adds context about the non-obvious overlap and conforming behavior.

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 three short paragraphs, each earning its place: the first states the purpose, the second explains the critical overlap/conforming behavior, and the third lists transition options. It is front-loaded, free of fluff, and appropriately sized for the tool's complexity.

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?

Given the tool has 7 parameters, a nested EncodeOptions object, and an output schema, the description provides the essential operational semantics (overlap, conforming, transition choices). It does not cover crossfade_audio behavior or output_path defaults, but the schema and output schema fill most gaps. Overall, sufficiently complete for correct invocation.

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

Parameters4/5

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

The schema already describes most parameters (71% coverage), including duration and transition options. The description adds conceptual meaning by explaining that clips overlap by 'duration' seconds and the result shortens accordingly, and it lists available transition families in plain language. This supplements the schema without repeating it verbatim, but it does not detail encode parameters or output_path behavior.

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 states the exact action ('Join two clips with a cross-fade or wipe-style transition') with a specific verb and resource. It distinguishes the tool from sibling concat by focusing on transitions and overlap behavior, and enumerates the transition families (fade, wipe, slide, circleopen/circleclose).

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 clearly explains the core usage: join two clips with a transition, with overlap duration and resolution/frame-rate conforming. However, it does not explicitly compare to alternatives like concat or trim, nor state when not to use this tool. The context is clear but lacks explicit exclusions or alternative recommendations.

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/AbyAbyss/ffmpeg-mcp-video-editor'

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