Skip to main content
Glama

whm_server_load

Fetch real-time server load averages, memory, CPU, and swap usage for a specified WHM account.

Instructions

Get real-time server load averages, memory usage, CPU, swap

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountYesAccount alias from accounts.json (use list_accounts to see options)

Implementation Reference

  • src/tools.py:162-170 (registration)
    Tool registration for 'whm_server_load' with description 'Get real-time server load averages, memory usage, CPU, swap' and input schema requiring only an 'account' parameter.
    Tool(
        name="whm_server_load",
        description="Get real-time server load averages, memory usage, CPU, swap",
        inputSchema={
            "type": "object",
            "properties": ACCOUNT_PARAM,
            "required": ["account"]
        }
    ),
  • Handler for 'whm_server_load': calls the WHM JSON API function 'loadavg' to get real-time server load averages.
    case "whm_server_load":
        return await _get(client, url("loadavg"), headers)
Behavior3/5

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

With no annotations, the description carries full burden. It discloses the real-time nature and data types, but does not mention authentication, rate limits, or that the operation is read-only. Adequate but minimal.

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?

Single sentence with all key elements front-loaded: verb, resource, and specific metrics. No unnecessary words, perfectly concise.

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 simple read-only tool with one parameter and no output schema, the description is nearly complete. It covers the data returned, though it could optionally mention the output format or that values are averages.

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% and already explains the 'account' parameter with a cross-reference to list_accounts. The description adds no additional parameter meaning beyond the schema.

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?

Description clearly states the tool retrieves real-time server load averages, memory, CPU, and swap. The verb 'Get' and the specific metrics distinguish it from sibling tools like whm_server_info or whm_disk_usage.

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

Usage Guidelines2/5

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

No guidance on when to use this tool versus alternatives such as whm_server_info or cpanel_disk_usage. The description lacks context about prerequisites or typical scenarios.

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/manofsadness/ItchWHMMCP'

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