Skip to main content
Glama

dashboards_update_dashboard_resource

Update a Lovelace resource's URL or type using its numeric ID, new URL, and optional resource type (module, js, or css).

Instructions

Update the URL or type of an existing Lovelace resource.

Use get_dashboard_resources() to find the resource ID.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
resource_idYesNumeric ID of the resource to update.
urlYesNew resource URL.
resource_typeNo'module', 'js', or 'css'.module

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

With no annotations, the description carries the burden. It discloses that this is an update (mutation) but adds no other behavioral details (e.g., whether updates are partial or full, permissions needed). The schema covers parameters adequately.

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 concise and front-loaded with the purpose. Two sentences with no wasted words.

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

Completeness4/5

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

Given the output schema exists and parameters are well-documented, the description is sufficient. It provides the core action and a helpful reference for obtaining the resource ID.

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?

All parameters have schema descriptions (100% coverage). The description does not add additional semantic meaning beyond what the schema already provides, so baseline score of 3 is appropriate.

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 it updates the URL or type of an existing Lovelace resource, using a specific verb and resource. It distinguishes from sibling tools like add_dashboard_resource and remove_dashboard_resource by focusing on updating.

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?

It advises using get_dashboard_resources() to find the resource ID, which is a helpful prerequisite. However, it does not explicitly state when to use this tool versus alternatives, but the context is clear.

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/Fistacho/ha-nexus-agent'

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