Skip to main content
Glama
BxNxM
by BxNxM

Run Command

run_command

Execute micrOS commands or pipelines on a chosen live device by targeting its UID, name, or IP.

Instructions

Run a micrOS command or a sequential command pipeline on one live device. Before using this tool, call search_devices to confirm the exact device and relevant command signature. Target the device by its exact UID, device name, or IP address.

Command syntax examples:

  • No arguments: version

  • Positional argument: conf webui

  • Module function: dht22 measure

  • Keyword argument: dht22 measure log=True

  • String pipeline: rgb status <a> dht22 measure

  • Array pipeline: ["version", "dht22 measure"]

For a string pipeline, <a> separates commands by default; separator can select a different delimiter. For an array pipeline, each array item is one command and runs in order.

Commands act on a real device and may change its state. Configuration reads such as conf and conf webui are allowed, but configuration writes such as conf webui true are rejected. Other commands are not automatically made safe, so use the least disruptive command that fulfills the request.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commandYesThe command or command pipeline to run. String commands may use the <a> separator. Unsafe command forms are denied before connecting to a device.
timeoutNoSocket timeout in seconds. Defaults to 10.
verboseNoEnable verbose micrOS client logging.
passwordNoOptional micrOS app password if auth is enabled.
deviceTagYesThe exact micrOS device UID, device name, or IP address to target.
separatorNoOptional string command separator. Defaults to <a>.
Behavior4/5

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

No annotations are provided, so the description carries the burden of behavioral disclosure. It clearly warns that commands act on a live device, may change state, config writes are rejected, and other commands are not automatically safe. This provides strong safety-relevant context.

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?

Well-structured with clear examples and sections. Every sentence adds value, covering syntax, prerequisites, and safety without unnecessary repetition.

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

Completeness5/5

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

For a tool with six parameters, no annotations, and no output schema, the description covers purpose, prerequisites, syntax variations, safety constraints, and behavioral expectations thoroughly. No significant gaps remain.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds meaningful syntax examples, explains the `<a>` separator and array pipeline behavior, and confirms deviceTag can be a UID, name, or IP, going beyond the schema's field descriptions.

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 'Run a micrOS command or a sequential command pipeline on one live device.' This is a specific verb+resource description that distinguishes the execution tool from sibling discovery/listing tools.

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 instructs to call `search_devices` before using the tool to confirm the exact device and command signature. It also cautions to use the least disruptive command, but does not explicitly contrast with all sibling alternatives.

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/BxNxM/micrOSMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server