Skip to main content
Glama

Start Recoverable Command

cloud_computer_command_start
DestructiveIdempotent

Preferred shell execution tool for scripts, builds and commands with large output. Returns a command_id within about one second, state (running/exited/timed_out/unknown), nullable exit_code, and bounded head/tail previews. Reuse the SAME idempotency_key, command and timeout to recover a lost reply without rerunning on the same host. Use cloud_computer_command_inspect to poll, read byte ranges, search, or cancel. Output retention is up to one hour, 4 MiB per stream, subject to host capacity eviction; output metadata explicitly reports discarded bytes and expiry. Results survive agent restart on the same host, not host loss or migration. Requires a guest image supporting retained output.

Input Schema

NameRequiredDescriptionDefault
nameYesComputer id from create or list, or its display name from info.
commandYesShell command to execute once.
timeoutNoExecution deadline in seconds.
idempotency_keyYesUnique key for this intended execution; keep it unchanged on retries.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations: discloses ~1s return latency, the state enum, nullable exit_code, bounded head/tail previews, retention limits (1 hour, 4 MiB per stream), capacity eviction with discarded-byte metadata, and that results survive agent restart but not host loss or migration. It also flags the guest-image prerequisite. The destructive/openWorld/idempotent hints are consistent with the described mutation and retry behavior.

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?

Front-loads the primary purpose and the return shape, then layers recovery, delegation, and retention constraints in descending priority. Every sentence carries distinct operational information with no restatement of the name or title.

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?

Covers prerequisites (guest image), lifecycle (restart vs. host loss), output bounds, and the recovery path for a lost response. Although an output schema exists, the inline summary of return fields is consistent with it and does not substitute for it, so nothing an agent needs to call this correctly is missing.

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 real value on top by explaining the recovery contract for idempotency_key ('reuse the SAME idempotency_key, command and timeout') and by tying output behavior to the command's size. It does not elaborate on the name resolution or timeout bounds beyond the schema.

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?

States a specific verb and resource ('shell execution tool for scripts, builds and commands') and scopes it to large-output workloads, which implicitly separates it from cloud_computer_exec. It also names the companion tool cloud_computer_command_inspect for follow-up operations, so an agent can place it in the toolset without opening a schema.

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 routes polling, byte-range reads, search, and cancellation to cloud_computer_command_inspect, and explains the idempotency-key recovery pattern for lost replies. It does not explicitly say when to prefer the sibling cloud_computer_exec (e.g. small/fast commands), leaving that comparison to the 'Preferred' framing.

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