Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Set Primary Network Allocation

pterodactyl_set_primary_allocation
Idempotent

Assign an existing allocation as the primary allocation for a specified Pterodactyl server using its server identifier and allocation ID.

Instructions

Set an existing allocation as the server's primary allocation.

Args:

  • server (string): Server identifier

  • allocation (number): Allocation ID to make primary

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>",
      "allocation": "<allocation>"
    },
    "name": "pterodactyl_set_primary_allocation"
  }
}

Input Schema

NameRequiredDescriptionDefault
serverYesServer identifier (short ID like 'abc12345')
allocationYesAllocation ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare this is a non-destructive, idempotent, non-readOnly mutation, so the safety profile is covered. The description adds the 'existing allocation' precondition but says nothing about what happens to the previously primary allocation or whether the change is reversible — useful context that is left out.

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?

Front-loaded single-sentence purpose followed by a compact args list; nothing extraneous, though the args block is redundant with a fully documented schema.

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?

For a two-parameter mutation with full annotation coverage and no output schema, the definition is essentially sufficient. The only meaningful omission is how to obtain a valid allocation ID.

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%, with the schema even adding the 'short ID like abc12345' format and an exclusiveMinimum on the allocation ID. The description's Args block merely restates the schema, adding no new meaning.

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: 'Set an existing allocation as the server's primary allocation.' An agent can tell this apart from allocation siblings like create/delete by the 'primary' framing, though no sibling is named.

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 — 'existing allocation' signals a prerequisite that the allocation must already exist (versus pterodactyl_create_allocation), but there is no explicit when-to-use, when-not, or pointer to a discovery tool such as list_allocations.

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