Skip to main content
Glama

Create solid layer

create_solid

Adds a solid-color layer to an After Effects composition, sized and timed to the comp by default, with optional color, size, position, and duration overrides.

Instructions

Add a solid-color layer to a composition. Size defaults to the comp size, duration to the comp duration. Returns the new layer's description (index, id, transform...). For a full-frame adjustment layer use create_adjustment_layer.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "create_solid"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoLayer name (default 'Solid').
colorNoFill color as '#RRGGBB' or [r,g,b] (default mid grey).
indexNoLayer stack index to place the new layer at (1 = top). Default: top.
widthNoWidth in px (default comp width).
heightNoHeight in px (default comp height).
inPointNoComp time where the layer starts (moves the layer in time). Default 0.
durationNoLayer duration (default comp duration).
positionNoPosition [x, y] (or [x, y, z]) in comp pixels. Default: comp center.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

The description adds real context beyond the annotations: default sizing/duration behavior and the fact that the call returns the new layer's description (index, id, transform...). However, annotations already declare this is a non-readonly, non-destructive, non-open-world mutation, and the description does not mention that it mutates the target comp or what the active-item side effects are. Credit for the return-value disclosure, but behavioural coverage is only moderate.

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?

Three tight sentences, purpose front-loaded, alternative named last. Minor redundancy in restating size/duration defaults that the schema already declares.

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?

With no output schema, the description correctly sketches the return value, and all nine parameters are covered by rich schema descriptions. Complete enough to call correctly; only the comp-state preconditions are left implicit.

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 every parameter's meaning is already documented in structured form. The description restates the size and duration defaults, which the schema already provides, and adds nothing about color format, index semantics, or position units. Baseline 3 is appropriate.

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?

States a specific verb and resource ('Add a solid-color layer to a composition') and immediately scopes defaults and the return payload. It also explicitly separates itself from create_adjustment_layer, so an agent can pick between them without opening either schema.

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?

Gives one concrete routing rule: use create_adjustment_layer for a full-frame adjustment layer. It stops short of distinguishing a solid from sibling layers like create_shape_layer or create_null, so guidance is clear but not exhaustive.

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

Deploy Server

Other Tools