Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Toggle Backup Lock

pterodactyl_lock_backup
Idempotent

Locks or unlocks a Pterodactyl backup to prevent deletion until the lock is removed. Use it to protect important server backups from accidental removal.

Instructions

Toggle the lock state of a backup. Locked backups cannot be deleted until unlocked.

Args:

  • server (string): Server identifier

  • backup (string): Backup UUID

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>",
      "backup": "<backup>"
    },
    "name": "pterodactyl_lock_backup"
  }
}

Input Schema

NameRequiredDescriptionDefault
backupYesBackup UUID to lock/unlock
serverYesServer identifier (short ID like 'abc12345')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

The description usefully discloses the behavioral consequence that locking blocks deletion, which the annotations do not convey. But it declares the operation a "toggle" while the annotations claim idempotentHint=true — with a true toggle, calling twice reverts the state, so an agent that trusts the idempotency hint could leave a backup unlocked by repeating the call. It also says nothing about permission requirements for locking.

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?

Two short, front-loaded sentences with no filler; the key constraint about deletion is placed before the parameter list. The Args block is somewhat redundant with a fully documented schema but does not bloat the definition.

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 two-parameter mutation tool with no output schema, the description covers the resource and the effect of locking but omits the most operationally important detail: there is no way to request a desired state, so the agent must inspect the backup first to know whether this call locks or unlocks. That missing precondition is not recoverable from the schema or annotations.

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 schema is actually richer than the description, including the short-ID format hint and the UUID constraint on backup. The Args block merely restates both parameters, adding no new meaning, so the baseline of 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?

"Toggle the lock state of a backup" names a specific verb and resource and is clearly distinguishable from siblings like create_backup, delete_backup, restore_backup, and download_backup. The only gap is that "toggle" doesn't say what the resulting state will be, so an agent still has to know the current lock state to predict the outcome.

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?

The sentence "Locked backups cannot be deleted until unlocked" gives the practical motivation for locking and implies when to use the tool. However, there is no explicit when-to-use versus when-not, no note that a second call reverses the first, and no guidance for choosing between this and destructive siblings such as delete_backup.

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