Skip to main content
Glama

Top Processes

process_list
Read-onlyIdempotent

Lists the host's busiest processes by CPU or memory over SSH, returning PIDs and usage to identify resource-heavy commands when Docker stats don't explain load.

Instructions

Read-only. The host's busiest processes by CPU or memory via ps over SSH: pid, CPU %, memory %, elapsed run time, and command name (no arguments) — for finding what's eating resources when docker_stats doesn't explain the load. Requires SSH (UNRAID_SSH_*).

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

Input Schema

NameRequiredDescriptionDefault
countNoHow many of the top-ranked processes to return.
sort_byNoRank processes by CPU share or by memory share, highest first.cpu
response_formatNo`detailed` returns full JSON instead of readable text.concise

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changedv0.1.3
    • addedInput schema / properties / count / description
      Added value: +"How many of the top-ranked processes to return."
    • addedInput schema / properties / response_format / description
      Added value: +"`detailed` returns full JSON instead of readable text."
    • addedInput schema / properties / sort_by / description
      Added value: +"Rank processes by CPU share or by memory share, highest first."
  2. First observedv0.1.1

TDQS

A4.2/5.0
Behavior4/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 behavior the annotations do not: it shells out to `ps` over SSH to the host, requires UNRAID_SSH_* credentials, and truncates command names to omit arguments. It does not mention failure modes when SSH is unreachable, but the added context is substantive.

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?

One dense sentence, front-loaded with the 'Read-only' safety marker and then purpose, mechanics, return fields, use case and prerequisite. It is efficient, though the stacked parentheticals and em-dash clause make it slightly crowded.

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?

There is no output schema, yet the description lists the exact fields returned and the ordering (top-ranked by CPU or memory share), plus the SSH credential prerequisite. For a three-parameter read tool that is everything an agent needs to call it and interpret the result.

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%, with descriptions and enums for all three parameters, so the schema does the heavy lifting. The description only restates the CPU-or-memory ranking and the top-N notion without adding format, ordering tie-breaks, or `response_format` details. Baseline 3 is appropriate.

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?

Specific verb+resource: reads the host's busiest processes ranked by CPU or memory, obtained via `ps` over SSH, and enumerates the returned fields (pid, CPU %, memory %, elapsed time, command name without arguments). It is clearly distinguishable from the docker_stats sibling by stating it is for load that containers do not explain.

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

Usage Guidelines4/5

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

Gives an explicit selection condition: use this when docker_stats doesn't explain the load. That names the alternative and the situation that picks this tool. It stops short of stating when not to use it (e.g., for per-container or historical data), so it is strong but not exhaustive.

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