Skip to main content
Glama

set_group

Control all lights in a room or zone simultaneously by setting brightness, color, and on/off state via a grouped_light_id. Manage multiple lights with one command.

Instructions

Control all lights in a room or zone at once via its grouped_light_id.

Get this id from list_rooms() or list_zones() (grouped_light_id field). Same parameters as set_light, minus per-light effects.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
onNo
color_xyNo
brightnessNo
transition_msNo
color_temp_mirekNo
grouped_light_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

No annotations provided, so description carries full burden. It discloses that it controls all lights (implying mutation) and excludes per-light effects, but does not explain what per-light effects are or other potential behaviors like error handling or limits.

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, extremely concise, and front-loaded with the core purpose.

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?

Given the tool has an output schema (reducing need to describe returns) and 6 parameters, the description covers the essential: what it does, how to get the id, and relation to set_light. Could add more detail on behavior (e.g., effect on lights), but is adequate.

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 0%, so description must compensate. It adds meaning by stating 'Same parameters as set_light, minus per-light effects,' which provides context by reference, but does not individually explain each parameter.

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?

The description clearly states the tool controls all lights in a room or zone via grouped_light_id, and distinguishes itself from set_light by noting it excludes per-light effects.

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?

It explicitly tells when to use (control all lights in a room/zone) and how to obtain the grouped_light_id from list_rooms/list_zones. It does not explicitly state when not to use, but the distinction from set_light is clear.

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

Install Server

Other Tools

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/mbruton/HueMCP'

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