Skip to main content
Glama

tnt-house-risk-data-api

Create a top-up or subscription invoice

create_topup_invoice

Creates a Solana payment invoice for your API key: kind "topup" adds call credit ($5-$500, usd_amount, default $5); kind "subscription" buys 30 days. Returns payment_id, the exact pay_amount and wallet_address. Send exactly pay_amount, then call check_payment. Max 3 pending invoices per key.

Input Schema

NameRequiredDescriptionDefault
kindNotopup (default) or subscription
api_keyNoOptional. Your RiskDataApi key, for MCP hosts that cannot send an Authorization header. If both are present, the Authorization header wins.
currencyNoPayment currency (default USDC)
usd_amountNoTop-up amount in USD, 5-500 (default 5); ignored for subscription

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and performs well: it discloses the required payment flow, return fields, top-up bounds, subscription duration, and the maximum number of pending invoices. It does not cover invoice expiry, overpayment behavior, or error cases, which keeps it from a 5.

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?

The description is dense and front-loaded, with zero wasted sentences. It moves from purpose to kind behavior to return values to next action to limits.

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?

The description explains return values despite there being no output schema, and covers the critical payment flow and limits. It is mostly complete, though it omits details about invoice expiry and failure handling.

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%, so the schema already documents kind, usd_amount bounds, defaults, and currency options. The description reinforces kind and usd_amount behavior but does not add meaningful parameter guidance beyond what the schema provides, especially for currency and api_key.

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 states a specific verb and resource: creates a Solana payment invoice for an API key. It clearly differentiates the two invoice kinds, topup versus subscription, with concrete effects for each.

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?

It gives clear workflow guidance: send exactly pay_amount and then call check_payment. It also states a pending-invoice limit, which helps the agent understand operational constraints. It does not explicitly say when not to use this tool, but the context is otherwise clear.

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.