Skip to main content
Glama

Create deposit

create_deposit

Create a crypto deposit invoice to buy credits: USDC on Base or BTC on-chain. No signup and no card. Pay the exact amount and address in the returned uri; the credits are added automatically after the payment confirms. The amount is unique so the payment can be matched. Poll deposit_status to see when it is credited. Next: pay the exact amount shown, then poll deposit_status.

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": {
      "rail": "<rail>",
      "usd": "<usd>"
    },
    "name": "create_deposit"
  }
}

Input Schema

NameRequiredDescriptionDefault
usdYesAmount to deposit in US dollars (1-500). Credits = floor(usd / 0.0001).
railYesPayment rail: usdc-base (USDC on Base) or btc (Bitcoin on-chain).
account_keyNoThe account_key returned by create_account (or send it as Authorization: Bearer).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description does substantial work: it discloses that no signup or card is needed, that credits are credited automatically after payment confirms, and that the amount is deliberately unique so payments can be matched. Gaps remain around invoice expiry and whether repeated calls create multiple invoices, but the core behavior is disclosed.

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 purpose is front-loaded in the first sentence, which is good. However, the closing sentence ('Next: pay the exact amount shown, then poll deposit_status') largely repeats the earlier 'Pay the exact amount and address in the returned uri' and 'Poll deposit_status' statements, so a meaningful share of the text is redundant.

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 two-required-parameter creation tool with no output schema, the description covers the essential lifecycle: what is created, how to pay, and when credits land. It even references the returned uri, partially compensating for the missing output schema. Missing invoice expiry and duplicate-call semantics keep it short of 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 100%, so usd, rail, and account_key are already fully documented in the schema, establishing a baseline of 3. The description adds a little meaning — that the exact amount in the returned uri must be paid — but nothing about parameter syntax or constraints beyond the schema.

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?

States a concrete verb and resource ('Create a crypto deposit invoice to buy credits') and immediately scopes it to the two supported rails (USDC on Base, BTC on-chain). This is clearly distinguishable from siblings like get_balance or deposit_status, which appear in the same workflow.

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?

The description gives the full workflow sequence — create the invoice, pay the exact amount in the returned uri, then poll deposit_status — which tells the agent exactly what to do next. It does not explicitly state exclusions or when to prefer an alternative over this tool, but the sequencing against deposit_status is 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.

Resources