Skip to main content
Glama

get_top_io_processes

Identify processes with the highest disk I/O activity in real time. Pinpoint which process is hammering the disk to troubleshoot performance issues.

Instructions

Returns processes with the highest disk I/O activity via pidstat -d 1 1 (samples for 1 second). Read-only. If pidstat is missing, returns an error in the errors field with empty results. Use to find which process is hammering the disk; get_disk_io_metrics for per-device totals.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNomax results (default: 10, max: 50)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorsNo
processesYes
Behavior5/5

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

No annotations are provided, so the description carries the full burden. It discloses read-only nature, the sampling interval, and the error handling when pidstat is unavailable (error in the 'errors' field with empty results). This is thorough for a simple read-only 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?

Three sentences, each providing distinct value: the primary action, the safety/error behavior, and the usage guidance versus an alternative. No redundancy or filler.

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?

For a tool with a single optional parameter and an output schema, the description covers purpose, usage context, and error behavior. It is complete enough for an agent to select and invoke the tool correctly.

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?

The only parameter, 'limit', is fully described in the schema with default and max values. The description does not add additional semantic context for the parameter beyond what the schema already provides, so the baseline of 3 applies.

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 clearly states the tool returns processes with the highest disk I/O activity, specifying the exact command (pidstat -d 1 1) and sampling duration. It also distinguishes itself from the sibling tool get_disk_io_metrics by noting that the latter provides per-device totals.

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

Usage Guidelines5/5

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

Explicitly explains when to use this tool ('Use to find which process is hammering the disk') and names the alternative ('get_disk_io_metrics for per-device totals'). Also covers a failure mode (pidstat missing) and resulting behavior.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Mohabdo21/linux-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server