Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Create Network Allocation

pterodactyl_create_allocation

Assigns a new IP:Port allocation to a Pterodactyl server, auto-selecting an available node allocation when IP and port are omitted.

Instructions

Assign a new network allocation (IP:Port) to a server.

If ip and port are omitted, the panel will auto-assign from available node allocations.

Args:

  • server (string): Server identifier

  • ip (string, optional): IP address

  • port (number, optional): Port number

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

Input Schema

NameRequiredDescriptionDefault
ipNoIP address for the allocation (optional, uses node defaults)
portNoPort for the allocation (optional, auto-assigns)
serverYesServer identifier (short ID like 'abc12345')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true, so the mutation profile is covered. The description adds one genuinely useful behavioral fact — that omitting ip/port triggers panel-side auto-assignment from available node allocations — but says nothing about permissions, failure modes when no allocations remain, or whether the change is reversible.

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 core action is front-loaded in the first sentence, and the auto-assign caveat follows immediately. The trailing Args block is largely redundant with a fully documented schema, which costs a point but does not obscure anything.

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?

For a create tool with no output schema and only one required parameter, the definition is workable but thin: it never says what comes back (the new allocation object, presumably) nor how to discover valid ip/port values on a node before calling. The auto-assign note partially compensates, keeping it at an adequate level.

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 coverage is 100%, so the baseline is 3. The Args block essentially restates what the schema already documents ('uses node defaults', 'auto-assigns'), adding the detail that auto-assignment draws from the node's available allocation pool but no format or constraint guidance beyond that.

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 opens with a specific verb+resource: 'Assign a new network allocation (IP:Port) to a server.' That is unambiguous and clearly distinct from delete/set-primary/list siblings. It stops short of explicitly routing the agent away from any named sibling, so a 4 rather than a 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?

Usage is implied (call this when you need a new allocation on a server) and there is a useful note about omitting ip/port to auto-assign. However, there is no explicit when-not guidance, no prerequisite conditions (e.g. node capacity, permissions, whether the server must be stopped), and no comparison to set_primary_allocation, which is the closest conceptual alternative.

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