Skip to main content
Glama

Start a background process

start_process
Destructive

Start a command that keeps running (a dev server, a build, a Python or Node shell, an ssh session) and return its first output. Use read_process_output and interact_with_process to follow up and force_terminate to stop it. There is no terminal, so full-screen programs and password prompts will not work. At most 5 run at once; one nobody touches for 30 minutes is stopped.

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
cwdNoWorking directory. Defaults to the user's home directory.
deviceNoDevice name. Optional when the account has only one online device.
commandYesShell command to start.
wait_msNoHow long to wait for first output. Default 1500, max 30000.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations only carry the safety profile (destructiveHint, openWorldHint, readOnlyHint=false); the description goes well beyond that with a concurrency cap ('at most 5 run at once'), an idle reaper ('one nobody touches for 30 minutes is stopped'), and the no-terminal limitation. These are exactly the operational constraints an agent needs before committing to a long-running process.

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 purpose, then follow-up tooling, then constraints. Every sentence carries distinct information; nothing is redundant with the schema or annotations.

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?

With no output schema, the description still tells the agent what comes back ('its first output') and how to retrieve more. Lifecycle, limits, and failure modes are all covered, so an agent can invoke and manage the process without further discovery.

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 100%, so command, cwd, device, and wait_ms are already documented in the schema. The description adds no parameter-level detail beyond the implied link between 'return its first output' and wait_ms, so the baseline 3 applies.

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 ('Start a command that keeps running') and immediately grounds it with concrete examples (dev server, build, Python or Node shell, ssh session), plus the return behavior ('return its first output'). This clearly separates it from one-shot siblings like run_command and from the process-lifecycle siblings it names.

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

Usage Guidelines5/5

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

Explicitly routes follow-up work: 'Use read_process_output and interact_with_process to follow up and force_terminate to stop it.' It also states a hard when-not condition ('full-screen programs and password prompts will not work'), leaving nothing to inference about fitness for a task.

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