Skip to main content
Glama

esphome_lvgl_delete_widget

Delete an LVGL widget from an ESPHome device page by widget ID, then save the updated configuration. Requires subsequent validation, compilation, and upload.

Instructions

Delete an LVGL widget by id from a page on an ESPHome device and save the config.

After deleting, run esphome_validate_config then esphome_compile_device + esphome_upload_device.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
page_idYes
widget_idYes
device_nameYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses that deletion triggers a multi-step process (save, validate, compile, upload) and that it is destructive. No annotations provided, so description carries the burden well.

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 succinct sentences with no wasted words. Front-loaded with the core action, then immediate follow-up steps. Ideal conciseness.

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?

Adequately covers the deletion action and required follow-up steps. Lacks return value specification or error handling, but for a deletion tool this is acceptable given the simplicity.

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?

Input schema has 0% description coverage; description does not elaborate on parameters beyond their names. While names are self-explanatory (page_id, widget_id, device_name), the description adds no extra semantic value.

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?

Clearly states 'Delete an LVGL widget by id from a page on an ESPHome device', specifying the verb and resource, and distinguishes from siblings like add_widget or get_widgets.

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?

Explicitly tells the agent to run validation, compile, and upload after deletion, providing clear post-action steps. Does not mention when not to use, but context is sufficient.

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