Skip to main content
Glama

Create light

create_light

Add point, spot, parallel, ambient, or environment lights to an After Effects composition with color, intensity, falloff, shadows, and aiming options in one call.

Instructions

Add a light: type 'point' (default), 'spot', 'parallel', 'ambient' or 'environment' (environment needs AE 24.1+ and the Advanced 3D renderer). Sets color, intensity, cone, falloff and shadow options in one call. Spot/parallel lights aim at pointOfInterest (default comp center). Default position: up-left in front of the comp. Layers need to be 3D to be lit.

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_light"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
nameNoLayer name (default 'Light').
typeNoLight type (default 'point').
colorNoLight color '#RRGGBB' or [r,g,b].
radiusNoFalloff radius in px (falloff Smooth / Inverse Square Clamped).
falloffNoFalloff type: 'None', 'Smooth' or 'Inverse Square Clamped' (or 1-3).
optionsNoAny other option by display name or matchName, e.g. {'Iris Rotation': 30} or {'ADBE Light Intensity': 80}.
positionNoLight position [x,y,z].
coneAngleNoSpot cone angle in degrees (spot lights).
intensityNoIntensity % (100 = default, can exceed 100 or be negative to subtract light).
coneFeatherNoSpot cone feather % (spot lights).
castsShadowsNoLight casts shadows (layers also need Casts Shadows on).
backgroundBlurNoEnvironment light: background blur %.
shadowDarknessNoShadow darkness %.
falloffDistanceNoFalloff distance in px (Smooth falloff).
pointOfInterestNoPoint of interest [x,y,z] for spot/parallel lights.
shadowDiffusionNoShadow diffusion in px (soft shadows).
backgroundOpacityNoEnvironment light: background opacity %.
backgroundVisibleNoEnvironment light: show the environment as background.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations only declare it as a non-destructive, non-open-world write. The description adds real behavioral context beyond that: default position (up-left in front of the comp), default aim at comp center, host-version and renderer prerequisites, and the prerequisite that target layers must be 3D. It does not state what is returned or whether the call changes the active composition.

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?

Five tight sentences, front-loaded with the type vocabulary, then bundling, then aiming/placement defaults, then the lighting prerequisite. No redundant restatement of the tool name or title.

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 19-parameter creator with no output schema and thin annotations, the description covers the decisions that matter: type choice, environment prerequisites, placement/aim defaults, and the 3D-layer requirement. The only real gap is not saying what the call yields (e.g. the new light layer) for follow-up calls.

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?

Schema coverage is 100%, so the schema already documents all 19 parameters. The description nonetheless adds defaults absent from the schema (default position up-left and in front, pointOfInterest defaulting to comp center) and flags that color, intensity, cone, falloff and shadow settings are all settable in a single call.

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?

Opens with a specific verb+resource ("Add a light") and immediately enumerates the five supported types with the default. An agent can distinguish this creation tool from set_light_options purely from the description.

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 conditional guidance: environment lights require AE 24.1+ with the Advanced 3D renderer, spot/parallel aim at pointOfInterest, and layers must be 3D to actually be lit. It does not name set_light_options as the alternative for modifying an existing light, so the create-vs-configure boundary is left implicit.

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