Skip to main content
Glama

spl_zip

Read-onlyIdempotent

Pack files into a .pcc archive (the lab's zip). Each file is compressed with the hosted engine; returns the archive as base64 plus packed size and member count. Read-only computation — nothing is stored. Use to bundle multiple files; use spl_compress for a single blob, spl_unzip to restore.

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": "spl_zip"
  }
}

Input Schema

NameRequiredDescriptionDefault
filesYesFiles to pack. Each item: path (archive path), data_b64 (base64 file bytes; omit for directories), dir (true for a directory entry).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / files / description
      Added value: +"Files to pack. Each item: path (archive path), data_b64 (base64 file bytes; omit for directories), dir (true for a directory entry)."
    • addedInput schema / properties / files / items / properties / data_b64 / description
      Added value: +"Base64-encoded file bytes. Omit for directory entries."
    • addedInput schema / properties / files / items / properties / dir / description
      Added value: +"True when this entry is a directory (no bytes). Defaults to false."
    • addedInput schema / properties / files / items / properties / path / description
      Added value: +"Path inside the archive, e.g. notes/readme.txt."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations already establish read-only, idempotent, non-destructive behavior, so the description's 'Read-only computation — nothing is stored' is partly reinforcing. It still adds real value the annotations cannot convey: compression happens on a hosted engine, and the response shape is base64 payload plus packed size and member count. It does not mention any auth requirement, which the presence of spl_lab_auth among siblings suggests may apply.

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 tight sentences: purpose and format first, return/behavior second, tool routing last. Every sentence carries information the agent needs, and nothing is repeated.

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?

With one flat parameter, no output schema, and annotations covering the safety profile, the remaining burden is return shape and sibling routing — both supplied. An agent has everything needed to call this correctly.

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%, with the files array and its path/data_b64/dir sub-fields fully documented in the schema itself. The description says only that files get packed and adds no format, ordering, or size guidance beyond that, so the baseline of 3 is appropriate.

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 opens with a specific verb and resource ('Pack files into a .pcc archive') and immediately disambiguates the format with a plain-language gloss ('the lab's zip'). It is clearly distinguishable from spl_compress and spl_unzip, which are named explicitly.

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

Usage Guidelines5/5

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

It states the selection condition ('Use to bundle multiple files') and names both alternatives with their own conditions ('spl_compress for a single blob, spl_unzip to restore'). No inference is left to the agent.

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