Skip to main content
Glama

get_top_consumers

Read-onlyIdempotent

Identify resources with the highest usage for a specified metric like CPU, memory, disk, or network to pinpoint top consumers for capacity planning.

Instructions

[READ] Query resources with highest consumption of a given metric.

Args: metric_key: The metric to rank by. Common values: cpu|usage_average, mem|usage_average, disk|usage_average, net|usage_average. resource_kind: Resource kind to scope the query. Default VirtualMachine. top_n: Number of top consumers to return (max 50). Default 10. target: Optional Aria Operations target name from config. Uses default if omitted.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
metric_keyNocpu|usage_average
resource_kindNoVirtualMachine
top_nNo
targetNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already declare readOnlyHint, destructiveHint, idempotentHint, and openWorldHint. The description reinforces as a read operation and adds parameter details like default metric values and target optionality, providing useful behavioral context beyond annotations.

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 concise, using a clear list format. The first line gives the essential purpose, and each argument is briefly explained without redundancy. No wasted words.

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?

Given the tool's simplicity, presence of output schema, and robust annotations, the description is complete enough for correct usage. It covers all parameters and purpose. Minor omission: no mention of error conditions or limits beyond the max 50 for top_n.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

With 0% schema description coverage, the description fully compensates by listing all 4 parameters with defaults, explanations, and common values for metric_key. Every parameter is meaningfully documented, enabling correct invocation.

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?

Description clearly states it queries resources with highest consumption for a given metric. The name and purpose align, and it differentiates from siblings like get_capacity_overview or get_resource_metrics. However, it does not explicitly state the resource kind scoping, which is implied.

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 does not provide explicit when-to-use or when-not-to-use guidance. Context from sibling tools helps differentiate, but the agent must infer usage from the tool's purpose alone.

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/zw008/VMware-Aria'

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