Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Get WebSocket Connection Info

pterodactyl_get_websocket
Read-onlyIdempotent

Retrieve a short-lived JWT and WebSocket URL to connect to a Pterodactyl server console for real-time access.

Instructions

Get the WebSocket token and socket URL for console access.

Returns a JWT token (valid for 10 minutes) and socket URL for establishing a WebSocket connection to the server console.

Args:

  • server (string): Server identifier

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_websocket"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverYesServer identifier (short ID like 'abc12345')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and openWorldHint, so the safety profile is covered. The description adds genuinely new behavior: the returned JWT is valid for only 10 minutes, which is a critical operational constraint absent from the structured fields. It does not say whether the token is single-use or how it must be presented during the handshake.

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 return-value summary is front-loaded before the args block, so the most useful information comes first. The Args section is largely redundant with the schema and could be dropped, but the text is short and free of filler.

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 correctly explains what comes back (token plus socket URL) and adds the expiry window. For a single-parameter read tool with annotations covering safety, this is close to complete, though it omits practical handshake details such as whether the token travels as a query parameter or header.

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 the single parameter is documented in-schema as 'Server identifier (short ID like abc12345)'. The description's 'server (string): Server identifier' restates the schema without adding format or sourcing guidance, so the baseline 3 applies.

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 a specific verb and resource ('Get the WebSocket token and socket URL for console access') and states what is returned. It stops short of distinguishing itself from the close sibling pterodactyl_get_console, which an agent could easily confuse with this tool.

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?

Usage is only implied by the phrase 'for console access' — an agent can infer this is the prerequisite step before opening a console stream. There is no explicit when-to-use/when-not guidance and no mention of pterodactyl_get_console as the alternative for reading console output.

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