Skip to main content
Glama

Execute Smart Home Device Action

alexa_smarthome_action

Control Alexa smart home devices directly: turn them on/off, set brightness, adjust target temperature, or lock/unlock locks.

Instructions

Control Alexa smart home devices directly (turn on/off, set brightness, set temperature, lock/unlock).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueNoValue for the action: brightness (0-100), temperature in degrees, lock state ("LOCKED"/"UNLOCKED"), color Kelvin or name
actionYesThe action to perform
entityIdYesThe smart home appliance/entity ID or group ID (from alexa_list_smarthome_devices)
entityTypeNoEntity type: "APPLIANCE" (individual device) or "GROUP" (smart home group)APPLIANCE

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description must disclose behavioral traits. It only says 'Control... directly' without detailing side effects, such as idempotence, error handling if device is offline, or authentication requirements. It does not contradict annotations (none provided), but it adds little beyond what the tool name suggests.

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 a single, front-loaded sentence with no filler. It gets straight to the point, listing the core actions in parentheses. Every word earns its place.

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?

For a control tool with 4 parameters and no output schema, the description provides minimal context. It does not mention expected return values, error conditions, or prerequisites (like device availability). However, the schema covers all parameter details, so the main gap is missing behavioral context for an agent deciding whether to call this tool.

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%, meaning every parameter is already documented in the schema (e.g., value has examples, action lists enums). The description adds no new meaning to the parameters; it merely repeats the action categories. Baseline 3 is appropriate because the schema does the heavy lifting.

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 'Control Alexa smart home devices directly' names a specific verb and resource, and enumerates concrete actions (turn on/off, set brightness, set temperature, lock/unlock). This clearly distinguishes it from sibling tools like alexa_query_device (querying) or alexa_list_smarthome_devices (listing).

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 devices, but does not explicitly state when to use it versus alternatives (e.g., no mention of 'use alexa_query_device to check status'). No exclusions or alternative tools are named, so the usage context is only implied.

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