Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Get Server Console Output

pterodactyl_get_console
Read-onlyIdempotent

Retrieves recent console output for a Pterodactyl server by opening a short-lived authenticated WebSocket connection, returning buffered logs unavailable through the REST API.

Instructions

Retrieve recent console output for a server via WebSocket.

Connects to the server's console WebSocket, authenticates, requests the console log history, and returns the buffered output. Because the panel does not expose console logs via the REST API this tool opens a short-lived WebSocket connection.

The server must be running.

Args:

  • server (string): Server identifier

  • lines (number): Maximum lines to return (default: 100)

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": "<server>"
    },
    "name": "pterodactyl_get_console"
  }
}

Input Schema

NameRequiredDescriptionDefault
linesNoMaximum console lines (1-1000, default 100)
serverYesServer identifier (short ID)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive), and the description adds real context beyond them: it opens a short-lived WebSocket, authenticates first, and returns only buffered history — implying older output is unavailable. It stops short of describing failure behavior if the socket handshake fails, but the preconditions and mechanism are meaningfully disclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The rationale sentence about the REST API not exposing logs earns its place and is front-loaded after the core purpose. The trailing Args block is redundant with a fully documented schema and adds length without value.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 carry return-value information, and "returns the buffered output" is vague about whether that is a raw string, a list of lines, or timestamps. For a tool whose result is a log dump, this leaves an agent unsure what shape to parse.

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%, so the baseline is 3. The Args block merely restates the schema (server identifier, lines default 100) and is actually less precise than the schema, which specifies a short ID and the 1-1000 range; no extra meaning is added.

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?

States a specific verb and resource ("Retrieve recent console output for a server") and explains the transport (WebSocket) plus why it is used instead of the REST API. It does not explicitly contrast itself with the sibling pterodactyl_get_websocket, so an agent must infer the split between fetching console history and fetching a socket URL.

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?

Provides one real usage constraint — "The server must be running" — which is genuinely useful for deciding whether the call can succeed. However, it offers no explicit routing versus alternatives such as pterodactyl_get_websocket or pterodactyl_send_console_command, and no statement of when this tool is inappropriate.

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