Skip to main content
Glama

devices_remove_device

Remove a device from a Home Assistant config entry by providing both the device ID and the config entry ID.

Instructions

Remove a device from a specific config entry.

Uses WS config_entries/remove_device. Both device_id and the owning config_entry_id are required.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
device_idYes
config_entry_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

No annotations provided, so description must disclose behavior. It mentions internal WS call but does not state destructive nature, permissions, or effects on other entities. Minimal behavioral disclosure.

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?

Two sentences, no unnecessary words. Could be expanded with more useful info without becoming verbose, but currently concise.

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?

Given no annotations and presence of output schema (unseen), the description is minimal. It lacks details on success/failure, side effects, or prerequisites, making it incomplete for reliable agent invocation.

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 description should explain parameters. It only states both are required without explaining what device_id and config_entry_id represent. The tool name and context give some intuition, but description adds little.

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?

Purpose is clear: 'Remove a device from a specific config entry' uses specific verb and resource. It does not distinguish from siblings like devices_update_device, but the action is distinct.

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?

Only mentions required parameters, no guidance on when to use this tool versus alternatives (e.g., devices_update_device, labels_remove_label_from_device). No when-not-to-use info.

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