Skip to main content
Glama

List floors

areas_list_floors
Read-onlyIdempotent

Retrieve all floors defined in Home Assistant to group areas by level or build floor-scoped dashboards. Returns every floor registry entry unfiltered as reported.

Instructions

List all floors defined in Home Assistant.

Reads the floor registry over WebSocket (config/floor_registry/list) and returns every entry exactly as Home Assistant reports it, unfiltered.

Use when: grouping areas by floor, e.g. before building a floor-scoped dashboard. Returns: list of floor registry dicts as reported by Home Assistant.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, and closed-world behavior. The description adds useful behavioral context beyond that by naming the WebSocket endpoint and stating that results are returned exactly as Home Assistant reports them and unfiltered.

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?

The description is front-loaded, structured with purpose, usage, and return sections, and contains no obvious filler. It is slightly more verbose than strictly necessary because the output schema already covers the return shape, but the extra framing remains useful.

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?

For a simple zero-parameter list tool with annotations and an output schema, the description is complete. It states the purpose, data source, filtering behavior, and a relevant usage scenario, so an agent has enough context to invoke it 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?

The tool takes zero parameters, so there is no parameter semantics burden. The baseline score for a no-parameter tool is 4.

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 uses a specific verb and resource: 'List all floors defined in Home Assistant.' It also names the exact backing registry endpoint, so an agent can distinguish this from sibling area, device, or entity listing tools.

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

Usage Guidelines4/5

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

It provides a clear use case: 'Use when: grouping areas by floor, e.g. before building a floor-scoped dashboard.' It gives positive guidance but does not explicitly state when not to use it or name alternative sibling tools.

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