Skip to main content
Glama
pebblehost-mcp
by numycode

Unzip an archive

extract_archive
DestructiveIdempotent

Extracts .zip, .tar.gz, and similar archives into their containing folder, replacing existing files at matching paths. Runs in background; call list_files afterward to verify.

Instructions

DESTRUCTIVE: files in the archive replace existing files with the same paths. Extracts a .zip, .tar.gz, or similar archive into the folder that contains it. Runs in the background; call list_files afterwards.

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": {
      "path": "<path>"
    },
    "name": "extract_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesArchive path, relative to the server's root directory, such as "server.properties" or "plugins/LuckPerms/config.yml".
serverNoServer identifier or UUID. Omit to use the configured server (PEBBLEHOST_SERVER_ID); other servers are refused unless PEBBLEHOST_ALLOW_ALL_SERVERS is set.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=true, so the safety profile is known. The description still adds real behavior beyond them: exactly what is overwritten (files with the same paths), where output lands (the containing folder), and that the operation is asynchronous and must be confirmed via list_files. It omits failure behavior for corrupt or unsupported archives, which keeps it at 4 rather than 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, with the most consequential fact (DESTRUCTIVE) front-loaded in caps before any procedural detail. No sentence is redundant and nothing is buried.

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 destructive tool with no output schema, the definition covers safety, scope, supported formats, and post-call verification. The absence of any mention of error outcomes (partial extraction, bad archive) is the only remaining gap.

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 both 'path' and 'server' are already fully documented in the schema, including the server-ID fallback and allow-list env var. The description adds only the implicit note that 'path' points to an archive and that the target is its containing directory; baseline 3 applies when the schema carries the load.

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 gives a specific verb ('Extracts') plus the resource ('a .zip, .tar.gz, or similar archive') and the destination rule ('into the folder that contains it'). Supported formats and target location together let an agent distinguish this from compress_files and the upload_* siblings without opening any schema.

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

Usage Guidelines4/5

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

It supplies a concrete follow-up instruction ('call list_files afterwards') that tells the agent what to do after invocation, which is unusual and useful. It does not state when this tool should be preferred over restore_files or upload_local_file, so there is no explicit exclusion guidance, keeping it just below a 5.

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