Skip to main content
Glama

Uninstall a HACS repository

hacs_uninstall_hacs_repository
DestructiveIdempotent

Remove a HACS-managed repository and delete its installed files so the component stops working until reinstalled. Use when clearing unused integrations, plugins, or themes.

Instructions

Uninstall a HACS repository.

Calls the hacs/repository/remove WebSocket command (HACS has no separate "uninstall" command), which removes the installed files for repo_id; the integration/plugin/theme stops working until reinstalled.

Use when: removing a HACS-managed component that is no longer needed. Not for: only skipping an update while keeping it installed — there is no such option exposed here. Returns: HACS's remove result, or {"error": ..., "hint": ...} if the WebSocket call fails. Errors: {"error": str(exception), "hint": "HACS may not be installed, or the WS command name has changed"} when repo_id is not installed or the WebSocket command fails.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
repo_idYesHACS repository id to uninstall, e.g. from `hacs_list_hacs_repositories`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.25.1
    • addedInput schema / properties / repo_id / description
      Added value: +"HACS repository id to uninstall, e.g. from `hacs_list_hacs_repositories`."
  2. First observedv0.3.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, but the description adds substantive context beyond them: it removes installed files, the component stops working until reinstalled, the actual WS command name, and the exact error payload shape including a hint about HACS not being installed. That is genuine behavioral disclosure, not restatement.

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 one-line purpose, then clearly delimited Use when / Not for / Returns / Errors sections, each earning its place. Slightly verbose in restating the error object twice, but the structure is efficient and scannable.

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 single-parameter destructive tool with an output schema already present, the description covers the mechanism, the side effects, the usage boundaries and the failure modes. Nothing an agent needs 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 single repo_id parameter already carries a description pointing to hacs_list_hacs_repositories. The description reuses 'repo_id' but adds no format, sourcing, or validation detail beyond the schema, so it merits the baseline 3 rather than more.

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+resource ('Uninstall a HACS repository') and goes further by naming the underlying WebSocket command (`hacs/repository/remove`) that actually performs the work, so an agent understands the mechanism. That mechanism detail also cleanly distinguishes it from siblings like hacs_install_hacs_repository or hacs_update_hacs_repository.

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?

Explicit 'Use when' (removing an unneeded HACS-managed component) and 'Not for' (skipping an update while keeping it installed, which is not exposed here). This directly answers when-to-use and when-not-to-use, including pre-empting a likely mistaken call.

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