Skip to main content
Glama

Robot Actions — Remote Device Control

Device UHID destroy

device_uhid_destroy
DestructiveIdempotent

Remove a virtual HID device registered via device_uhid_create.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesUHID device id to destroy
udidYesDevice serial number (UDID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, readOnlyHint=false and openWorldHint=false, so the safety profile is covered. The description adds only that the target is a virtual HID device; it does not say what happens to an in-flight input stream, whether the id must currently exist, or whether removal is immediate. With annotations carrying the safety profile, a 3 is appropriate.

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?

A single short sentence that front-loads the verb and resource with zero waste. Nothing redundant or padded.

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?

For a simple two-parameter teardown tool with full schema coverage and annotations declaring destructiveness and idempotency, the description is nearly complete. The only gap is that it does not state what the caller should expect on success or when the device does not exist, but that is minor given the annotation coverage.

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% with both parameters (udid, id) fully documented in the schema, so the baseline is 3. The description adds no extra syntax or format detail beyond what the schema already provides.

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 (Remove) and resource (virtual HID device) and ties it to the lifecycle counterpart device_uhid_create, so the agent understands this is the teardown step. It distinguishes reasonably well from sibling tools like device_uhid_input or device_uhid_key_press, though it never explicitly says 'unlike those, this only unregisters.'

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?

The phrase 'registered via device_uhid_create' implies the tool is used to clean up previously created virtual HID devices, which is useful implied guidance. However, there is no explicit when/when-not statement, no mention of preconditions (e.g., device must exist), and no named alternative.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources