Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Rotate Database Password

pterodactyl_rotate_database_password
Destructive

Rotates a Pterodactyl server database password and returns the new credential, invalidating connections that use the old password.

Instructions

Rotate (reset) the password for a server database. Returns the new password.

Warning: This will invalidate any existing connections using the old password.

Args:

  • server (string): Server identifier

  • db (number): Database ID

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>",
      "db": "<db>"
    },
    "name": "pterodactyl_rotate_database_password"
  }
}

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, and the description adds genuinely useful context beyond them: the old password is invalidated and all existing connections break, and a new password is returned. It does not say whether the rotation is reversible or what permissions are required, so it adds value but not a full behavioral picture.

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 sentence and the connection-invalidation warning are tight and earn their place. The trailing Args block duplicates the schema verbatim and could be dropped, which is the only real waste.

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 and schema coverage, the description covers purpose, consequence, and return value. Without an output schema it does at least tell the agent that a new password comes back, which is the key piece of return information.

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% and the schema actually says more than the description (short ID format like 'abc12345', db must be a positive integer). The Args block merely restates the two parameters, so no meaning is added beyond the schema — baseline 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/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 ('Rotate (reset) the password for a server database') and states the outcome ('Returns the new password'). No sibling tool performs password rotation, so an agent can distinguish this from create_database/delete_database on the name alone.

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 — an agent can infer you call this when a credential is compromised or must be changed, but there is no explicit when-to-use statement and no mention of alternatives such as deleting and recreating the database. Adequate but with a clear gap.

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