Skip to main content
Glama

Buy prepaid credits

credits_topup

Buy a prepaid credit bundle with an x402 payment on this call. The result carries a clc_ token that pays priced tools of this server by credit, sent in _meta["com.criptonlabs/credit-token"] or as an Authorization Bearer token.

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": {
      "bundle": "<bundle>"
    },
    "name": "credits_topup"
  }
}

Input Schema

NameRequiredDescriptionDefault
bundleYesBundle to buy. usd-starter: 1.00 USD, VAT included, about 273 to 1366 calls, payable by a stock x402 client with no setup; eur-1: 1.21 EUR, VAT included, about 400 to 2000 calls; eur-2: 2.42 EUR, VAT included, about 880 to 4400 calls; eur-10: 12.10 EUR, VAT included, about 4600 to 23000 calls; eur-50: 60.50 EUR, VAT included, about 24000 to 120000 calls; usd-1: 1.21 USD, VAT included, about 333 to 1666 calls; usd-2: 2.42 USD, VAT included, about 733 to 3666 calls; usd-10: 12.10 USD, VAT included, about 3833 to 19166 calls; usd-50: 60.50 USD, VAT included, about 20000 to 100000 calls.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / bundle / description
      Previous value: -"Bundle to buy. usd-starter: 1.00 USD, VAT included, about 1366 calls, payable by a stock x402 client with no setup; eur-1: 1.21 EUR, VAT included, about 2000 calls; eur-2: 2.42 EUR, VAT included, about 4400 calls; eur-10: 12.10 EUR, VAT included, about 23000 calls; eur-50: 60.50 EUR, VAT included, about 120000 calls; usd-1: 1.21 USD, VAT included, about 1666 calls; usd-2: 2.42 USD, VAT included, about 3666 calls; usd-10: 12.10 USD, VAT included, about 19166 calls; usd-50: 60.50 USD, VAT included, about 100000 calls."New value: +"Bundle to buy. usd-starter: 1.00 USD, VAT included, about 273 to 1366 calls, payable by a stock x402 client with no setup; eur-1: 1.21 EUR, VAT included, about 400 to 2000 calls; eur-2: 2.42 EUR, VAT included, about 880 to 4400 calls; eur-10: 12.10 EUR, VAT included, about 4600 to 23000 calls; eur-50: 60.50 EUR, VAT included, about 24000 to 120000 calls; usd-1: 1.21 USD, VAT included, about 333 to 1666 calls; usd-2: 2.42 USD, VAT included, about 733 to 3666 calls; usd-10: 12.10 USD, VAT included, about 3833 to 19166 calls; usd-50: 60.50 USD, VAT included, about 20000 to 100000 calls."
  2. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare a non-read-only, non-idempotent, open-world, non-destructive operation, so the baseline is lower. The description still adds real value by stating what the result carries (a clc_ token) and exactly how to present it downstream (_meta key or Authorization Bearer). It does not warn that repeated calls charge again despite idempotentHint=false, which would have been a valuable explicit caution.

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?

Two sentences with no filler; the action is front-loaded and the downstream token mechanics follow logically. The second sentence is dense but every clause (token format, transport locations) carries information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter purchase tool with no output schema, the description covers the essential gap: it explains what the return value is and how to reuse it. Missing pieces are edge behavior on payment failure or duplicate charges, which leaves it slightly short of fully 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% and the single enum parameter documents each bundle with price, VAT inclusion, and call-range estimates. The description adds no additional parameter meaning beyond what the schema already provides, so the 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?

The description opens with a specific verb+resource ('Buy a prepaid credit bundle') and names the payment mechanism (x402) up front. This is unambiguously a purchase tool, which no sibling in the list resembles, so an agent can select it without confusion.

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

Usage Guidelines3/5

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

The phrase 'with an x402 payment on this call' implies the payment happens within this invocation rather than as a separate step, which is useful context. However, no explicit prerequisites (x402-capable client, wallet funding) or when-not-to-use guidance appear in the description; the 'no setup' hint only lives inside the bundle enum for usd-starter.

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