Skip to main content
Glama

alexa_get_smart_home_state

Read-only

Read live Alexa smart-home device states by name or kind, including thermostat readings, light brightness, lock, sensor, and reachability status.

Instructions

Read the live state of Alexa smart-home devices: what temperature a thermostat reads and is set to (mode, heat/cool setpoints, humidity, whether heating or cooling is running), whether lights and plugs are on and how bright, light colour, lock state, contact and motion sensors, and whether each device is reachable. Name the devices, or pass a kind (e.g. THERMOSTAT, LIGHT) to read every one of that kind. An unreachable device is reported on its row, not as a failure.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoRead every entity of this kind instead, e.g. THERMOSTAT, LIGHT (case-insensitive).
viewNoResponse shape: "compact" (default) drops fields the response already carries elsewhere; "full" returns every field this server understands.
targetsNoDevice names (or ids) from alexa_list_smart_home.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.3

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, so the safety profile is covered. The description adds genuinely useful behavioral context beyond them: 'An unreachable device is reported on its row, not as a failure' tells the agent partial results are normal, and the view field's field-dropping behavior is surfaced. Auth, rate limits, and pagination remain unstated.

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?

Front-loaded with the verb and resource, then the returned readings, then the targeting rule and the unreachable-device caveat. The long enumerative opening sentence is dense but each listed reading earns its place by pre-empting 'what will I get back' questions given there is no output schema.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description carries the return-value burden and does so thoroughly by enumerating the fields per device type, plus the unreachable-device edge case. Combined with full schema coverage of the inputs, an agent has everything needed to call this correctly.

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 all three parameters, including the targets provenance and the compact/full enum. The description's mention of naming devices or passing a kind restates the schema rather than adding syntax or format detail, so the baseline 3 applies.

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 ('Read the live state of Alexa smart-home devices') and enumerates exactly which readings are returned — thermostat mode/setpoints, light on/brightness/colour, lock, contact/motion, reachability. This clearly separates it from listing tools like alexa_list_smart_home, but no sibling is named explicitly, so it stops short of a 5.

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 explains how to scope a read ('Name the devices, or pass a kind ... to read every one of that kind'), which implies usage, but it never says when to choose this tool over alexa_control_smart_home, alexa_set_thermostat, or alexa_list_smart_home, and gives no exclusions. Usage is inferred rather than stated.

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