Skip to main content
Glama

spl_unzip

Read-onlyIdempotent

Restore files from a .pcc archive made by spl_zip. Accepts the archive as base64; returns each file with path and base64 bytes plus the member count. Read-only computation — nothing is stored. Use only on .pcc archives; use spl_decompress for single blobs from spl_compress.

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

Input Schema

NameRequiredDescriptionDefault
packed_b64YesBase64-encoded .pcc archive previously returned by spl_zip.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / packed_b64 / description
      Added value: +"Base64-encoded .pcc archive previously returned by spl_zip."
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent and non-destructive, but the description still adds that nothing is persisted and describes the return shape (per-file path plus base64 bytes and a member count), which matters since there is no output schema. It stops short of saying what happens on a malformed or truncated archive, which is the main remaining behavioral unknown.

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 purpose, then behavior, then the disambiguation rule. No filler and every clause carries information.

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 one-parameter read-only tool with no output schema, the description covers input provenance, the fact that the archive must come from spl_zip, the return structure, and the routing to spl_decompress. Nothing an agent needs in order to call it correctly is missing.

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% and the single parameter already documents itself as a base64-encoded .pcc archive from spl_zip. The description restates the base64 input and adds the provenance constraint, but adds no format, size, or validation detail beyond the schema — baseline 3 applies.

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?

"Restore files from a .pcc archive made by spl_zip" gives a specific verb (restore) and resource (files in a .pcc archive), and ties the input to the sibling tool that produces it. An agent can distinguish this from spl_zip and spl_decompress without opening any schema.

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?

Explicitly scoped ("Use only on .pcc archives") and names the alternative with its condition ("use spl_decompress for single blobs from spl_compress"). Both the when and the when-not are stated, with the sibling to redirect to.

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