Skip to main content
Glama

Stack videos

stack_videos

Stack videos side-by-side, vertically, or in a grid for easy comparison. Output matches the first clip's dimensions and audio.

Instructions

Play videos side by side (horizontal), on top of each other (vertical), or in a grid — great for comparisons. Clips are normalized to the first clip's size; audio comes from the first clip that has any.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layoutNoArrangement (default horizontal)
input_pathsYesVideos to stack, in order
output_pathNoWhere to write the result
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses key behaviors: clips are normalized to the first clip's size, and audio comes from the first clip that has any. This goes beyond the schema and helps set expectations for output characteristics.

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 the main purpose, followed by precise behavioral details. No wasted words.

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?

The description covers the essential behavior for a stacking tool, including layout options, size normalization, and audio selection. Given the small parameter set and full schema coverage, it is sufficiently complete, though it could mention output format or edge cases.

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 description coverage is 100%, so the baseline is 3. The description adds slight context about input ordering (first clip as reference) but does not significantly enhance understanding of the parameters beyond the schema's own descriptions.

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 arranges videos in horizontal, vertical, or grid layouts, using the verb 'stack' implicitly through 'Play videos side by side...'. It differentiates from siblings like concat_videos (sequential) and picture_in_picture (overlay) by focusing on multi-video layouts for comparison.

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?

It explicitly indicates 'great for comparisons', which provides a clear use case. It does not mention when-not-to-use or alternatives, but the context is sufficient for an agent to infer appropriate usage.

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/gulkoa/vidshaper'

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