Skip to main content
Glama
vino3dx
by vino3dx

light_set

Destructive

Adjust lighting properties in 3ds Max: set name, color, intensity, shadows, enable state, cone angle, penumbra, decay, and position.

Instructions

修改一个灯光的属性:名称、颜色、倍增/强度、投影、启用、聚光锥角与半影、衰减、位置。强度在不同版本字段不同(multiplier 或 intensity),两个都接受,按目标灯光的字段写入。 [English] Modify a light: name, colour, multiplier/intensity, shadows, enabled, cone angle, penumbra, decay and position. Intensity differs across releases (multiplier vs intensity); both are accepted and written to whichever field the light has.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNo新名称。 | New name.
colorNo颜色 [0-255],也可传 "#RRGGBB"。 | Colour [0-255], or a "#RRGGBB" string.
decayNo衰减类型。 | Decay type.
lightYes灯光名称。 | Light name.
enabledNo是否启用。 | Enabled.
penumbraNo聚光半影(度)。 | Spot penumbra (degrees).
positionNo位置 [x,y,z]。 | Position [x,y,z].
coneAngleNo聚光锥角(度)。 | Spot cone angle (degrees).
intensityNo强度(等价于 multiplier)。 | Intensity (alias of multiplier).
multiplierNo倍增/强度。 | Multiplier/intensity.
castShadowsNo是否投影。 | Cast shadows.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already convey that this is non-read-only and destructive, so the mutation aspect is covered. The description adds useful cross-version behavior: both multiplier and intensity are accepted and written to whichever field the target light actually has. Minor omissions, such as whether unspecified properties are left unchanged, exist, but core behavioral disclosure is solid.

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?

The description is front-loaded with a single verb and resource, followed by a compact property list and a short version caveat. The bilingual duplication is conventional and does not feel bloated. Every sentence contributes either scope, property coverage, or the cross-version clarification.

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 an 11-parameter setter with one required parameter and no output schema, the description is largely sufficient: it identifies the target, lists the mutable properties, and flags the version-sensitive parameter. It could add explicit partial-update semantics and behavior for nonexistent lights, but the schema plus annotations cover the main call constraints.

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 description coverage is 100%, so the schema carries the load for formats and enums. The description adds meaningful value with the version-specific intensity/multiplier nuance: both aliases are accepted and written to the field the light actually uses. It also maps the listed attributes directly to parameters, although the schema already documents them.

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 states a specific operation, 'Modify a light', and enumerates the affected properties: name, color, multiplier/intensity, shadows, enabled, cone angle, penumbra, decay, and position. This clearly separates it from create/delete/get operations and from generic set_property_value. It does not explicitly name sibling tools, so it stops just short of full differentiation.

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?

The description says what the tool does but never says when to choose it over alternatives such as light_set_sun, light_get, or light_create. An agent must infer from the name and property list that this is the general per-property light setter. No exclusions, prerequisites, or alternative routing are provided.

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