Skip to main content
Glama
pebblehost-mcp
by numycode

Zip files into an archive

compress_files

Compresses selected files or folders into an archive in the same folder, running in the background. Use it to bundle server files and check the folder with list_files once done.

Instructions

Compresses files or folders into an archive created in the same folder. All paths must be in one folder. Runs in the background; call list_files on that folder to see the archive when it finishes.

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": {
      "paths": "<paths>"
    },
    "name": "compress_files"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathsYesFiles or folders to include, all in the same folder.
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/5.0
Behavior4/5

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

Adds real behavior beyond the annotations: the operation is asynchronous ('runs in the background'), the output is written into the same folder as the inputs, and there is an input-coherence rule. openWorldHint/idempotentHint/destructiveHint are already declared, so the useful contribution here is the async disclosure. It does not say whether an existing archive of the same name is overwritten or what the archive is named.

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, each carrying distinct information: the action, the path-coherence constraint, and the async follow-up. The async caveat is front-loaded before the agent needs it, and there is no filler.

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?

With no output schema, the description correctly handles the hardest part of this tool — that it returns before the archive exists — by directing the agent to list_files. Missing details are minor: archive naming, overwrite behavior, and failure modes for invalid paths.

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 coverage is 100%, so the schema already documents both 'paths' and 'server'. The description's 'all paths must be in one folder' restates the schema's own parameter text rather than adding new meaning, 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 ('Compresses') and resource ('files or folders into an archive'), plus where the archive lands ('same folder'). It does not explicitly name extract_archive as the inverse operation, so sibling differentiation is left to inference, but the direction of the operation is unambiguous.

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?

Gives a clear operational constraint ('all paths must be in one folder') and a concrete follow-up ('call list_files on that folder to see the archive when it finishes'). It stops short of stating when to prefer this over extract_archive or create_backup, but the context for correct use is clear.

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