Skip to main content
Glama
ks6573
by ks6573

get_top_processes

Read-onlyIdempotent

Shows top CPU or memory consuming processes to help diagnose performance issues. Specify count and sort order.

Instructions

Returns the top N resource-hungry processes sorted by CPU or memory usage.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoNumber of processes to return (1–100, default 10).
sort_byNoSort processes by CPU usage or memory footprint.cpu
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is clear. The description adds behavioral context about sorting by CPU or memory and the top-N concept, which goes beyond the annotations without contradicting them. It does not disclose return format, but that is low risk for a read-only query.

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?

The description is a single sentence that is front-loaded with the core action and valuable details. It is concise with no unnecessary words or repetition of schema information.

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 low-complexity read-only query tool with full schema annotations and no output schema, the description is complete enough. It clearly conveys what the tool returns and the key options, and the annotations cover safety and idempotency. No additional context is necessary.

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%, with each parameter (n and sort_by) fully documented including defaults and constraints. The description adds minimal extra meaning beyond the schema, essentially restating the sorting behavior. Baseline 3 is appropriate since schema carries the heavy lifting.

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 the top N resource-hungry processes sorted by CPU or memory usage, which is specific and distinct from sibling tools like get_cpu_usage or get_ram_usage that report system-wide usage rather than per-process lists. It uses a specific verb ("Returns") and names the resource and sorting criteria.

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 description implies usage for viewing top resource-consuming processes but does not explicitly mention alternatives or when not to use it. Given the sibling tools include get_process_details, search_process, and process_tree, the lack of explicit guidance leaves room for ambiguity, though the purpose is fairly self-evident.

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/ks6573/SysControl'

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