Skip to main content
Glama

LiquidVision — Crypto Derivatives Data

buy_credits

Read-onlyIdempotent

[payment] How an agent with a wallet buys a prepaid API key by itself, with ONE x402 USDC payment and no human, email or account. Returns the exact payment requirements (price, asset, payTo, network, the resource URL) for GET https://liquidvision.app/api/v1/credits/buy?usd=N. Send that GET with a PAYMENT-SIGNATURE (x402 v2) or X-PAYMENT (v1) header from your wallet and the answer is a key of tier 'prepaid' with the credits ($0.005 each; a row costs 1, a 12-venue position check 4, precedents or an attestation 10, a rule test 20); the same wallet always tops up the same key. Credits are spent per call by price class; every conclusion and live snapshot stays free. This tool itself moves no money.

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

Input Schema

NameRequiredDescriptionDefault
usdNoPack size in USD: 1 (200 credits), 5 (1,000) or 20 (4,000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.8/5.0
Behavior4/5

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

The description goes well past the annotations (readOnlyHint/idempotent/non-destructive) by stating the tool moves no money, that payment is settled by the agent's own wallet on a subsequent GET, and that the same wallet always tops up the same key. It also discloses the per-call credit pricing model. Missing only failure/expiry behaviour if the payment is rejected.

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?

The core point (returns payment requirements, no money moves) is buried after a long clause and a nested parenthetical of per-call prices. Every fact is relevant, but the single dense paragraph with an embedded 30-word bracket is harder to scan than it needs to be.

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?

With no output schema, the description usefully enumerates what comes back — price, asset, payTo, network, resource URL — and explains the end-to-end flow. Enough to call it correctly, though post-payment failure handling and requirement expiry are left implicit.

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 `usd` description already lists the 1/5/20 pack sizes with credit counts, so the schema does the heavy lifting. The description adds the derived economics ($0.005/credit and per-call price classes) but does not add new meaning about the parameter itself.

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?

The description gives a specific verb and resource: it returns x402 USDC payment requirements for `GET /api/v1/credits/buy?usd=N`, and explicitly distinguishes the tool's role by saying 'This tool itself moves no money.' It does not name the neighbouring `get_api_key` or `credits_balance` siblings, so the boundary between this tool and those is inferable but not stated.

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?

Clear context for when to reach for it: an agent with a wallet that needs a prepaid key without human, email or account, plus the explicit follow-up step of resending the GET with a PAYMENT-SIGNATURE or X-PAYMENT header. It never explicitly says when *not* to use it or names an alternative tool for agents that already hold a key.

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