Skip to main content
Glama
homeassistant-ai

Home Assistant MCP Server

Official

Get Add-ons

ha_get_addon
Read-onlyIdempotent

Retrieve Home Assistant add-on information: list installed or available add-ons, or get detailed info for a specific add-on including ingress, ports, options, and state.

Instructions

Get Home Assistant add-ons - list installed, available, or get details for one.

This tool retrieves add-on information based on the parameters:

  • slug provided: Returns detailed info for a single add-on (ingress, ports, options, state)

  • source='installed' (default): Lists currently installed add-ons

  • source='available': Lists add-ons available in the add-on store

Note: This tool only works with Home Assistant OS or Supervised installations.

SINGLE ADD-ON (slug provided): Returns comprehensive details including ingress entry, ports, options, state, and (when the add-on exposes one) a top-level log_level reflecting the current Supervisor option — useful for confirming ha_manage_addon log_level changes. Useful for discovering what APIs an add-on exposes before calling ha_manage_addon.

INSTALLED ADD-ONS (source='installed'): Returns add-ons with version, state (started/stopped), and update availability.

  • include_stats: Optionally include CPU/memory usage statistics

AVAILABLE ADD-ONS (source='available'): Returns add-ons from official and custom repositories that can be installed.

  • repository: Filter by repository slug (e.g., 'core', 'community')

  • query: Search by name or description (case-insensitive)

Example Usage:

  • List installed add-ons: ha_get_addon()

  • Get Node-RED details: ha_get_addon(slug="_nodered")

  • List with resource usage: ha_get_addon(include_stats=True)

  • List available add-ons: ha_get_addon(source="available")

  • Search for MQTT: ha_get_addon(source="available", query="mqtt")

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slugNoAdd-on slug for detailed info (e.g., '<prefix>_nodered'). Slug prefixes vary by add-on repository — omit to list all add-ons and discover the actual installed slug.
queryNoSearch filter for add-on names/descriptions (only for source='available')
sourceNoAdd-on source: 'installed' (default) for currently installed add-ons, 'available' for add-ons in the store that can be installed.
repositoryNoFilter by repository slug, e.g., 'core', 'community' (only for source='available')
include_statsNoInclude CPU/memory usage statistics (only for source='installed')

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

The description goes beyond the readOnlyHint and idempotentHint annotations by detailing the specific information returned for each mode (e.g., ingress, ports, options for single add-on; version/state for installed; search for available). It also explains that slug prefixes vary, advising to omit slug to discover the actual slug, which is valuable behavioral context.

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?

The description is well-structured with clear sections for each mode, bullet points, and examples. It is front-loaded with the core purpose and each section adds necessary detail without redundancy. Despite length, every sentence earns its place.

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?

The description covers all usage scenarios and return values comprehensively. Given that an output schema exists (though not shown), the description is complete enough for an AI agent to understand what to expect from each invocation mode.

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?

With 100% schema description coverage, the baseline is 3. The description adds significant extra context, such as the dependency on repository for slug prefixes, the scope of 'include_stats' and 'query', and includes examples. This extra information raises the score above baseline.

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 description clearly states that the tool retrieves add-on information, distinguishing between listing installed, available, or getting details for a single add-on via the 'slug' parameter. It differentiates from sibling tools like ha_manage_addon by focusing on retrieval, not management.

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?

The description provides explicit guidance on when to use each mode (slug, installed, available) and notes that the tool only works with Home Assistant OS or Supervised installations. It implicitly suggests ha_manage_addon for management, but could be more explicit about when not to use this tool.

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/homeassistant-ai/ha-mcp'

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