Skip to main content
Glama
home-assistant-agent-mcp

home-assistant-agent-mcp

by Hemanthkolli

ha_update_dashboard

Saves the full Lovelace dashboard configuration, including views and cards, to Home Assistant; omit url_path to update the default dashboard.

Instructions

Save the full config (views, cards) of a Lovelace dashboard. Omit url_path for the default dashboard.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "config": "<config>"
    },
    "name": "ha_update_dashboard"
  }
}

Input Schema

NameRequiredDescriptionDefault
configYesFull Lovelace config with views and cards
url_pathNoDashboard URL path (omit for default)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.2.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full behavioral burden. 'Full config' hints that this is a whole-document replacement rather than a partial patch, but it does not disclose whether it requires an existing dashboard, whether it overwrites current views/cards, or what the response contains. This leaves significant gaps for a write operation.

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?

Two short sentences with no waste, and the core action is front-loaded ahead of the parameter caveat.

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

Completeness3/5

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

For a two-parameter mutation tool with fully documented schema and no output schema, this is minimally adequate. It should say more about overwrite/replace semantics and any prerequisite that the dashboard exist, since those are not covered by annotations or schema.

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%, so both parameters are already documented in the schema. The 'omit url_path for the default dashboard' note duplicates the schema wording and adds no syntax or format detail beyond it, so the baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource: saving the full config (views, cards) of a Lovelace dashboard. This clearly distinguishes it from ha_get_dashboard and ha_list_dashboards, though it doesn't explicitly contrast with ha_create_dashboard.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implied guidance comes from 'Save the full config' plus the note to omit url_path for the default dashboard. There is no explicit statement of when to use this versus ha_create_dashboard (first-time creation) or what happens if the target dashboard does not exist.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.