Skip to main content
Glama
aderik

ha-automation-mcp

by aderik

delete_dashboard_view

Remove a Lovelace dashboard view by its URL path and index, so you can manage Home Assistant dashboards without hand-editing YAML.

Instructions

Delete the view at the given index.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
url_pathYes
view_indexYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden, yet it says nothing about irreversibility, whether remaining view indices shift after deletion, required permissions, or error behavior for an out-of-range index. 'Delete' implies mutation, but that is the only behavioral signal.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is a single clean, front-loaded sentence with no filler. The problem is under-specification rather than verbosity, so the brevity does not earn a top score for structure alone.

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

Completeness2/5

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

For a destructive, index-addressed mutation with no annotations, no output schema, and 0% schema coverage, the definition leaves critical gaps: which dashboard is targeted, index conventions, and what happens to sibling views after deletion.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so both parameters are undocumented in structured form. The phrase 'at the given index' loosely maps to view_index but gives no guidance on valid ranges or base (0- vs 1-indexed), and url_path is entirely unexplained — is it the dashboard slug, route, or full URL?

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+resource ('Delete the view'), so an agent can tell it targets a dashboard view rather than a dashboard or card. However, it never differentiates itself from siblings like delete_dashboard, delete_dashboard_card, or replace_dashboard_view, and it doesn't say which dashboard family it belongs to beyond generic 'view'.

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

Usage Guidelines2/5

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

No when-to-use guidance, no prerequisite (e.g. needing a prior get_dashboard_config to know valid indices), and no mention of alternatives such as replace_dashboard_view or delete_dashboard. The agent must infer usage entirely from the name.

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