Skip to main content
Glama
@serversareup/mcp-server

@serversareup/mcp-server

exec_instance

Destructive

Execute commands inside a guest or container to install software, modify files, and return stdout, stderr, and exit codes; use array arguments for preserved quoting or strings for shell execution.

Instructions

Execute a command inside the customer guest/container. Requires instances:exec. Can install/configure software and change files. Array arguments preserve quoting; strings use the Linux shell or Windows PowerShell. Returns stdout, stderr and exitCode, or a pending game receipt. Poll get_game_operation with operation_id; never resubmit an uncertain command automatically.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "id": "<id>",
      "command": "<command>"
    },
    "name": "exec_instance"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
commandYes
timeout_msNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true, but the description adds substantial context: the instances:exec permission requirement, that it installs/configures software and changes files, the return shape (stdout, stderr, exitCode or a pending receipt), and an explicit idempotency warning against blind resubmission.

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-loaded with the action, then permission, side effects, argument semantics, return values, and the async/polling caveat. Every sentence supplies distinct operational information with no filler.

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 destructive mutation with no output schema, the description covers return values, auth, side effects, and the async continuation path. The only material gap is the undocumented id and timeout_ms parameters and how timeout interacts with the pending-receipt flow.

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 0%, so the description carries the burden. It explains the hardest parameter well — array arguments preserve quoting while strings go through the Linux shell or Windows PowerShell — but leaves id and timeout_ms completely uninterpreted, including no guidance on the 1s-60s timeout range.

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: execute a command inside the customer guest/container. It also delimits scope by saying it can install/configure software and change files, which distinguishes it from narrow file siblings like read_instance_file and write_instance_file.

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 real routing guidance for the async path: poll get_game_operation with operation_id and never automatically resubmit an uncertain command. It also explains the array-vs-string command choice. It stops short of explicit when-to-use-this-instead-of-X guidance against file-writing siblings.

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