Skip to main content
Glama

Create area

areas_create_area

Create a new Home Assistant area (room) to assign devices, entities, or labels to it. Use when you need a new area, not to rename or update an existing one.

Instructions

Create a new Home Assistant area (room).

Calls WS config/area_registry/create with name; Home Assistant assigns a new area_id and there is no way to request a specific one, so calling this twice with the same name creates two distinct areas.

Use when: you need a new area to assign devices, entities or labels to. Not for: renaming an existing area or changing its icon, floor or aliases — use areas_update_area. Returns: the created area registry dict (area_id, name, floor_id, icon, aliases, picture).

Input Schema

NameRequiredDescriptionDefault
nameYesDisplay name for the new area, e.g. 'Kitchen'.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.25.1
    • addedInput schema / properties / name / description
      Added value: +"Display name for the new area, e.g. 'Kitchen'."
  2. First observedv0.3.0

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already flag readOnly=false, idempotent=false, destructive=false, but the description adds the concrete consequence: HA assigns area_id automatically with no way to request one, so calling twice with the same name produces two distinct areas. That operationalizes the non-idempotent hint in a way the annotation cannot, and notes the return payload.

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?

Front-loaded with the core action, then structured into mechanism, when-to-use, when-not-to-use, and return shape. Every sentence carries distinct information; nothing is padding.

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 single-parameter creation tool, the description covers mechanism, duplication risk, alternative tools, and return contents. The output schema already exists, so the brief returns line is a convenience rather than a gap.

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?

Only one parameter with 100% schema description coverage ('Display name for the new area, e.g. Kitchen'), so the schema already carries the semantics. The description restates that `name` is what is passed to the WS call but adds no format constraints or edge cases. Baseline 3 is appropriate.

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 ('Create a new Home Assistant area') and goes further by naming the underlying WebSocket call (`config/area_registry/create`). An agent knows exactly what entity type is produced and how it is stored, distinct from siblings like areas_update_area or areas_delete_area.

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?

Uses explicit 'Use when' / 'Not for' framing, naming the condition for use (need a new area to assign devices, entities, or labels) and the alternative for the excluded case (`areas_update_area` for renames, icon, floor, aliases). 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