Skip to main content
Glama

List devices (slim fields)

devices_list_devices
Read-onlyIdempotent

List all Home Assistant devices with a slim set of common registry fields, including names, areas, manufacturers, and models. Use it for a concise device overview instead of the full raw registry.

Instructions

List all devices with a slimmed set of common fields.

Calls WS config/device_registry/list and projects each entry down to id, name_by_user, name, area_id, manufacturer, model, entry_type, plus config_entries and disabled_by when present.

Use when: you need the device registry without every raw field. Not for: the full unfiltered registry — use areas_list_devices; devices scoped to one area — use devices_list_devices_in_area; fuzzy name-based search — use search_devices. Returns: list of slimmed device dicts as described above.

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": "devices_list_devices"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, and non-destructive behavior, so the safety profile is covered. The description adds real value by naming the underlying WS endpoint `config/device_registry/list` and disclosing that `config_entries` and `disabled_by` are conditional, but says nothing about result size, pagination, or what happens on very large registries. Beyond annotations this is useful but not rich.

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 first sentence, then cleanly labeled Use when / Not for / Returns blocks. The only waste is the "Returns" line, which largely repeats the field list already given in the first two sentences; trimming it would lose nothing.

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?

An output schema exists, so return values need not be spelled out, yet the description still names the projected fields and the conditional ones. With zero parameters, full annotation coverage, and explicit alternative routing, an agent has everything needed to select and invoke this tool correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are no input parameters, so there is no parameter meaning to add; baseline applies. The field projection list describes output shape rather than inputs, which is a bonus rather than a gap.

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 and resource ("List all devices") plus the defining scope constraint ("slimmed set of common fields"), and enumerates the projected fields. It distinguishes itself from the siblings that also list devices, so an agent can pick it without opening any 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?

Contains explicit "Use when" and "Not for" sections, and the negative case names three concrete alternatives (`areas_list_devices`, `devices_list_devices_in_area`, `search_devices`) with the condition that selects each. Nothing is left to inference.

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

Deploy Server

Other Tools