Skip to main content
Glama
Bridge Commander
by PaPasha215

start_process

Destructive

Run a shell command in a new session, returning its PID, status, and output within a set timeout so you can monitor long-running or interactive programs via follow-up process tools.

Instructions

Run a shell command in a new session. Returns its PID, status and the output produced within timeout_ms (default 5000). Long-running or interactive programs keep running: continue with read_process_output / interact_with_process. For Python REPLs use python3 -i.

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": {
      "command": "<command>"
    },
    "name": "start_process"
  }
}

Input Schema

NameRequiredDescriptionDefault
cwdNo
shellNo
commandYes
timeout_msNoMilliseconds to wait for output.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already flag destructiveHint, openWorldHint and non-idempotent, so the safety profile is covered. The description adds genuinely new behavior: spawned processes persist after the call returns, output is truncated to the timeout window, and the default wait is 5000 ms. It doesn't discuss permissions, sandboxing, or what happens to orphaned sessions.

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?

Three sentences, front-loaded with the action and return value, then the persistence rule, then a targeted tip. Every sentence carries distinct 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?

With no output schema, the description correctly explains the return payload (PID, status, output) and the asynchronous continuation model. The remaining gap is the undocumented `cwd` and `shell` parameters, which matter for a command-execution tool.

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 only 25%, and the description supplies the valuable semantic for timeout_ms (default 5000, output captured within that window). However, `cwd` and `shell` are left unexplained in both the schema and the description, so the low coverage is not fully compensated.

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?

The description opens with a specific verb and resource ("Run a shell command in a new session") and immediately states what comes back (PID, status, captured output). It also distinguishes itself from the sibling continuation tools by naming read_process_output and interact_with_process.

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?

It gives an explicit rule for the long-running/interactive case: call this first, then continue with read_process_output or interact_with_process. It also adds a concrete usage note for Python REPLs (`python3 -i`). What is missing is any guidance on when *not* to use it versus alternatives such as start_search or the file tools.

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