Skip to main content
Glama

set_light_color

DestructiveIdempotent

Modify an Unreal Engine light actor's color using RGB/RGBA floats or hex codes, returning verified color and light properties.

Instructions

Set the color of a light actor using either RGB/RGBA format (comma-separated floats) or hexadecimal format (#RRGGBB).

Returns: { light_name, requested_color, color_set, color_message, r, g, b, a, light_enabled, light_cast_shadows, light_affect_world, light_intensity, light_mobility, light_type, light_atmosphere_sun_light, light_attenuation_radius, light_inner_cone_angle, light_outer_cone_angle, x, y, z }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorYesColor in 'R,G,B,A' or 'R,G,B' format (values 0-1) or hex '#RRGGBB' format
light_nameYesName of the light actor to modify

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.1.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety/idempotency profile is covered. The description adds the input-format contract and a detailed return shape, but it never explains why a color setter is flagged destructive or what state could be affected — the one area where the annotation raises a question the text could answer.

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?

The purpose and format contract are front-loaded in one sentence, with the return listing following. The long field enumeration is verbose but earns its place because no output schema exists.

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

Completeness5/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 takes on the job of enumerating the return payload, and it also states the two accepted color encodings. For a two-parameter mutation tool this covers what an agent needs to call and interpret it correctly.

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 both parameters (light_name, color) are already fully documented in the schema, including the 'R,G,B,A' / '#RRGGBB' syntax. The description restates that same format information, adding no new semantics such as default alpha handling or clamping behavior, so the baseline of 3 applies.

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 gives a specific verb+resource ('Set the color of a light actor') and enumerates the accepted input formats, so an agent knows exactly what the tool mutates. It does not distinguish itself from sibling setters such as set_light_properties or set_light_intensity, which could also touch color, but the core purpose 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 and no mention of alternatives. An agent choosing between this and set_light_properties (which may also set color) or configure_light_shadows is left to infer that this is the narrow color-only setter.

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