Skip to main content
Glama

Unzip a file inside a bucket

extract_storage_zip
DestructiveIdempotent

Unpack a .zip that is already in a bucket (up to 100 MB per file inside it, any total size) into a folder in the same bucket, without downloading it. The archive is read in ranges and files are written under dest_prefix (default: the zip name without .zip). Each call works for about 40 seconds; if the result says done is false, call again with start set to next_start. Existing files with the same path are replaced (confirm: true). The zip itself is left in place. Upload the zip first with storage_upload_link or the dashboard.

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": {
      "service_id": "<service_id>",
      "region": "<region>",
      "bucket": "<bucket>",
      "key": "<key>"
    },
    "name": "extract_storage_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
keyYesPath of the .zip in the bucket.
startNoEntry number to continue from (the previous result's next_start). Default 0.
bucketYesBucket name (3-63 lowercase letters, digits, dots, hyphens).
regionYesRegion code from storage_plans or storage_overview, e.g. fra (Frankfurt), usa (Virginia), sgp (Singapore).
confirmNoMust be true. Set it only after the customer has explicitly confirmed this exact change.
service_idYesObject Storage service id, as returned by the matching list tool.
dest_prefixNoFolder to unpack into, e.g. "Design_System/files/". Default: next to the zip, named after it.

Output Schema

NameRequiredDescriptionDefault
doneNo
bytesNo
failedNo
skippedNo
extractedNo
next_startNo
dest_prefixNo
total_filesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well past the annotations: names the destructive side effect (existing files at the same path are replaced, requiring confirm: true), clarifies the zip is left in place, and discloses the ~40-second per-call execution window with a continuation protocol. Limits (100 MB per file, unbounded total) are stated up front, which is exactly the context annotations cannot convey.

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?

Front-loaded with the core action and its size limit, then constraints, then the resume protocol, then the upload precondition. Every sentence carries a distinct operational fact; nothing is repeated from the schema verbatim beyond brief defaults.

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 destructive, chunked, 7-parameter operation, the description covers side effects, resumption, defaults, limits, and prerequisites. An output schema exists, so the description is not obliged to enumerate return fields, and its references to done and next_start are sufficient pointers.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so the baseline is 3; the description adds real meaning on top by explaining dest_prefix's default (zip name without .zip) and by tying start to the previous call's next_start, turning a bare integer into a pagination contract. The remaining parameters (service_id, region, bucket, key) are left to 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?

Specific verb and resource: unpack a .zip already in a bucket into a folder in the same bucket, without downloading it. Scope and mechanism (range reads, writes under dest_prefix) make it unmistakable against siblings like read_storage_file or download_storage_part.

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?

Clearly frames the precondition: the zip must already be in the bucket, uploaded via storage_upload_link or the dashboard. The resume flow (if done is false, call again with start=next_start) is spelled out. It never states when not to use it, e.g. for local uploads or unsupported archive formats, so it falls short of explicit exclusions.

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.