Skip to main content
Glama

Start Process

start_process
Destructive

Launch a long-running command in the background and return its process ID for polling output without blocking the session.

Instructions

Start a background process and return its id. Poll it with process_output.

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 folder. Default = root.
envNoExtra environment variables.
commandYesLong-running command, e.g. 'npm run dev', 'python -m http.server 8000'.
wait_msNoWait this long for first output before returning (max 30000).

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, openWorldHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered. Beyond that, the description adds that execution is asynchronous and yields an id, but says nothing about the process persisting after return, that it must be torn down with stop_process, or what happens to buffered output — meaningful gaps for a destructive background-spawning tool.

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 sentences, zero waste, and the primary behavior plus return value are front-loaded before the follow-up instruction. Nothing is padded or restated from the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return-value explanation is not needed, and annotations carry the safety profile. However, for a destructive asynchronous spawner the definition never states the lifecycle contract (process keeps running, must be stopped, output buffered for polling), leaving the agent to infer critical operational behavior.

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 each parameter carries its own description (cwd, env, command, wait_ms with max 30000), so the schema does the heavy lifting. The description adds no parameter-level meaning at all, which puts it at the baseline for a fully documented schema.

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 pairs a specific verb ("Start") with a specific resource ("a background process") and names its return value (the process id). The word "background" is what separates it from a synchronous sibling like run_command, and it points at process_output as the companion tool, so the agent can place it precisely.

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

Usage Guidelines3/5

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

The second sentence gives real follow-up guidance by naming process_output as the polling mechanism, which is the correct next step after invoking this tool. What is missing is the selection rule: nothing tells the agent when to spawn a background process instead of running a command inline (e.g. only for long-running or interactive commands). Usage is implied rather than stated.

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