Skip to main content
Glama
halo-light

halo-light

set_color_preset

Idempotent

Apply a named color preset, such as warm, cool, daylight, relax, or reading, to a selected light by ID or name to control mood and task lighting.

Instructions

Apply a named preset to a light: warm, cool, daylight, concentration, relax, reading, energize, red, green, blue, purple, orange.

Input Schema

NameRequiredDescriptionDefault
presetYes
light_idNo
light_nameNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.1.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=false, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is covered. The description adds nothing beyond the preset list: it does not say what happens when both light_id and light_name are omitted (both default to empty strings), which identifier wins if both are supplied, or what an invalid preset does.

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 the action first and the allowed values after; no filler. The trailing list is long but each item is load-bearing since the schema provides no enum.

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 not be described. Still, for a three-parameter mutation tool with zero schema coverage, the description should resolve how light_id and light_name interact and what happens on a bad preset name; those gaps keep it at minimum-viable.

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% and the preset parameter has no enum in the schema, so the description's enumeration of the twelve valid preset names is genuinely valuable and compensates for part of the gap. However, the light_id/light_name pair is left unexplained despite both defaulting to empty strings, leaving the targeting semantics ambiguous.

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?

States a specific verb and resource ('Apply a named preset to a light') and enumerates the preset vocabulary, which lets an agent distinguish it from set_color_rgb, set_color_xy, and set_color_temperature. It does not explicitly name those siblings, so differentiation is inferred rather than stated.

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 at all: nothing says to prefer this over set_color_rgb, set_color_temperature, or set_scene, and no prerequisites or exclusions are given. The only implicit signal is the word 'preset', which an agent must interpret on its own.

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