Skip to main content
Glama

blueprints_delete_blueprint

Remove an installed Home Assistant blueprint by specifying its relative path, such as 'author/blueprint_name.yaml'.

Instructions

Delete an installed blueprint by its relative path (e.g. 'author/blueprint_name.yaml').

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
pathYes
domainNoautomation

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Implementation Reference

  • The actual handler function for the 'blueprints_delete_blueprint' tool. It calls the Home Assistant WebSocket API with message type 'blueprint/delete', passing a domain and path.
    @mcp.tool()
    def delete_blueprint(path: str, domain: str = "automation") -> dict:
        """Delete an installed blueprint by its relative path (e.g. 'author/blueprint_name.yaml')."""
        return ha._ws_call("blueprint/delete", domain=domain, path=path)
  • The helper function that sends the WebSocket call to Home Assistant. This is the underlying transport used by delete_blueprint.
    def _ws_call(msg_type: str, **kwargs) -> Any:
        try:
            asyncio.get_running_loop()
        except RuntimeError:
            return asyncio.run(_ws_call_async(msg_type, **kwargs))
        import concurrent.futures
        with concurrent.futures.ThreadPoolExecutor() as pool:
            return pool.submit(asyncio.run, _ws_call_async(msg_type, **kwargs)).result()
  • server.py:42-42 (registration)
    Registration of the blueprints MCP server under the 'blueprints' namespace. Combined with the tool name 'delete_blueprint', this produces the full tool name 'blueprints_delete_blueprint'.
    mcp.mount(blueprints_mcp, namespace="blueprints")
  • The FastMCP instance for the blueprints module, mounted with namespace 'blueprints'. The @mcp.tool() decorator on delete_blueprint registers it under this namespace.
    mcp = FastMCP("blueprints")
Behavior2/5

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

No annotations provided, so description should disclose behavioral traits. Only states 'delete' but omits consequences, permissions, or what happens if blueprint is in use.

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?

Single sentence with example, no redundancy, front-loaded with key action and identifier format.

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?

Output schema exists, but for a destructive tool, more behavioral context is expected. Adequate but lacks usage and parameter details.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only 'path' is explained with example; 'domain' parameter with default 'automation' is not mentioned. Schema coverage is 0%, and description does not compensate fully.

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?

Description clearly states the action (delete), resource (installed blueprint), and identifier (relative path with example). Distinct from siblings like import, list, substitute.

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?

No guidance on when to use this tool versus alternatives, nor any prerequisites or when-not-to-use. Lacks context for decision-making.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Fistacho/ha-nexus-agent'

If you have feedback or need assistance with the MCP directory API, please join our Discord server