Skip to main content
Glama

compress

Read-onlyIdempotent

PCC compress. POST /v1/compress. Same engine as spl_compress. First 1 GB free once per IP, then $0.25/GB. A tool credential is required on the HTTP door. This is not Tollkeeper pcc-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": {
      "data_b64": "<data_b64>"
    },
    "name": "compress"
  }
}

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.
data_b64YesBase64 bytes to compress.
authorizationNoAuthorization header when the door is a Tollkeeper tool (Bearer ar_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.3/5.0
Behavior4/5

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

The description adds real behavioral context beyond the annotations: free tier of 1 GB per IP, $0.25/GB afterwards, and that a tool credential is required on the HTTP door. Pricing and auth requirements are exactly the kind of non-obvious traits annotations cannot express, though the failure behavior of a paid door (beyond the schema's 402 hint) is not elaborated.

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, but the telegraphic fragments ("PCC compress.", "POST /v1/compress.") and the trailing negated sentence are cryptic without context. The most actionable information, pricing and credential requirement, is not front-loaded.

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?

For a simple single-input compression tool with 100% schema coverage and a read-only annotation, the description covers auth and cost but leaves the return value, output format, and any input size constraint unstated. With no output schema, those omissions matter more than they otherwise would.

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%, so api_key, authorization, payment, and data_b64 are already documented in the input schema. The description adds no meaning about the data format, size limits, or credential source beyond what the schema states, so the baseline 3 applies.

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?

"PCC compress. POST /v1/compress" identifies a compression operation on base64 bytes, and the endpoint mapping plus "same engine as spl_compress" gives some sibling differentiation. It stops short of explaining what PCC is or how the output differs from spl_compress, so it is clear but not fully distinguishing.

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 explicit when-to-use or when-not-to-use guidance. The negation "This is not Tollkeeper pcc-compress" hints at routing but reads as a disambiguation note rather than a selection rule, and no alternative tool (spl_compress, decompress) is given a positive selection condition.

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