Skip to main content
Glama

Reload zones from YAML

zones_reload_zones
Idempotent

Reloads YAML-defined zones in Home Assistant to apply edits without a full restart. Use after modifying zone configuration in configuration.yaml.

Instructions

Reload zones defined in configuration.yaml.

Calls service zone.reload over HTTP, which makes Home Assistant re-read YAML-defined zones without a full restart.

Use when: you edited zone YAML and want the change applied, or after zones_create_zone reports that YAML zones aren't supported. Returns: dict with status and the raw service-call result. Errors: on failure, returns {"error": "<message>"} instead of raising.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare idempotentHint=true and destructiveHint=false, but the description adds real value: it names the underlying service call and the 'no full restart' effect, plus explicit error behavior (returns {"error": ...} rather than raising). Slight redundancy with the output schema on the return value, but error handling is not in the schema.

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 purpose sentence, then labeled 'Use when', 'Returns', and 'Errors' blocks. Every sentence earns its place; no filler.

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 zero-param reload action, the description covers purpose, mechanism, when-to-use, return shape, and error behavior. With an output schema present, return-value detail needn't be deeper; nothing an agent needs to invoke correctly is missing.

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 nothing to document; the no-arg design is implicitly consistent with the description's service-call framing. Baseline 4 applies for a parameterless tool.

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+resource ('Reload zones defined in configuration.yaml') and reveals the underlying mechanism ('zone.reload' over HTTP). Clearly distinguishable from siblings like zones_create_zone, zones_update_zone, and zones_list_zones.

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?

Explicit 'Use when' clause gives both triggering scenarios: after editing zone YAML, or after zones_create_zone reports YAML zones aren't supported. This directly routes the agent to this tool versus alternatives.

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