Skip to main content
Glama
axross-headless-mcp

axross-headless-mcp

Create archive

create_archive

Bundle or compress files and folders from a directory into a single archive, optionally password-protected 7z. Use it to package selected entries in place for storage or transfer.

Instructions

Create a new archive from entries of one folder, in that folder. Use when: bundling or compressing files, optionally with a 7z password. Instead: list_archive_formats for formats; extract_archive to unpack; encrypt_file for one file. Requires: --mcp-tools archive. Behavior: works on any backend. Only adds: a taken name gets ' (2)' ('bundle (2).zip'); each call adds an archive. Folders go in recursively, hidden files too, up to 200,000 entries, no size cap (extract_archive refuses over 10,000 members or 1 GiB). Symlinks and secret files go to skipped. Time limit: 30 min. Returns: {path, format, files, folders, bytes_in, bytes_out, skipped, encrypted}.

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": {
      "archive_name": "<archive_name>"
    },
    "name": "create_archive"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoThe folder holding the entries (absolute, or relative to the MCP root); the archive is created in it. Required unless path_b64 is given.
levelNoCompression level: fast (larger, quicker), normal or best (smallest, slowest).normal
namesNoNames of files or folders directly inside path, e.g. ['report.pdf', 'images']; no path separators, no repeats. Required unless names_b64 is given.
formatNoArchive format; list_archive_formats tells which are available here. gz, zst, xz and bz2 compress exactly one file.zip
backendNoBackend id from list_backends; omit for the default.
passwordNo7z only: encrypt the archive with AES-256 using this password; any other format fails with one. Never logged or returned.
path_b64Nopath as base64 of its raw bytes, for non-UTF-8 names; replaces path.
names_b64Nonames as base64 of each name's raw bytes, for non-UTF-8 names; replaces names.
archive_nameYesArchive file name without a folder, e.g. 'bundle'; the format's suffix (.zip, .tar.gz, ...) is added when missing.
encrypt_namesNo7z with a password: also encrypt the file list, so names are hidden without the password. Ignored otherwise.

Output Schema

NameRequiredDescriptionDefault
pathYes
filesYes
formatYes
foldersYes
skippedYes
bytes_inYes
bytes_outYes
encryptedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.15.181

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only declare the safety profile (readOnly=false, destructive=false, idempotent=false, openWorld=true); the description goes far beyond that with name-collision behavior ('bundle (2).zip'), additive-per-call semantics, recursive inclusion of hidden files, the 200,000-entry cap with no size cap, symlink/secret-file handling routed to 'skipped', and a 30-minute execution limit. It also notes backend-independence, which annotations do not convey. Nothing here contradicts the non-destructive, non-idempotent hints — repeated calls append new archives rather than overwrite.

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 label-prefixed structure (Use when / Instead / Requires / Behavior / Returns) is heavily front-loaded and scannable, with no filler prose. The 'Returns: {path, format, files, ...}' sentence restates the output schema field by field and is the one segment that does not earn its place.

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

Completeness5/5

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

For a 10-parameter creation tool with real failure modes, the description covers scope, prerequisites, limits, skip semantics, and timing, and the output schema already carries the return shape. The only residual redundancy is repeating return fields, which is harmless rather than a 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 every parameter — including path_b64, encrypt_names, and the 7z-only password constraint — is already fully documented, making 3 the baseline. The description adds only the passing mention of an optional 7z password and does not touch level, backend, or the b64 alternates, so it contributes little meaning beyond the schema.

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?

States a specific verb and resource plus its exact scope: 'Create a new archive from entries of one folder, in that folder.' The 'Instead:' line names the sibling tools (list_archive_formats, extract_archive, encrypt_file) that could be confused with it, so an agent can separate create from extract without reading 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 Guidelines5/5

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

'Use when: bundling or compressing files, optionally with a 7z password' gives the triggering condition, and 'Instead:' routes three adjacent tasks elsewhere. The 'Requires: --mcp-tools archive' prerequisite is stated up front, which is the kind of gating information agents usually have to discover by failing.

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