Skip to main content
Glama
home-assistant-agent-mcp

home-assistant-agent-mcp

by Hemanthkolli

ha_update_area

Rename a Home Assistant area or assign it to a floor without changing its area_id, so existing automations continue to work.

Instructions

Rename an area (room) and/or assign it to a floor. The area_id stays the same, so automations keep working.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "area_id": "<area_id>"
    },
    "name": "ha_update_area"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoNew area name. Omit to keep.
area_idYesArea id from ha_list_areas, e.g. bedroom
floor_idNoFloor id from ha_list_areas, e.g. ground. null removes the floor. Omit to keep.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full behavioral burden, and it does disclose one valuable trait: area_id is preserved so downstream automations keep working. It says nothing about permissions required, what happens to entities already in the area, or error behavior for an invalid floor_id.

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?

Two sentences, no filler, with the action and its side-effect guarantee front-loaded. Slightly more structure could be added, but nothing is wasted.

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

Completeness3/5

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

For a simple three-parameter mutation with no annotations or output schema, the description covers purpose and identity stability but omits validation and permission context that would matter for a write operation. Adequate, not thorough.

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 explains all three parameters including the null-removes-floor semantics. The description's note that area_id stays the same adds a bit of meaning about identity persistence, but nothing about name format or conflicts, 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?

The description gives a specific verb+resource pair ('Rename an area (room) and/or assign it to a floor') and clarifies the domain term by glossing 'area' as 'room'. It is clearly distinct from entity-oriented siblings such as ha_rename_entity, though it does not name any alternative outright.

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 by the two supported actions (rename, floor assignment), which is enough to know when to reach for it. There is no explicit when-not guidance, prerequisites, or pointer to an alternative tool for related operations.

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