Skip to main content
Glama

List HACS pending upgrades

hacs_list_hacs_critical_updates
Read-onlyIdempotent

List HACS repositories with pending upgrades to find what needs updating. Filters the full list to show only entries with pending_upgrade set.

Instructions

List installed HACS repositories that have a pending upgrade available.

Calls the same hacs/repositories/list WebSocket command as hacs_list_hacs_repositories and filters to entries whose pending_upgrade flag is set, despite this tool's name — HACS itself has no separate "critical" severity here.

Use when: finding what needs hacs_update_hacs_repository without filtering the full list manually. Not for: every repository regardless of upgrade state — use hacs_list_hacs_repositories. Returns: list of repository dicts with pending_upgrade truthy, or {"error": ...} if the underlying call fails or returns an unexpected shape. Errors: {"error": str(exception), "hint": ...} when the WebSocket call fails; {"error": "Unexpected HACS response shape", "raw": result} when it succeeds but does not return a list.

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, so the safety profile is covered; the description goes further by revealing the underlying `hacs/repositories/list` WebSocket command, the `pending_upgrade` filter that produces the result set, and the two distinct error shapes with their fields. That is exactly the kind of beyond-annotation context an agent needs to interpret failures.

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 effect, then segmented into Use when / Not for / Returns / Errors, which is easy to scan. It is somewhat long for a zero-parameter tool, and the Returns paragraph partially restates what the existing output schema already provides, but the error-shape detail earns its space.

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 no-parameter, read-only list tool with an output schema, the description supplies everything an agent needs: what it returns, the failure modes, and the correct sibling to use instead. Nothing material 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?

The tool takes zero parameters and the input schema is empty, so there is nothing for the description to disambiguate — baseline 4 applies. No parameter semantics are needed or possible here.

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 ('list installed HACS repositories that have a pending upgrade') and distinguishes itself from the near-identical sibling by naming `hacs_list_hacs_repositories`. It even resolves a naming trap: the tool is called 'critical_updates' but the description says HACS has no separate critical severity here, so the agent won't over-interpret the results.

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 ties it to the follow-up action (`hacs_update_hacs_repository`), and an explicit 'Not for' clause names the alternative (`hacs_list_hacs_repositories`). Both the selecting condition and the exclusion are stated, leaving nothing to inference.

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