Skip to main content
Glama

overlay

Composite an image or video (logo, watermark, picture-in-picture) onto a base video at a pixel position, with optional scaling and timing; the output keeps the base audio and length.

Instructions

Composite an image or video (logo, watermark, picture-in-picture) onto a base video at a pixel position, optionally scaled and time-limited. A video overlay starts playing at start and holds its last frame if it ends early; the output keeps the base video's audio and length.

Input Schema

NameRequiredDescriptionDefault
xYesOverlay left position in pixels.
yYesOverlay top position in pixels.
endNoOptional second to hide the overlay after.
inputYesPath to the base video.
startNoOptional second to show the overlay from.
widthNoOptional overlay width in px (height auto when omitted).
heightNoOptional overlay height in px (width auto when omitted).
outputNoOptional output path. Defaults under SCREENCAST_HOME/edits.
overlayYesPath to the overlay image or video (logo, watermark, picture-in-picture).
overwriteNoAllow replacing an existing file at the output path (default false).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.32.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It usefully discloses that a video overlay starts at 'start' and holds its last frame if it ends early, and that the output keeps the base video's audio and length. However, it does not mention overwrite behavior, error conditions, or file replacement semantics.

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 tightly written sentences with the core purpose front-loaded. The second sentence adds behavioral detail that earns its place, and there is no redundant or filler content.

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?

For a 10-parameter tool with 100% schema coverage and no output schema, the description covers the core operation and important playback behavior. It stops short of explaining overwrite semantics or output path handling, but the schema fills those gaps adequately.

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 schema already documents all ten parameters clearly. The description adds minimal parameter meaning beyond the schema, only restating that the overlay is placed at a pixel position and can be scaled and time-limited, which maps to x/y, width/height, and start/end.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific verb ('Composite') and resource ('image or video onto a base video at a pixel position'), with examples of use cases (logo, watermark, picture-in-picture). It distinguishes the operation from most siblings by focusing on compositing, though it does not explicitly name alternatives like title_card or burn_subtitles.

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 usage through examples (logo, watermark, picture-in-picture) and mentions scaling and time-limiting, but it does not state when to use this tool versus alternatives such as burn_subtitles or title_card, nor does it provide explicit exclusions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.