Skip to main content
Glama
nexalware

@nexalware/mcp

Official
by nexalware

send_command

Send a command to an authorized device through @nexalware/mcp after checking valid command names and parameters; requests are rejected without device or command permission.

Instructions

Send a command to a device. Check get_device_commands first for valid cmd names and expected params. Rejected if the calling key has no permission for this device/command.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cmdYesCommand name, matches one of get_device_commands' results.
paramsNoArguments for this command, only if its command definition declares a paramsSchema.
deviceIdYesThe device's public id, e.g. dev_a1b2c3.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.5

TDQS

A3.7/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; it discloses the permission-rejection behavior and the ordering dependency on get_device_commands, which is genuinely useful. However, it says nothing about the command's side effects, whether it is reversible, or what a successful invocation returns for a mutating tool.

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?

Three short sentences, each earnings its place: action, prerequisite, and failure condition, with the core action front-loaded. No filler.

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

Completeness3/5

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

No output schema exists, so return values need not be explained, but with zero annotation coverage and a mutation-like tool the description should do more to characterize effects and reversibility. Missing child are minor given a fully documented schema, but the behavioral picture is thin.

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 coverage is 100% and all three parameters are documented inline (cmd matches get_device_commands results, params only when a paramsSchema exists, deviceId format). The description repeats the get_device_commands link but adds no syntax or format detail beyond the schema, so the baseline 3 is correct.

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 (send) and resource (a command to a device), so the core action is unambiguous. It does not distinguish itself from the sibling send_sub_device_command, leaving an agent to infer the device-vs-sub-device split from names alone.

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?

Gives a concrete prerequisite (call get_device_commands first for valid cmd names and expected params) and a failure condition (rejected if the calling key lacks permission). It stops short of saying when to prefer this over send_sub_device_command, so it is clear context without explicit alternatives.

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