Skip to main content
Glama

video_layout_pip

Overlay a smaller video on top of a main video as a picture-in-picture. Customize position, size, margin, border, and rounded corners.

Instructions

Picture-in-picture overlay.

Overlay a smaller video on top of a main video.

Args: main_path: Absolute path to main video. pip_path: Absolute path to picture-in-picture video. output_path: Absolute path for output video. position: Position (top-left, top-right, bottom-left, bottom-right). Default bottom-right. size: PIP size as fraction of main. Default 0.25. margin: Margin from edges in pixels. Default 20. border: Add border around PIP. Default true. border_color: Border color hex. Default #CCFF00. border_width: Border width in pixels. Default 2. rounded_corners: Apply rounded corners to PIP. Default true.

Returns: Dict with success status and output_path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
main_pathYes
pip_pathYes
output_pathYes
positionNobottom-right
sizeNo
marginNo
borderNo
border_colorNo#CCFF00
border_widthNo
rounded_cornersNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

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 all parameters with defaults, the return value, and the basic operation. However, it omits potential side effects like file size impact or required permissions.

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 moderately concise and well-structured with a clear docstring format. A few redundant phrases could be trimmed, but overall it efficiently conveys all necessary information.

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

Completeness5/5

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

Given the complexity of 10 parameters and the presence of an output schema (implied by context), the description fully explains purpose, all parameters, and return value, making it complete for tool selection and invocation.

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?

Despite 0% schema description coverage, the description specifies each parameter's role (e.g., 'position: Position (top-left, top-right, bottom-left, bottom-right). Default bottom-right.'), adding essential meaning beyond the schema's type/default.

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 explicitly states 'Picture-in-picture overlay' and 'Overlay a smaller video on top of a main video.' This is a specific verb-resource pair that clearly distinguishes it from siblings like video_layout_grid or video_overlay.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives such as video_layout_grid or video_overlay. The description focuses solely on parameters without contextual hints for selection.

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