Skip to main content
Glama
Run Command MCP Server

Run Command MCP Server

by stilllovee

list_processes

List tracked processes and filter by status to monitor running, completed, failed, killed, errored, or timed-out commands and manage long-running tasks.

Instructions

List all tracked processes (running, completed, failed, etc.)

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_processes"
  }
}

Input Schema

NameRequiredDescriptionDefault
statusNoFilter by status: running, completed, failed, killed, error, timed_out (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden, but 'list' makes the read-only nature self-evident and 'tracked' usefully scopes results to processes managed by this server rather than arbitrary OS processes. It says nothing about ordering, pagination, or what an unfiltered call returns at scale, which is the remaining gap.

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?

One short sentence with the resource front-loaded and no filler; nothing extra is included that does not serve the reader.

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?

For a simple single-parameter list tool with no output schema, the description covers the invoking action but leaves the return shape undocumented, so an agent cannot predict what a process record contains. Adequate to call correctly, incomplete for interpreting results.

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 the single status parameter is fully enumerated in the schema, so the description's parenthetical value list adds little beyond it. Baseline 3 applies because the schema does the heavy lifting.

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 ('List all tracked processes') and enumerates the statuses covered, so the action is unambiguous. It stops short of distinguishing itself from siblings such as get_command_output or start_async_command, so it is clear but not differentiated.

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 guidance on when to call this versus get_command_output or start_async_command, nor any stated preconditions. An agent must infer from the name alone that this is the discovery step before fetching a specific process's output.

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