Skip to main content
Glama
Smart House MCP Server

Smart House MCP Server

list_devices

List all smart home devices, optionally filtered by room, type, group, or adapter, so you can retrieve device inventory before controlling or automating them.

Instructions

List all smart home devices. Optionally filter by room, type, group, or adapter.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault
roomNoFilter by room name (e.g. 'bedroom', 'kitchen')
typeNoFilter by device type (bulb, plug, ac, tv, curtain, sensor, fan, switch, thermostat)
groupNoFilter by group name (e.g. 'bedroom lights')
adapterNoFilter by adapter (demo, wiz, hue, tuya, mqtt, homeassistant)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description must carry behavioral disclosure. 'List' reasonably conveys a read-only, non-destructive operation, but nothing is said about result ordering, pagination/size limits, or what happens when a filter matches nothing, which matters for a 4-filter listing tool.

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?

Two short sentences with zero padding, and the core purpose is front-loaded before the optional filtering clause. Nothing here needs trimming.

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?

For a zero-required-parameter read-only listing tool with full schema coverage and no output schema, the description covers what the tool returns at a high level and how filters narrow it. Only the absence of any return-shape or result-volume hint keeps it from a 5.

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% and each filter already documents its accepted values (rooms, device types, adapter names). The description names the same four filter dimensions, so it adds no meaning beyond the schema; 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?

The description opens with a specific verb+resource pair ('List all smart home devices'), which immediately separates it from siblings like list_scenes, control_device, or get_state. It does not explicitly name a sibling as an alternative, so it stops short of the top mark.

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?

Usage is implied: call with no filters to get everything, or narrow by room/type/group/adapter. There is no explicit when-to-use versus when-to-use-an-alternative statement, and no guidance such as preferring this over get_state for discovery versus control.

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