Skip to main content
Glama

Set light options

set_light_options

Change a light's type, color, intensity, cone settings, falloff, shadows, or environment background, plus position and point of interest, as static values or keyframes; returns its options.

Instructions

Change any light option (type, color, intensity, cone angle/feather, falloff, radius, shadows, environment background) and optionally its position / point of interest, statically or as keyframes at 'time'. Returns the light's options.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "light": "<light>"
    },
    "name": "set_light_options"
  }
}

Input Schema

NameRequiredDescriptionDefault
compNoComposition name, 'Folder/Name' path, or item id. Omit to use the active composition.
timeNoSet the values as keyframes at this time (seconds, '12f' or timecode). Omit = static value (or a key at the current time when the property is already animated).
typeNoChange the light type.
colorNoLight color '#RRGGBB' or [r,g,b].
lightYesLight layer (index, name or {id}).
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].
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

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds that the call returns the light's options after mutation, but says nothing about what happens to pre-existing keyframes when a value is overwritten, whether the light must already exist, or any failure modes.

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?

Front-loaded with the core action and scope, then closes with the return note; no filler sentences. The first sentence is dense but every clause carries information about what can be changed and how it is applied.

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 20-parameter mutation tool with nested objects and no output schema, the description covers the option space, the static-vs-keyframe behavior, and the return value. The remaining gap is overwrite semantics for already-animated properties, which the schema only hints at.

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 the schema already documents every parameter including time, options, and the falloff/shadow fields. The description's enumeration of settable fields largely echoes the schema, so it adds little semantic value beyond confirming the full option breadth.

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 ('Change any light option') and enumerates the option families (type, color, intensity, cone angle/feather, falloff, radius, shadows, environment background) plus the optional position/point-of-interest scope, so an agent can immediately tell this apart from create_light or set_camera_options.

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 clear usage context: modify any light option, optionally reposition, either statically or as keyframes at 'time'. It does not explicitly exclude or name alternatives (e.g. 'use create_light to add a new light'), so it stops short of full when/when-not guidance.

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