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

home-assistant-agent-mcp

by Hemanthkolli

ha_delete_automation

Permanently delete a Home Assistant automation by numeric ID to remove obsolete or unwanted automations from the system.

Instructions

Permanently delete an automation by its numeric ID.

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": {
      "automation_id": "<automation_id>"
    },
    "name": "ha_delete_automation"
  }
}

Input Schema

NameRequiredDescriptionDefault
automation_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

B3.1/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full disclosure burden. It does add one genuinely important trait — the deletion is permanent/irreversible — which goes beyond the tool name. However, it says nothing about required permissions, whether deletion cascades to related automations, confirmation behavior, or what happens when the ID does not exist.

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?

A single front-loaded sentence with zero filler; the irreversible nature and the identifier requirement are both stated up front. It is efficient and well-ordered, though the extreme brevity leaves the gaps noted in the other dimensions.

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

Completeness2/5

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

For a destructive, irreversible operation with no annotations, no output schema, and 0% schema description coverage, the definition is too thin. An agent calling it correctly needs at least to know whether it should confirm first, what errors arise for unknown IDs, and whether dependent objects are affected.

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 coverage is 0% and the schema only declares automation_id as a string, but the description supplies the meaningful constraint that the ID is numeric. That resolves the string-vs-number ambiguity, yet format examples, lookup guidance, and behavior on a malformed ID are absent.

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?

States a specific verb ('delete') and resource ('automation') plus the lookup key ('numeric ID'), so an agent knows exactly what operation it performs. It does not explicitly name or contrast with siblings like ha_update_automation or ha_toggle_automation, but the verb-resource pair makes the distinction evident.

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

Usage Guidelines2/5

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

There is no guidance on when to choose this tool over ha_toggle_automation (disable) or ha_update_automation, and no prerequisites or preconditions are stated. The only usage-adjacent signal is the word 'Permanently', which hints the action is not reversible but is not framed as a when-to-use rule.

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