Skip to main content
Glama

set_lighting

Update Roblox Studio Lighting properties such as ClockTime, Brightness, Ambient/OutdoorAmbient, GlobalShadows, and FogEnd to adjust scene mood and visibility from an AI client.

Instructions

Update Roblox Lighting properties (ClockTime, Brightness, RGB Ambient/OutdoorAmbient, GlobalShadows, FogEnd).

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

Input Schema

NameRequiredDescriptionDefault
ambientNo
fog_endNo
brightnessNo
clock_timeNo
global_shadowsNo
outdoor_ambientNo

Output Schema

NameRequiredDescriptionDefault
resultYes

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 supplied, so the description carries the full burden. 'Update' signals a mutation, but it does not state whether omitted optional parameters are left unchanged or reset to defaults, whether the change applies live, or whether it requires a specific editor/session state.

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 with no filler, and the field list is compact. It could be slightly better structured, but nothing is wasted.

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?

An output schema exists so return values need no explanation, and the field mapping covers most parameters. However, for a mutation tool with six optional nullable parameters and no annotations, the missing semantics about partial updates and null handling leave a real gap.

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 coverage is 0%, so the description must compensate and it partially does: it names ClockTime, Brightness, Ambient/OutdoorAmbient, GlobalShadows, and FogEnd, and clarifies that Ambient/OutdoorAmbient are RGB values. It omits formats and ranges (e.g., ClockTime as 0-24 hours, RGB channel bounds) and does not mention the null defaults.

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 ('Update') plus resource ('Roblox Lighting properties') and enumerates the affected fields, so the agent knows exactly what domain is touched. It does not explicitly distinguish itself from the generic sibling set_properties, which keeps it from a 5.

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 guidance on when to choose this over set_properties, whether Studio must be connected, or what happens with omitted fields. The usage context is only implied by the word 'Lighting'.

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