Skip to main content
Glama

alexa_control_smart_home

Control Alexa smart-home devices, groups, or scenes: turn lights and plugs on/off, set brightness or color, activate scenes. Confirmation required.

Instructions

Control an Alexa smart-home device, group or scene: turn lights and plugs on or off, set brightness (0–100), set a light colour (colorName, e.g. "red") or white temperature (colorTemperatureName, e.g. "warm_white"), or activate a scene. Thermostats use alexa_set_thermostat; other device modes (fan mode, vacuum) alexa_set_device_mode; doors have their own tools. A device that is offline is reported as an error, not silently ignored. Asks the user to confirm first: a confirmation prompt where the client supports one; otherwise the first call returns a preview and a confirmToken, and only a repeat call with that token proceeds (see MCP_CONFIRM_MODE).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYesWhat to do.
targetYesDevice, group or scene name (or id) from alexa_list_smart_home.
colorNameNoRequired for setColor: an Alexa colour name, lower case, e.g. "red", "blue", "warm_white".
brightnessNoRequired for setBrightness: 0–100.
confirmTokenNoONLY for the two-step confirmation fallback (a client without MCP elicitation). The confirmToken from this same tool's phase-1 "confirmation-required" response, passed back ONLY after the user has seen that preview and explicitly approved it in chat — never on the first call, never invented, never reused. Call again with the same arguments. Ignored when the client supports elicitation.
colorTemperatureNameNoRequired for setColorTemperature: e.g. "warm_white", "soft_white", "white", "daylight_white", "cool_white".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only supply generic hints (readOnly=false, destructive=false, openWorld=true); the description adds genuinely new behavioral facts: an offline device surfaces as an error rather than a silent no-op, and the tool always asks for confirmation first, with a concrete two-step fallback and a confirmToken that must never be invented or reused. That is materially more than the annotations convey.

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?

Purpose and action list are front-loaded, then sibling exclusions, then the confirmation protocol in a compact final sentence. It is dense for a single paragraph and the confirmation detail partially duplicates the confirmToken schema description, which costs a point, but no sentence is filler.

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?

With no output schema, the description still covers the two response shapes an agent will encounter (error on offline devices, and confirmation-required preview/confirmToken), which is the critical missing piece. It stops short of describing success-response contents or idempotency of repeat calls, a minor residual 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 description coverage is 100%, so the schema already documents every parameter, including the confirmToken rules and enum values. The description's parameter-related content (brightness 0–100, colorName/colorTemperatureName examples, target sourced from alexa_list_smart_home) largely restates the schema, so baseline 3 applies.

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?

States a specific verb (control) plus resource (Alexa smart-home device, group or scene) and enumerates the action set (on/off, brightness, colour, white temperature, scene activation). It also explicitly names what it is NOT for, routing thermostats, device modes and doors to their own tools, so it is distinguishable from siblings without opening the schema.

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

Usage Guidelines5/5

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

Explicitly names alternatives and the conditions selecting them: 'Thermostats use alexa_set_thermostat; other device modes (fan mode, vacuum) alexa_set_device_mode; doors have their own tools.' It also spells out the confirmation workflow (client prompt vs. two-step preview/confirmToken), which is exactly the guidance an agent needs before invoking.

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