Skip to main content
Glama

get_running_processes

List running processes on this machine, optionally filtered by port, name, or command-line arguments to find local services and identify JVM applications.

Instructions

List running processes on this machine, optionally filtered by port or name

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": "get_running_processes"
  }
}

Input Schema

NameRequiredDescriptionDefault
filter_argsNoFilter by command-line arguments (case-insensitive substring match). Combine with filter_name to narrow JVM processes: filter_name='java', filter_args='myapp.jar'
filter_nameNoFilter by process name (case-insensitive substring match on name and full command)
filter_portNoOnly show processes listening on this port

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden, and it does convey the key behavioral trait that results can be narrowed by port or name rather than returning everything. It never states that the operation is read-only with no side effects, whether elevated privileges are needed to see other users' processes, or that this is a point-in-time snapshot.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler or repetition; the scope and the optional filters are stated immediately. The phrase 'on this machine' is mildly redundant with the tool's obvious local scope, but nothing else is wasted.

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 three-parameter read tool with no annotations and no output schema, the description covers purpose and filtering but leaves return shape, ordering, and privilege/visibility caveats unstated. An agent can call it correctly but cannot predict what a result set will look like or why processes might be missing.

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 all three parameters (filter_args, filter_name, filter_port) are already fully documented including the substring-match semantics. The description adds only a summary mention of port and name filtering and omits filter_args entirely, so it does not meaningfully exceed the schema.

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 running processes') plus the machine scope and the two filter dimensions, so an agent can immediately tell what it returns. It stops short of distinguishing itself from the sibling get_open_ports, which overlaps on the port-listing use case.

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 word 'optionally filtered' implies you may call it bare or with filters, which is a usable hint about invocation modes. There is no explicit when-to-use guidance, no statement of when another tool (e.g. get_open_ports) would be preferable, and no prerequisites such as privilege requirements.

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