Skip to main content
Glama

decompress_file

Extracts .tar.gz, .zip, and other archive files on a Pterodactyl server, specifying the server ID and archive path so AI agents can unpack files during server file operations.

Instructions

Extract an archive (.tar.gz, .zip, etc.) on the server.

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_id": "<server_id>",
      "file": "<file>"
    },
    "name": "decompress_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
fileYesArchive filename relative to root
rootNoDirectory containing the archive (default '/')
server_idYesShort server identifier

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

C2.9/5.0
Behavior2/5

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

Annotations declare only readOnlyHint=false; the description adds that the extraction happens server-side and accepts common archive formats, which is useful context. However, it says nothing about what is written to disk, whether existing files are overwritten, where the extracted contents land relative to root, or whether a destination directory is created — key behavioral facts for a write operation.

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?

A single efficient sentence with the action front-loaded and no wasted wording. It is terse to the point of omitting the destination/extraction-location detail, but the structure itself is clean.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a mutating, multi-format extraction tool with only a single annotation and no output schema, the description should say where files are extracted to and how collisions are handled. With 100% schema coverage the parameters are fine, but the operational outcome an agent needs to predict is missing.

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 file, root, and server_id are already documented (root defaults to '/', file is relative to root). The description adds no parameter-level meaning beyond the schema, so the baseline 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?

States a specific verb ('Extract') and resource ('archive') plus example formats (.tar.gz, .zip), which distinguishes it from the sibling compress_files by direction of operation. It stops short of explicitly naming the counterpart tool, but an agent can identify the action without opening the schema.

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?

There is no when-to-use guidance, no mention of the compress_files counterpart, and no stated prerequisites (e.g., that the archive must already exist on the server at the given root). Usage is only inferable from the tool name.

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