Skip to main content
Glama

solari_command_status

Check a background command started by solari_run_command_bg: { running, exitCode?, stdout, stderr }. stdout/stderr are the TAIL of what it has printed so far. Pass waitMs to block (up to 30000) until it exits. Only commands started through THIS server instance are tracked.

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": {
      "sessionId": "<sessionId>",
      "cmdId": "<cmdId>"
    },
    "name": "solari_command_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
cmdIdYes
waitMsNoWait up to this many ms for the command to exit (max 30000).
sessionIdYes
tailCharsNoMax chars of each stream to return (default 10000, max 25000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it discloses the response fields, that stdout/stderr are a TAIL rather than full output, that waitMs blocks up to 30000ms, and the important scoping constraint that only commands from this server instance are tracked. It omits behavior for an unknown/expired cmdId and whether reads are idempotent, which keeps it from a 5.

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?

Four short sentences, front-loaded with purpose and return shape, then the two caveats that most affect correct use (tail-only output, waitMs blocking, instance scoping). No redundant or decorative wording.

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 no-output-schema, four-parameter polling tool, the description supplies the return shape, polling semantics, and scope limits that an agent needs to call it correctly. The remaining gap is error handling for a stale or foreign cmdId, which is not addressed anywhere.

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 50%: waitMs and tailChars are documented in the schema, while sessionId and cmdId are not. The description reiterates waitMs's blocking semantics (already in the schema) but never explains what sessionId and cmdId identify or where they come from, so it does not compensate for the coverage gap.

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 ('Check a background command') and immediately distinguishes itself from the sibling that produces the thing being checked, solari_run_command_bg. The inline return shape { running, exitCode?, stdout, stderr } makes the purpose unambiguous 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?

Clearly establishes the precondition (a command must have been started by solari_run_command_bg through this server instance) and names the mechanism for blocking (waitMs). It stops short of explicitly naming alternatives such as solari_command_kill for terminating or stating when not to poll, leaving some routing to inference.

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