Skip to main content
Glama

Compose panels

compose_panels

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. PROJECT-SCOPED: build ONE 16:9 clip that shows 2 or 3 independent videos side-by-side on a solid BLACK canvas — the signature multi-panel athlete/action wall. Do NOT fake this with pad_blur inserts plus small PIP overlays. columns is either a list of 2–3 asset_keys or a list of columns, each a list of {asset_key, start, duration} clips that play in that column (when one clip ends the next one in that column starts). duration_s caps the result (1–20s, default 8). The file is saved as a video_clip and is NOT in the program until insert_media (use fit='pad'). Audio is omitted — add_music for the bed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
columnsYes
duration_sNo
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the bare annotations, the description discloses meaningful behavior: it is project-scoped to the explicit project_id, saves a video_clip, does not place it in the program until insert_media, omits audio, and caps duration at 1-20s. This gives the agent clear expectations about side effects.

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 dense but every sentence serves a purpose: scope, core behavior, anti-pattern warning, parameter semantics, and post-processing notes. It is front-loaded with project-scoping, though the repeated 'PROJECT-SCOPED' phrasing is somewhat redundant.

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?

The description covers composition rules, duration limits, file persistence, insertion status, and audio behavior. However, with no output schema, it only vaguely says 'returns the project identity with its result'—it does not specify the exact response shape or whether the operation is synchronous or asynchronous, leaving some uncertainty for an agent invoking it.

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?

The schema only lists `columns` as a bare array and `duration_s` as a number, with 33% description coverage. The description compensates by explaining the two valid formats for columns (list of asset_keys or list of column clip-lists) and defining each clip's structure as {asset_key, start, duration}, plus the valid range/default for duration_s.

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 states precisely what the tool does: 'build ONE 16:9 clip that shows 2 or 3 independent videos side-by-side on a solid BLACK canvas'. It also distinguishes itself from the naive approach ('Do NOT fake this with pad_blur inserts plus small PIP overlays'), making its unique purpose clear relative to sibling tools.

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 gives strong context for when to use the tool—creating the signature multi-panel athlete/action wall—and explicitly warns against faking it with pad_blur inserts and PIP overlays. It also points to follow-up steps: insert_media with fit='pad' and add_music for audio. It doesn't name specific alternative tool names, but the guidance is usable.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.