Skip to main content
Glama

Delete an installed blueprint

blueprints_delete_blueprint
DestructiveIdempotent

Deletes an installed Home Assistant blueprint by relative domain path, removing its file with no backup; existing automations and scripts keep running unchanged.

Instructions

Delete an installed blueprint by its relative path.

Calls the blueprint/delete WebSocket command for domain/path; the file under /config/blueprints// is removed and its content is lost, with no backup taken by this tool.

Not for: automations or scripts generated from this blueprint — they keep running with their already-substituted config; use automations_delete_automation or automations_delete_script for those. Returns: {"deleted": true, "domain", "path"} (Home Assistant itself answers with no payload). Limits: blocks for the WebSocket round trip; the default 10 second response wait in ha._ws_call applies. No confirm parameter guards this deletion.

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": {
      "path": "<path>"
    },
    "name": "blueprints_delete_blueprint"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesBlueprint path relative to /config/blueprints/<domain>/ to delete, e.g. 'author/blueprint_name.yaml'.
domainNoBlueprint domain folder `path` lives under, 'automation' or 'script'. Defaults to 'automation'.automation

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.25.1
    • addedInput schema / properties / domain / description
      Added value: +"Blueprint domain folder `path` lives under, 'automation' or 'script'. Defaults to 'automation'."
    • addedInput schema / properties / path / description
      Added value: +"Blueprint path relative to /config/blueprints/<domain>/ to delete, e.g. 'author/blueprint_name.yaml'."
  2. First observedv0.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, but the description goes well beyond: the file under /config/blueprints/<domain>/ is removed with no backup, there is no confirm parameter guarding the call, the call blocks on a WebSocket round trip with the default 10 second wait, and downstream automations retain their already-substituted config. That is materially useful behavioral context not derivable from the annotations.

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 action, then labeled sections (Not for / Returns / Limits) make it scannable with no filler. The 'Returns' line partially duplicates the existing output schema, which is the one redundant element.

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 destructive, two-parameter tool the description covers the mutation's effect, irreversibility, timeout behavior, and the sibling-tool escape hatches. Combined with the output schema and destructive annotations, an agent has everything needed to call this safely and correctly.

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?

Schema coverage is 100%, so the baseline is 3, and the description adds a little by tying 'domain' to the concrete folder /config/blueprints/<domain>/ and reinforcing that 'path' is relative. The default of 'automation' is left entirely to the schema, so it falls short of full compensation.

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?

The first sentence names a specific verb and resource ('Delete an installed blueprint by its relative path') and identifies the exact WebSocket command invoked ('blueprint/delete' for domain/path). It is immediately distinguishable from sibling write tools like blueprints_save_blueprint or blueprints_import_blueprint.

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?

The 'Not for' clause is an explicit exclusion with named alternatives: automations/scripts generated from the blueprint keep running and must be removed via automations_delete_automation or automations_delete_script. This is exactly the routing an agent needs to avoid the wrong delete tool.

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