Skip to main content
Glama

gadgets_command

Request a device action with a stable retry ID to distinguish accepted from executed commands, enabling reliable routing to connected gadgets.

Instructions

Request a device action with a stable retry ID; distinguish accepted from executed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
argumentsYes
device_idYes
capabilityYes
command_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose two meaningful traits: the call is asynchronous (accepted ≠ executed) and command_id acts as a stable retry/idempotency key. It omits auth requirements, whether the request can fail silently, and any rate or capability constraints.

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?

A single front-loaded sentence with no filler; the async/retry semantics are packed in tightly. It is arguably too compressed, since the clauses are telegraphic rather than explanatory, but nothing is wasted.

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 4-required-parameter mutation tool with a free-form nested arguments object, no annotations, and no output schema, the description is far too thin. It never explains what a capability is, how arguments are shaped, or what the accepted response contains.

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 description coverage is 0% across 4 required parameters, and the description only illuminates command_id ('stable retry ID'). device_id, capability, and especially the free-form nested 'arguments' object (additionalProperties: true) are left with no guidance on format or capability-dependent content.

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 and resource: 'Request a device action' with a retry identifier, which is clearly distinct from the read-oriented siblings (gadgets_get_state, gadgets_read_events). It does not, however, explicitly contrast itself with gadgets_command_status, which covers the closest adjacent concern.

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?

Usage is only implied: the phrase 'distinguish accepted from executed' hints that execution must be verified elsewhere (presumably gadgets_command_status) and that command_id enables safe retries. No explicit when-to-use, prerequisites, or named alternative is given.

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