Skip to main content
Glama
Vortitron

home-assistant-mcp

by Vortitron

Install (download) a HACS repository

ha_hacs_download_repository
Destructive

Install or update a HACS repository in Home Assistant, writing its files to the config directory and reloading HACS entities for new integrations.

Instructions

Install or update a repository HACS already knows about — this is the step that actually writes its files into the config directory and, for a brand-new integration, reloads HACS's entities. Accepts either the repository id (from ha_hacs_list_repositories or ha_hacs_add_repository) or its 'owner/repo' full name. A newly installed custom integration or add-on domain still needs a Home Assistant restart before it can be set up; a plugin/theme/dashboard resource does not. Requires ha:config.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
versionNoSpecific version/tag to install. Omit for the latest.
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.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, and the description adds real value on top: it discloses that files are written to the config directory, that HACS entities get reloaded for brand-new integrations, and that a restart is conditionally needed. It does not say what an update overwrites or whether a failure leaves partial files, which is the main remaining gap for a destructive write.

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?

Three dense sentences with the core action front-loaded, followed by accepted inputs, then prerequisites. Every sentence carries information, though the restart caveat and auth requirement could be trimmed slightly for a tighter read.

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

Completeness4/5

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

No output schema exists, and the description covers the essentials an agent needs: write semantics, auth scope, accepted identifier forms, and post-install behavior. It stops short of describing the return payload or what happens on a failed download, which keeps it from a 5.

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, but the description adds provenance the schema lacks: it says where the repository id comes from (ha_hacs_list_repositories or ha_hacs_add_repository) and confirms the 'owner/repo' alternative. It does not elaborate on version or instance_id beyond the schema text.

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 ('Install or update a repository HACS already knows about') and immediately scopes it against siblings by naming the registration step (ha_hacs_add_repository) as the prior step. The phrase 'the step that actually writes its files into the config directory' tells the agent exactly what distinguishes this tool from the other ha_hacs_* tools.

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?

Explicitly names the two sources for the repository id (ha_hacs_list_repositories or ha_hacs_add_repository), the implicit precondition that HACS must already know the repository, and the post-install requirement (restart for integrations/add-ons, not for plugin/theme/dashboard resources). It also states the required auth scope (ha:config).

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