Skip to main content
Glama

create_topup_invoice

Create a crypto invoice that tops up the balance. Returns the address and exact amount for the user to pay.

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": {
      "amount_usd": "<amount_usd>"
    },
    "name": "create_topup_invoice"
  }
}

Input Schema

NameRequiredDescriptionDefault
coinNoCoin and network: usdtbsc = USDT on BEP20, usdtsol = USDT on Solana, usdttrc20 = USDT on TRC20 (+$4 network fee), usdterc20 = USDT on ERC20 (+$2), usdcbsc = USDC on BEP20, usdcsol = USDC on Solana, usdc = USDC on ERC20 (+$2), btc = Bitcoin, eth = Ether, ltc = Litecoin, sol = Solana, bnbbsc = BNB, xmr = Monerousdtbsc
amount_usdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-destructive write with no external side effect. The description adds genuinely useful behavior beyond that: it returns a payment address and the exact amount to pay. It does not disclose whether the invoice expires, whether the rate is locked, or whether the credited balance differs from amount_usd after network fees.

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?

Two short sentences with zero filler, front-loading what the tool creates and then what it returns. Every clause earns its place, and the return-value sentence is placed where an agent will read it before calling.

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?

For a two-parameter tool with no output schema, the description usefully substitutes for the missing return spec by naming the address and exact amount. However, crypto invoices carry important operational traits — expiry, re-invocation behavior, and fee impact on the credited balance — that are left unstated, so it is adequate rather than 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 coverage is 50%: the coin enum is fully self-documented including per-network fee notes, while amount_usd has only a minimum of 1. The phrase 'exact amount for the user to pay' hints that the payable amount may diverge from amount_usd because of fees, which is a small but real addition beyond the schema.

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 ('Create a crypto invoice') plus the business intent ('tops up the balance'), so an agent can tell it apart from read-only siblings like list_payments or get_account. It does not explicitly contrast with order_server or list_payments, so sibling disambiguation is only implied.

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?

Usage is implied by 'tops up the balance' — an agent can infer this is for adding funds rather than paying for a server — but there is no explicit when-to-use/when-not guidance and no named alternative for other payment flows. Nothing is misleading, but the routing is left to inference.

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