Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Decompress Server Archive

pterodactyl_decompress_file

Decompresses tar.gz or zip archives on a specified Pterodactyl server using the archive file path and optional root directory.

Instructions

Extract a compressed archive (tar.gz, zip) on the server.

Args:

  • server (string): Server identifier

  • root (string): Root directory where the archive is located (default: '/')

  • file (string): Full path to the archive file to extract

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>",
      "file": "<file>"
    },
    "name": "pterodactyl_decompress_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesFull path to the archive to decompress
rootNoRoot directory/
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 safety signalling is covered. The description adds format support, but says nothing about overwrite behavior for pre-existing files, whether the operation can fail on partial archives, or permission requirements.

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 followed by a short arg list; nothing bloated. The arg list largely duplicates the schema, so it earns slightly less than full marks.

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?

A mutating, non-idempotent tool with no output schema needs more: what the response confirms and where extracted contents land are unaddressed. Adequate for basic invocation but leaves behaviour gaps.

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%, so all three parameters are already documented in the schema. The description restates them almost verbatim (server, root default '/', file full path) without adding path syntax, relative-vs-absolute rules, or constraints.

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: "Extract a compressed archive (tar.gz, zip) on the server." The supported formats are a useful scoping detail. It never names the inverse sibling (compress_files) or any near-alternative, so differentiation is only implicit.

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?

Use is implied by the operation itself, but there is no explicit when-to-use, no exclusions, and no pointer to related tools such as compress or delete. An agent must infer that this is the counterpart to the compress tool.

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