Skip to main content
Glama
Pterodactyl MCP Server

Pterodactyl MCP Server

by Ethereal-Jay

Compress Server Files

pterodactyl_compress_files

Create a tar.gz archive of specified files or directories on a Pterodactyl server to pack server data for storage or transfer.

Instructions

Create a compressed archive (tar.gz) of specified files/directories.

Args:

  • server (string): Server identifier

  • root (string): Root directory for relative paths (default: '/')

  • files (string[]): Array of file/directory paths to include in the archive

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>",
      "files": "<files>"
    },
    "name": "pterodactyl_compress_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
rootNoRoot directory for relative paths/
filesYesArray of file/directory paths to compress
serverYesServer identifier (short ID like 'abc12345')

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already cover the safety profile (readOnlyHint=false, destructiveHint=false, non-idempotent, open-world). The description adds the concrete archive format (tar.gz), which is real value, but it omits where the archive is written/named, whether an existing archive is overwritten, and what happens on partial failure.

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 opening sentence is front-loaded and precise, but the trailing Args block duplicates structured schema information verbatim and adds length without adding information.

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 non-idempotent mutating tool with three parameters, no output schema, and no annotations explaining results, the definition leaves the return value (resulting archive path/size) and overwrite behavior unexplained, which the agent would need to chain a follow-up call.

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 the baseline is 3. The Args block merely restates the schema field descriptions (including the '/' default) rather than adding meaning such as path syntax, whether globs or absolute paths are allowed, or how 'root' interacts with entries in 'files'.

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 ('Create'), resource ('compressed archive (tar.gz)') and inputs ('specified files/directories'). Clear enough to distinguish from pterodactyl_decompress_file without opening the schema, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives no when-to-use conditions, no prerequisites, and does not point at any alternative (e.g. decompress_file or backup tools). An agent must infer usage entirely from the name and the task at hand.

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