Skip to main content
Glama
Vortitron

home-assistant-mcp

by Vortitron

Remove a HACS repository

ha_hacs_remove_repository
Destructive

Uninstall a HACS-managed repository's files and stop tracking it as custom. Accepts repository id or owner/repo; safe to call even if never installed.

Instructions

Uninstall a HACS-managed repository's files and stop HACS tracking it as custom. Accepts either the repository id or its 'owner/repo' full name. Safe to call on a repository that was never installed (it just stops tracking it). Requires ha:config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repositoryYesRepository id or 'owner/repo' full name.
instance_idNoOptional: the instance you mean (as listed by vomehome_list_instances). When given, the call is refused if this session is targeting a different home, instead of answering from it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.10.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so the safety profile is known. The description adds genuine value beyond them: it specifies that files are deleted and tracking stops, that the call is idempotent/safe on never-installed repos, and that ha:config is required.

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?

Three short sentences, each earning its place: what happens, the accepted input, the idempotency guarantee, and the permission requirement. Front-loaded with the core action.

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 mutation with no output schema, the description covers what is destroyed, the tracking side effect, the idempotent behavior, and the auth prerequisite. Combined with annotations and fully described parameters, nothing needed to invoke it correctly is missing.

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 description coverage is 100%, and the description's note that the repository accepts an id or 'owner/repo' name merely restates the schema's own description. No additional syntax, format, or constraint detail is added, so the baseline of 3 applies.

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 and resource ('Uninstall a HACS-managed repository's files and stop HACS tracking it as custom'), which cleanly separates it from the add/download/list HACS siblings. An agent can identify the removal operation without opening any schema.

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?

Gives clear context for when it is appropriate, including the notable case of calling it on a repository that was never installed, and states the required permission (ha:config). It does not name an alternative tool or a when-not-to-use case, so it stops 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