Skip to main content
Glama

Get HACS repository details

hacs_get_hacs_repository
Read-onlyIdempotent

Fetch details for a single HACS repository by ID. Use it to check installed or available versions and metadata before installing or updating.

Instructions

Get details about a single HACS repository.

Calls the hacs/repository/info WebSocket command for the given repo_id, passed as its repository_id field.

Use when: checking one repository's installed/available version or metadata before installing or updating it. Not for: browsing many repositories at once — use hacs_list_hacs_repositories. Returns: HACS's raw repository-info dict, 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 unknown or the WebSocket command fails.

Input Schema

NameRequiredDescriptionDefault
repo_idYesHACS repository id, e.g. from `hacs_list_hacs_repositories`.

Output 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, e.g. from `hacs_list_hacs_repositories`."
  2. First observedv0.3.0

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so safety is covered; the description goes further by naming the underlying `hacs/repository/info` WebSocket command and its `repository_id` field, and by specifying the exact error payload shape and its hint about HACS not being installed or the WS command name changing. That failure-mode disclosure is genuine added value beyond the annotations.

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?

Front-loaded one-line purpose, then labeled Use/Not for/Returns/Errors blocks. Every sentence carries information; nothing is padded.

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 read tool with an output schema, the description covers invocation mechanics, the alternative tool, the raw return shape, and the failure payload. Nothing an agent needs to call it correctly is missing.

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 baseline is 3, but the description adds the non-obvious mapping that repo_id is sent as the `repository_id` field of the WebSocket command, which the schema does not convey. It also points to hacs_list_hacs_repositories as the source of valid ids.

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 ('Get details about a single HACS repository') and immediately scopes it to one repository, which cleanly separates it from hacs_list_hacs_repositories. An agent can identify the tool without opening the schema.

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' clause names the scenario (checking installed/available version or metadata before install/update) and an explicit 'Not for' clause routes bulk browsing to the named sibling hacs_list_hacs_repositories. Both when-to-use and the alternative are spelled out.

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