Skip to main content
Glama

video_shape_mask

Apply geometric shape masks like circle, rounded rectangle, or oval to videos with adjustable feather radius for soft edges.

Instructions

Apply a geometric shape mask to a video.

Args: input_path: Absolute path to the input video. shape: Shape to use — "circle", "rounded_rect", or "oval". output_path: Where to save the output. Auto-generated if omitted. feather: Feather radius in pixels (0 = sharp edges).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
input_pathYes
shapeNocircle
output_pathNo
featherNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Discloses auto-generated output path and feather effect, but with no annotations, it misses side effects like overwriting behavior or mutation of input. Could be more transparent about file operations.

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?

Description is concise with main action front-loaded. The Args block adds some redundancy but overall efficient.

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?

Covers core functionality and all parameters. Output schema exists so return values are covered. Could add context on file format constraints or destructive nature.

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?

Adds meaning beyond schema by explaining input_path as absolute path, shape options, auto-generation of output_path, and feather radius in pixels. Schema has 0% coverage, so description compensates well.

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?

Clearly states 'Apply a geometric shape mask to a video' with specific shape options (circle, rounded_rect, oval). Distinguishes from sibling 'video_apply_mask' by focusing on geometric shapes.

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?

Implies usage for geometric masks but lacks explicit guidance on when to use versus alternatives like 'video_apply_mask'. No when-not-to or prerequisite information.

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