Skip to main content
Glama

Create layer stack (N-layer compositor)

create_layer_stack

Build a VJ-style N-layer compositor: stack 2–8 TOP layers, set per-layer blend modes and opacity, and get a live control strip plus preview.

Instructions

Build a VJ-style N-layer compositor: stack 2–8 source TOPs and composite them bottom-up, each layer with its own blend mode (over/add/multiply/screen/difference/lighten/darken) and opacity. Each layer is a Select TOP (or a built-in test source when omitted) → a Level TOP carrying opacity; layers above the base each get their own 2-input Composite TOP so blend modes are per-layer. Exposes a live control strip — per layer: Opacity (0–1), Blend (menu), Mute, Solo — and ends on a Null ready for post-processing or setup_output. Pass layers (bottom-first) for an explicit stack, or omit it to build count empty test layers. Returns a summary plus a JSON block with the container path, per-layer node paths, the output Null, exposed controls, node errors, warnings, and an inline preview image.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoName for the compositor COMP.layer_stack
countNoNumber of layers when `layers` is omitted.
layersNoExplicit layer stack (bottom-first). Omit to build `count` empty test layers.
resolutionNoOutput resolution [w,h].
parent_pathNoWhere to build it./project1
Behavior5/5

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

The description discloses the exact node structure ('Each layer is a Select TOP... → a Level TOP... layers above the base each get their own 2-input Composite TOP'), exposed controls (Opacity, Blend, Mute, Solo), and the terminal Null node, going well beyond the minimal annotation cues. It also specifies the return payload (summary + JSON block with paths, errors, preview image).

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 detailed but each sentence adds operational value, covering purpose, architecture, parameter modes, controls, and return value. It is appropriately sized for a tool that builds a multi-node network, though slightly long compared to minimal tools.

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?

The description covers all relevant aspects: input modes (explicit vs count), node generation logic, exposed UI controls, output chain, and return format with error/warning reporting. No output schema exists, but the description thoroughly fills that gap.

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?

With 100% schema description coverage, the baseline is 3. The description adds extra meaning by explaining the relationship between layers and count, the behavior when source is omitted, and how parameters map to the node chain (e.g., opacity becomes a Level TOP parameter). This elevates it above baseline.

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 opens with 'Build a VJ-style N-layer compositor' which immediately identifies the verb, resource, and style. It further details the node chain (Select TOP → Level TOP → Composite TOP) and control strip, clearly distinguishing it from sibling tools like create_layer_mixer.

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 provides clear context for parameter selection: 'Pass layers (bottom-first) for an explicit stack, or omit it to build count empty test layers.' However, it does not explicitly state when to prefer this tool over alternative compositors or mixers, so it earns a 4 rather than 5.

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/lucasmaher-hash/touch-designer-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server