Skip to main content
Glama

Buy credits

scrape_order

Buy credits with Bitcoin. Creates an invoice and returns order_id, invoice_url and amount_sats; price is 100 sats per credit, minimum 100 credits (10,000 sats); every paid call costs 1 credit. Pay it, then call scrape_collect_key. Free.

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

Input Schema

NameRequiredDescriptionDefault
creditsNoHow many credits to buy. One credit pays for one paid call.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and idempotentHint=false, so the write nature is covered; the description adds real value beyond that with pricing, the minimum purchase, the per-call burn rate (1 credit per paid call), and the returned fields. It does not warn that repeated invocations create additional invoices (relevant given idempotentHint=false) or whether invoices expire.

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?

Dense and front-loaded: purpose, return values, pricing, and next step all land in two sentences with no filler. The trailing one-word "Free." is ambiguous — it is unclear whether it means the call itself is free or the credits are free — which slightly undercuts the otherwise tight structure.

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?

An output schema exists, so listing return fields is bonus rather than necessity, but it usefully tells the agent what to expect before calling. Pricing and the scrape_collect_key handoff cover the essential behavior for a one-parameter purchase tool. The only real gap is the credits minimum mismatch with the schema.

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 `credits` parameter is already fully documented in the schema, so the baseline is 3. The description adds pricing math (100 sats per credit) which helps the agent reason about cost. However, it states "minimum 100 credits" while the schema declares minimum: 1, creating an inconsistency about what values are actually accepted.

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?

States a specific verb and resource ("Buy credits with Bitcoin") and immediately explains the artifact produced (an invoice with order_id, invoice_url, amount_sats). This resolves the confusing mismatch between the name scrape_order and the title "Buy credits". It does not explicitly contrast with the balance-checking sibling scrape_credits, so it stops short of full sibling differentiation.

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

Usage Guidelines4/5

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

Gives a clear workflow: buy, pay the invoice, then call scrape_collect_key — that sequencing is the key usage guidance an agent needs. It also states the entry conditions (minimum 100 credits / 10,000 sats at 100 sats per credit). It does not say when this tool is unnecessary (e.g., if existing credits suffice via scrape_credits) or name any exclusion.

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