Skip to main content
Glama

ffmpeg_merge

Merge multiple video files into one by specifying their paths in order. Optionally set an output path. Uses FFmpeg for concatenation.

Instructions

Concatenate multiple video files into one.

Args:
    file_paths: List of paths to video files to merge (in order)
    output_path: Optional output file path. If not specified, saves to default output directory.

Returns:
    Path to the merged file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathsYes
output_pathNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are present, so the description bears full responsibility for disclosing behavior. It only states the basic operation and mentions an optional output path, but omits critical behavioral details like file format compatibility, codec requirements, error handling, or behavior when files have different resolutions.

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?

The description is concise, using a clear structure (Args/Returns). Two sentences for the main description and two for parameters, but no unnecessary information. It could be slightly more compact but is well-organized.

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

Completeness3/5

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

While the description covers the minimal essentials for merging files, it lacks completeness regarding supported formats, order enforcement, error conditions, and return value details. An output schema exists but the description does not leverage it to explain the output path format.

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?

Schema coverage is 0%, so the description adds significant value beyond the schema. It explains that file_paths is a list of paths in order, and output_path is optional with a default behavior. This provides necessary context for correct invocation.

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's purpose with a specific verb ('concatenate') and resource ('multiple video files into one'). It effectively distinguishes from sibling tools like ffmpeg_trim, ffmpeg_compress, etc., which have different operations.

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 the tool is for merging video files in order, but it lacks explicit guidance on when to use it versus alternatives (e.g., when to use ffmpeg_merge vs ffmpeg_convert or other tools). No 'when not to use' or prerequisite information is provided.

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/kevinwatt/ffmpeg-mcp-lite'

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