Skip to main content
Glama

createLight

Create 3D Point, Spot, Parallel, or Ambient light layers in After Effects with intensity, color, shadow, position, and cone angle controls.

Instructions

Create a 3D light layer (Point, Spot, Parallel, Ambient) with intensity, color, shadows, and angle controls

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoLight name (default: "Light 1")
colorNoRGB color [0-1, 0-1, 0-1]
compNameNoComposition name
positionNo3D position [x, y, z]
coneAngleNoSpot light cone angle in degrees (default: 90)
intensityNoLight intensity percentage (default: 100)
lightTypeNoLight type (default: "POINT")
coneFeatherNoSpot light cone feather percentage (default: 50)
castsShadowsNoWhether light casts shadows (default: false)
shadowDarknessNoShadow darkness percentage (0-100)
pointOfInterestNo3D target point [x, y, z]
shadowDiffusionNoShadow diffusion in pixels

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It implies a write operation and lists controllable features, but says nothing about side effects, defaults, permission requirements, or what happens when parameters are omitted. What it does say largely restates the schema.

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?

A single front-loaded sentence that names the action and its major controls with no filler. It is efficient, though the parenthetical enum list slightly duplicates the schema's lightType values.

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?

For a 12-parameter mutation tool with no annotations and no output schema, the description is adequate but thin: the schema covers defaults and units, yet the description omits behavioral context such as required scoping (compName) and effects of shadow/angle settings.

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%, and all 12 parameters already document their units and defaults, so the baseline of 3 applies. The description adds no extra parameter meaning beyond naming a subset of the fields (intensity, color, shadows, angle).

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb ("Create") and resource ("3D light layer") and enumerates the supported variants (Point, Spot, Parallel, Ambient), which are the same values as the lightType enum. It is clearly distinct from siblings like createCamera, create3DLayer, or createSolidLayer, though it does not explicitly say so.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this tool versus alternatives, nor any prerequisite information (for example, whether a composition name must be supplied or which light type suits which situation). The agent must infer everything from the schema.

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