Skip to main content
Glama

zip

Read-onlyIdempotent

PCC zip. POST /v1/zip. Packs files into a .pcc archive. Same door as spl_zip and POST /api/archive.

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": {
      "files": "<files>"
    },
    "name": "zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles: path, data_b64, dir.
api_keyNoBearer key or raw key when the door requires a tool credential.
paymentNox402 X-PAYMENT. Omit it and a paid door answers 402.
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
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is largely covered. The description adds the transport details (POST /v1/zip) and the resulting artifact type (.pcc archive), but never resolves the tension between "packs files" and readOnlyHint=true — it does not say whether the archive is returned as bytes or persisted server-side.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

It is short and front-loaded, but "PCC zip" merely restates the tool name and "Same door as spl_zip and POST /api/archive" is cryptic shorthand that spends a sentence without informing the agent. The single useful sentence is the third one.

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

Completeness2/5

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

For a tool with four parameters, no output schema, and an ambiguous read/write nature, the description leaves key questions open: what comes back (archive bytes, a URL, a handle?), whether anything is stored, and how auth headers interact with the door. An agent cannot fully predict the result of calling it from this text.

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 files array (path, data_b64, dir) and the three auth headers, so the baseline is 3. The description adds no meaning beyond the schema — nothing about file ordering, size limits, path semantics, or how data_b64 is expected to be encoded.

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

Purpose4/5

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

The description gives a concrete verb and outcome: "Packs files into a .pcc archive", plus the HTTP route POST /v1/zip and the output format. It does not truly distinguish itself from siblings, though — saying it is "Same door as spl_zip and POST /api/archive" asserts equivalence rather than telling the agent why one would pick this tool over those.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus spl_zip, compress, or decompress; the "same door" clause actually collapses the choice instead of clarifying it. The agent must infer from the name and the word "Packs" that this is for creating archives, with no stated preconditions or 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.

Resources