Skip to main content
Glama

Frapea

apply_layout

Arranges clips into a screen layout by writing ordinary transform + crop values (first clipId → first cell). layout: full | side-by-side | top-bottom | pip-top-left | pip-top-right | pip-bottom-left | pip-bottom-right | grid-2x2 | main-sidebar | three-up. mode 'fit' letterboxes each source in its cell, 'cover' fills the cell and crops the overflow (bias 0–1 picks the surviving part; 0.5/0.5 = centre). Replaces the clips' geometry animation. The clips should overlap in time on different tracks — a layout of clips that never share a frame arranges nothing visible.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
biasNoCover-crop bias 0–1 per axis (default 0.5/0.5).
modeNofit | cover (default fit).
tokenYesThe session token `connect` returned. Pass it on every call — it says which browser to drive.
layoutYesLayout id (see description).
clipIdsYesClips to arrange, in cell order.
projectIdYesProject id from get_projects.
timelineIdYesTimeline containing the clips.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources