Skip to main content
Glama

Extract a ZIP into new folder

exza_archive_extract

Extract a bounded ZIP (max 16 MiB compressed/12 MiB expanded) into a NEW destination directory. Rejects traversal, symlinks, zip bombs and existing paths. Never overwrites existing files.

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": {
      "from": "<from>",
      "to": "<to>"
    },
    "name": "exza_archive_extract"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesNEW extraction directory; must not already exist.
fromYesExplicit existing file/directory path inside the owner-authorized EXZA scope.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations, the description discloses concrete size ceilings (16 MiB compressed/12 MiB expanded), the security posture (rejects traversal, symlinks, zip bombs), and non-overwrite semantics. These are exactly the operational facts an agent needs before invoking an extraction, and they are consistent with destructiveHint=false.

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, front-loaded with the action and its limits, then the safety behavior. No filler and nothing redundant.

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 tool with an explicit schema, the description covers constraints, security, and overwrite behavior well. The only gap is that no output schema exists and the description says nothing about what is returned on success (e.g., extracted file list or count).

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 `from` and `to`, including that `to` must not exist. The description reinforces the NEW-destination constraint but adds no new meaning about path syntax, scope rules, or what happens to `from` beyond what the schema states.

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 names a specific verb (Extract) and resource (a bounded ZIP) plus the destination behavior (into a NEW directory). The verb alone separates it from the sibling exza_archive_create, which goes the other direction.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: the agent learns the destination must be new and that existing paths are rejected, which is effectively a precondition. There is no explicit when-to-use/when-not guidance and no named alternative for other archive operations.

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