Skip to main content
Glama

decompress

Read-onlyIdempotent

PCC decompress. POST /v1/decompress. Restores bytes from compress. Same door as spl_decompress.

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

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 packed bytes from compress.
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 readOnly, idempotent, non-destructive, and open-world, so the safety profile is covered. The description adds the transport detail (POST /v1/decompress) and the pairing with compress, but says nothing about error behavior, payload size limits, or what comes back — and the POST verb against a readOnly hint is worth noting though not contradictory for a pure transform.

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 sentences, front-loaded with the tool's identity and route, with no wasted prose. The closing 'Same door as spl_decompress' is compact but cryptic rather than informative.

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, so the description should say what the call returns; 'Restores bytes from compress' implies original bytes but does not clarify whether the response is raw bytes, base64, or a JSON envelope. For a four-parameter tool with an auth/payment surface the definition is adequate but not complete.

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%, so all four parameters, including the api_key/payment/authorization auth variants, are already documented. The description adds only the linkage that 'packed_b64' comes from compress, which is marginal beyond the schema's own 'Base64 packed bytes from compress' text.

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?

The description names the operation ('PCC decompress', 'Restores bytes from compress') and gives the HTTP route POST /v1/decompress, so the resource and direction of the transform are clear. However, 'PCC' is unexplained jargon and 'Same door as spl_decompress' gestures at a sibling without stating whether the two are equivalent or how they differ, so an agent still cannot cleanly discriminate between them.

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 phrase 'Same door as spl_decompress' hints that the two tools are interchangeable but never says which to prefer or under what conditions, leaving the agent to guess between siblings.

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