Skip to main content
Glama
neu-sandbox-mcp

neu-sandbox-mcp

Official
by neutree-ai

Get Background Command Status

sandbox_get_command_status

Check whether a background command is still running in a sandbox and return its running state, exit code, and timing.

Instructions

Check whether a background command is still running. Returns running, exit_code, and timing.

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": {
      "sandbox_id": "<sandbox_id>",
      "command_id": "<command_id>"
    },
    "name": "sandbox_get_command_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
command_idYescommand_id returned by sandbox_run_command
sandbox_idYesID of the target sandbox

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

With no annotations, the description must carry the behavioral burden; it does disclose the returned fields (running, exit_code, timing), which is real value. However, it says nothing about whether calls block, what happens if the command is still running (are exit_code/timing absent?), or error behavior for unknown command_id.

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?

Two short sentences, outcome front-loaded, zero filler. Nothing could be removed without losing information.

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 simple two-parameter read tool with no annotations and no output schema, the description covers purpose and the shape of the return value adequately. Missing only edge-case behavior (pending vs. finished field semantics, error cases), which is a minor gap at this complexity.

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 both parameters are documented with their provenance, so the baseline of 3 applies. The description adds no syntax, format, or lifetime details about sandbox_id or command_id beyond the schema.

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 ("Check whether a background command is still running") and names the observable result. It is reasonably distinguishable from sandbox_get_command_logs and sandbox_interrupt_command by the word "status", but it never explicitly contrasts itself with those siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use guidance, no mention of polling after sandbox_run_command, and no exclusion such as "use sandbox_get_command_logs to read output." The only routing hint (command_id comes from sandbox_run_command) lives in the schema, not the description.

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