Skip to main content
Glama

Create archive

create_archive
Destructive

Use this when the user wants files or a directory packed into a tar, tar.gz, or zip archive, for example before a transfer or a backup.

Input Schema

NameRequiredDescriptionDefault
pathsYesAbsolute paths of the files and directories to include.
deviceYesReMCP device id returned by list_devices. Required for every device operation.
formatNoArchive format. Default tar.gz, or zip when the destination ends in .zip.
destinationYesAbsolute path of the archive to create.

Output Schema

NameRequiredDescriptionDefault
dataNoOptional structured result data for follow-up reasoning and tool calls.
textYesConcise human-readable result of the tool call.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added
  2. Removed
  3. First observed

TDQS

A3.7/5.0
Behavior2/5

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

Annotations declare destructiveHint=true, but the description adds no behavioral detail beyond that. It doesn't disclose that creating an archive may overwrite an existing destination or any other side effects. Since annotations are present, the bar is lower, but the description still fails to provide context that would help an agent understand potential consequences. It is neither misleading nor informative.

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?

The description is a single, front-loaded sentence with zero filler. It immediately states the trigger condition and purpose, making it efficiently scannable for an agent. No wasted words.

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?

The tool has a simple 4-parameter schema, an output schema, and annotations that cover destructive intent. The description tells an agent when to use it, but doesn't mention prerequisites (like device) or potential side effects. Given annotations and schema already cover these, the description is minimally complete. However, for a destructive tool, a note about overwriting behavior would enhance completeness.

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 all parameters (paths, destination, device, format) are already documented in the schema. The description merely lists archive formats that match the enum, adding no new semantic weight. Baseline 3 applies because the schema does the heavy lifting.

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 states a specific action (pack files/directory into an archive) with explicit formats (tar, tar.gz, zip) and examples (transfer, backup). It clearly distinguishes from siblings like extract_archive and other file operations. The verb-resource pair 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?

The description begins with 'Use this when the user wants...' providing explicit context and examples of appropriate scenarios. It does not mention alternatives explicitly, but the scope is clear enough for an agent to select it over destructive or other file tools. No exclusions are given, but the guidance is adequate.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources