Skip to main content
Glama

get_server_resources

Read-only

Check whether a Pterodactyl-hosted server is running, offline, starting, or stopping and retrieve current CPU, memory, disk, network, and uptime usage by server ID.

Instructions

Check live server state (running/offline/starting/stopping) and current CPU, memory, disk, network, and uptime usage.

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": "get_server_resources"
  }
}

Input Schema

NameRequiredDescriptionDefault
server_idYesShort server identifier (e.g. '00000000')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.6/5.0
Behavior3/5

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

readOnlyHint=true already declares the safety profile, so the description only needs to add context. It does add value by enumerating the possible states (running/offline/starting/stopping) and listing the metrics returned, which helps an agent branch on results. It says nothing about freshness, latency, or what happens when the server is offline, so it stays at a baseline-plus level.

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?

A single front-loaded sentence with no filler; the state enumeration and metric list are each doing work. Nothing is redundant or restated from the title.

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 carries the burden of describing return values, and it does so by naming the state field values and the five metric categories. Minor gaps remain around response shape and behavior on unreachable servers, but the essentials for correct invocation are present.

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?

Only one parameter (server_id) with 100% schema description coverage including a format example, so the schema fully documents it. The description adds no additional meaning about the identifier format or lookup behavior, which is acceptable at baseline for a fully described single parameter.

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?

Uses a specific verb ('Check') with a clearly scoped resource: live server state plus CPU, memory, disk, network and uptime. An agent can distinguish this from a static config tool like get_server by the word 'live'. It stops short of naming a sibling to contrast with, so it lands at 4 rather than 5.

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 the usage context (checking current health/status) but never states when to prefer it over get_server or get_server_activity, nor any exclusions or prerequisites. Guidance is inferable rather than explicit.

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