Skip to main content
Glama

unzip

Read-onlyIdempotent

PCC unzip. POST /v1/unzip. Restores a .pcc archive. Same door as spl_unzip and POST /api/unarchive.

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": {
      "packed_b64": "<packed_b64>"
    },
    "name": "unzip"
  }
}

Input Schema

NameRequiredDescriptionDefault
api_keyNoBearer key or raw key when the door requires a tool credential.
paymentNox402 X-PAYMENT. Omit it and a paid door answers 402.
packed_b64YesBase64 .pcc archive from zip.
authorizationNoAuthorization header when the door is a Tollkeeper tool (Bearer ar_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so safety is covered. The description's only added behavior is that it is a POST endpoint — which sits in mild tension with readOnlyHint=true and "Restores," a word that reads as a write, and it says nothing about whether the archive is written to disk or merely unpacked in the response, nor about auth/payment failure modes beyond what the schema notes.

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?

Four short fragments, front-loaded and free of padding. The leading "PCC unzip" is redundant with the tool name, but the rest (endpoint path, archive format, sibling equivalence) carries information an agent can act on.

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?

There is no output schema, and the description never says what an unzip call returns — the unpacked archive contents, a handle, or a listing — which is the key unknown for a decompression tool. With annotations covering safety and the schema covering all four parameters, the remaining gap is modest but real.

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%, including the required packed_b64 ("Base64 .pcc archive from zip"), the api_key, payment and authorization headers. The description adds no parameter meaning beyond the schema, so the baseline of 3 applies; it does not need to compensate for any coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Restores a .pcc archive" does name a concrete resource and operation, so the core action is recoverable. But the opening "PCC unzip" only restates the tool name, and "Same door as spl_unzip and POST /api/unarchive" asserts equivalence with a sibling rather than distinguishing what this tool uniquely does, leaving the agent unsure whether the choice between them matters.

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?

By stating it is the "same door" as spl_unzip and POST /api/unarchive, the description implicitly tells the agent that either entry point is acceptable, which is usable guidance. It stops short of explicit when-to-use/when-not-to-use criteria or prerequisites (e.g., that a .pcc archive from the zip tool is the expected input).

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