Skip to main content
Glama

set_light

Control a Philips Hue light by turning it on or off, adjusting brightness from 0 to 100, and setting color using hex or xy coordinates.

Instructions

Set a specific Hue light's state. You can control on/off, brightness (0-100), and color (hex string like #FF0000 or xy coordinates).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onNoTurn the light on (true) or off (false)
light_idYesThe light ID (from list_lights)
color_hexNoColor as hex string (e.g. #FF0000 for red)
brightnessNoBrightness percentage (0-100)
color_xy_xNoCIE x color coordinate
color_xy_yNoCIE y color coordinate

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

There are no annotations, so the description carries the full behavioral disclosure burden. It states that it changes a light's state and which properties can be set, but it does not disclose auth requirements, whether setting color_hex conflicts with xy coordinates, what happens when on=false with brightness/color, or side effects.

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 two sentences with no filler. It front-loads the action and resource, then lists controllable aspects efficiently. Every sentence adds value.

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?

For a 6-parameter mutation tool with no annotations and no output schema, this description is incomplete. It does not clarify whether only light_id can be sent, how color_hex interacts with xy coordinates, whether brightness applies when turning off, or what auth/state prerequisites exist.

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 the baseline is 3. The description adds a little context by noting color can be a hex string or xy coordinates and giving an example, but it does not explain precedence or interaction between color_hex and color_xy_x/y beyond what the schema already provides.

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 uses a specific verb ('Set') and resource ('a specific Hue light's state') and enumerates what can be controlled. The word 'specific' distinguishes it from set_all_lights, but it does not explicitly identify or contrast sibling tools.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description implies this tool is for controlling one light rather than all lights, but it gives no explicit 'when to use this vs. alternatives' guidance. It does not mention set_all_lights, set_scene, or other sibling tools, nor any exclusions.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/EthanSK/ai-huebot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server