Skip to main content
Glama

List automations

automations_list_automations
Read-onlyIdempotent

List all Home Assistant automations with their current state, friendly name, and last-triggered time to inspect automation status at a glance.

Instructions

List all automations with their current state.

Reads ha.get_states() and keeps entries whose entity_id starts with 'automation.'.

Returns: list[dict] {"entity_id", "state", "friendly_name", "last_triggered"} per automation.

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.3/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description adds real behavioral detail by revealing it reads ha.get_states() and filters on the 'automation.' prefix — implementation semantics that tell the agent what will and won't appear.

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 with the purpose, then implementation detail, then return shape. The second sentence about ha.get_states() is slightly implementation-leaning but earns its place by explaining the filter. No filler.

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

Completeness4/5

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

An output schema exists, yet the description still names the returned fields (entity_id, state, friendly_name, last_triggered), which is helpful redundancy rather than a requirement. Everything an agent needs to call and interpret the result is present.

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 has 0 parameters, so the baseline is 4. The description doesn't invent parameters and correctly presents this as an unfiltered list, which is appropriate for a zero-arg 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?

Starts with a specific verb + resource ("List all automations") and states scope ("with their current state"). It also discloses the underlying data source and filter ('automation.' entity_id prefix), which distinguishes it from the many sibling list 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?

The description makes clear this is a read-only enumeration of automations, which is enough context to prefer it over automations_list_scripts / automations_list_scenes / automations_list_groups. It does not explicitly contrast with those siblings or state when not to use it, so it falls short of a 5.

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