Skip to main content
Glama

PrivateByte

Server resource usage

server_usage
Read-only

A server's resource use: CPU, memory, disk and network now, plus up to 24 past samples over range (1h, 6h, 24h or 7d). A gap in the history means no sample, not zero use.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "server_id": "<server_id>"
    },
    "name": "server_usage"
  }
}

Input Schema

NameRequiredDescriptionDefault
rangeNo24h
server_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so safety is covered; the description adds real value on top by disclosing the 24-sample cap and warning that a gap in history means no sample rather than zero use. That second point is a genuine analytical caveat an agent would otherwise get wrong. It still says nothing about units, sampling interval, or freshness of the 'now' values.

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?

Two tight sentences, front-loaded with the payload definition before the caveat. Every clause carries information: the metric set, the sample cap, the allowed ranges, and the gap semantics.

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?

With no output schema, the description must sketch the return shape, and it does: current CPU/memory/disk/network plus up to 24 samples over a range. Missing are value units and whether the sample series is per-metric, but the essential picture is complete for a two-parameter read tool.

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 0%, so the description has to carry parameter meaning. It does enumerate the range values (1h, 6h, 24h, 7d) and implicitly ties them to the historical sample window, but this largely duplicates the enum already present in the schema, and server_id is not described at all beyond the obvious required-server reading.

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?

The description names the concrete resource set (CPU, memory, disk, network) and the temporal scope (current plus up to 24 historical samples), which clearly separates it from a configuration-returning sibling like get_server. It is a noun phrase rather than a verb+resource statement, but the resource and payload are unambiguous.

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?

There is no explicit statement of when to use this tool versus alternatives such as get_server — the agent must infer that this is for metrics rather than configuration. The 'now, plus up to 24 past samples' wording hints at the monitoring use case but never spells out the selection condition or any prerequisites.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources