Skip to main content
Glama

quote

Read-onlyIdempotent

PCC quote. POST /v1/quote. Free. First 1 GB free once per IP, then $0.25/GB, $1 card minimum. Same price function as spl_quote.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "quote"
  }
}

Input Schema

NameRequiredDescriptionDefault
opNocompress, decompress, or roundtrip.
bytesNoPayload bytes.
api_keyNoBearer key or raw key when the door requires a tool credential.
paymentNox402 X-PAYMENT. Omit it and a paid door answers 402.
productNoauto, zrw, blackjack, shard-zip, shard-tsdb, or slid-phi.
dataClassNoData class, when known.
authorizationNoAuthorization header when the door is a Tollkeeper tool (Bearer ar_…).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, openWorld), so the description does not need to repeat it. What it does add is real behavioral context: the pricing model ($0.25/GB after the first free 1 GB per IP, $1 card minimum) and the fact that this is a read-style quote despite being a POST. It still says nothing about how a 402/payment challenge plays out at runtime.

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?

Five terse fragments, with the key facts (endpoint, cost, free tier, sibling equivalence) front-loaded and no filler.

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?

The description covers cost but says nothing about what the tool returns: presumably a price quote, but there is no output schema to clarify, and an agent cannot tell what fields to expect back. The opaque 'PCC' term is never defined, and for a 7-parameter paid endpoint that gap matters more than it would on a simpler tool.

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% and all 7 parameters carry their own descriptions (op, bytes, api_key, payment, product, dataClass, authorization), so the baseline is a 3. The description adds no extra detail about parameter meaning, such as how 'product' values map to operations or what a price quote returns.

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 an endpoint (POST /v1/quote) and the term 'PCC quote', and says it shares the price function with spl_quote, which helps separate it from that sibling. But 'PCC' is unexplained and the description never says outright that it returns a price for a compression operation, so the agent has to infer the purpose from 'quote' plus the schema's op/bytes parameters.

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 statement of when to call this instead of spl_quote or the other payment siblings. 'Same price function as spl_quote' hints that the two are interchangeable, but it gives no rule for choosing between them and no when-not-to-use guidance.

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