Skip to main content
Glama

add_light

Creates a PARALLEL, SPOT, POINT, or AMBIENT light in an After Effects composition and lets you set its name, color, position, and intensity.

Instructions

Add a light. type: PARALLEL | SPOT | POINT | AMBIENT.

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": "add_light"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComp: name (string), or { id: N } for duplicate-name-safe stable-id addressing. Defaults to active comp.
nameNo
typeNoPOINT
colorNo
instanceNoTarget a specific AE when more than one is connected (e.g. "2026", "2025", or a major like "26"). Omit when only one AE is open — see list_instances.
positionNo
intensityNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses none of it: not the defaults applied (schema default POINT, but nothing about color/intensity/position defaults), not that a comp must be active or an AE instance connected, and not what is returned. For a scene-mutating tool, this is a substantial gap.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The text is front-loaded and contains no filler, but that is because it is drastically under-written rather than efficiently written. The trailing 'type: ...' fragment restates schema content instead of spending those words on missing semantics.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With seven parameters, no annotations, and no output schema, the agent needs far more than one sentence: return shape (the created light or its index), required project/instance state, and the meaning of the majority of undocumented parameters. The definition leaves an agent unable to predict the result of the call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 29% across 7 parameters, so the description should compensate, but it merely repeats the 'type' enum already fully specified in the schema. It adds nothing about the color array format (RGB triples, likely 0-1), the 2-vs-3 component position semantics, intensity units, or name auto-generation.

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 and resource ('Add a light'), which clearly separates it from siblings such as add_camera, add_solid, and add_null. It does not explicitly state the scope (active comp vs. targeted comp) or contrast with any alternative, but the action itself is unambiguous.

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 when-to-use guidance, no prerequisites (e.g. an open project or a connected AE instance), and no mention of alternatives such as add_camera or add_solid when the intent is ambiguous. The only guidance is an enumeration of light types, which does not tell the agent when to pick this tool.

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