Skip to main content
Glama

list_processes

Read-onlyIdempotent

Lists running processes with resource usage and status, and lets you filter by name or PID and sort by CPU, memory, disk, network, GPU, threads, or handles to diagnose system activity.

Instructions

The processes running now, one line each: PID, parent, name, CPU, private memory, disk, network and GPU rates, threads, handles, priority, user, start time, and whether it is not responding. Filter by name or PID, order by a resource.

Input Schema

NameRequiredDescriptionDefault
sortNoOrder: cpu (default), memory, disk, network, gpu, io, handles, threads, name, pid or started (newest first).
limitNoAt most this many (default 40, at most 500).
filterNoOnly processes whose name contains this (any case), or whose PID it is.
include_exitedNoAlso the processes that exited since the last refresh.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds useful behavioral detail (the health flag 'whether it is not responding' and the exact per-line column set) but says nothing about default result size, truncation, or whether system/kernel processes are included.

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 dense sentence, front-loaded with the action and scope before the column list and the filter/sort note. The column enumeration is long but earns its place since there is no output schema.

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?

For a read-only list tool the definition is largely complete: it conveys what a row contains, that filtering and sorting exist, and the process-health flag. Only limits around result size and inclusion scope are left entirely to the schema.

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 the baseline is 3. The description only restates filtering and ordering, and its phrase 'order by a resource' actually under-sells the schema's non-resource sort keys (name, pid, started) without adding new meaning.

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 ('processes running now, one line each') and enumerates the returned columns, which lets an agent distinguish it from get_process or get_process_tree, though those siblings are never named explicitly.

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?

Usage is only implied: 'Filter by name or PID, order by a resource' hints at typical calls, but there is no statement of when to prefer this over get_process (single-process detail) or get_process_tree, and no exclusion guidance.

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