Skip to main content
Glama

fund_card_from_account_balance

Destructive

Top up a reloadable card from the account balance

Load the account holder's reloadable card balance from their Laso account balance, the USDC already credited to the account (read it with GET /get-account-balance). GET /fund-card-balance takes a new payment; this spends money the account already holds, such as a paid request that could not be fulfilled.

Free. The account balance is debited exactly amount, and that amount lands on the card balance. Laso delivers it to the holder's deposit address at the card issuer, usually within a minute.

Tracking. The response carries a top_up_id. Poll GET /list-card-transactions until that top-up's status under top_ups is credited, or GET /get-card-deposit-address until balance reflects it, then call POST /create-reloadable-card. If the delivery fails, the amount is returned to the account balance.

Amount: $5 to $10,000, and no more than the account balance.

A linked card issuer account is required (see POST /start-card-issuer-link).

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": "<amount>"
    },
    "name": "fund_card_from_account_balance"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesUSD to move from the account balance onto the card balance (min $5, max $10,000).

Output Schema

NameRequiredDescriptionDefault
noteNoWhat happens next and how to track it.
statusNoAlways `paid`: the account balance has been debited. Follow the top-up through `bridging`, `delivered`, and `credited` in `GET /list-card-transactions`.
top_up_idNoIdentifies this top-up under `top_ups` in `GET /list-card-transactions`.
funded_usdNoUSD debited from the account balance and loaded onto the card balance.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, idempotentHint=false), it discloses that the operation is free, that the balance is debited exactly `amount`, expected delivery time (usually within a minute), the `top_up_id` tracking path with the exact status values to poll for, and that failed delivery refunds the account balance. That is unusually complete behavioral context for a money-moving mutation.

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?

Front-loaded with purpose and the sibling distinction, then scoped under clear bold headings (Free, Tracking, Amount). It is longer than typical, and the endpoint-name references add some density, but nearly every sentence carries information an agent needs to sequence follow-up calls.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive money-movement tool it covers amount limits, funding source, prerequisite linking, success timing, verification loop, and failure/refund behavior. An output schema exists, so the lack of return-field prose is not a gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the single parameter is already documented with the same $5–$10,000 bounds, so the description adds little on syntax. It does add one constraint absent from the schema — the amount cannot exceed the account balance — which materially affects a valid call.

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 specific verb (top up), resource (reloadable card), and source of funds (account balance) in the title sentence. It explicitly distinguishes itself from the sibling `fund_card_balance`, which takes a new payment, so an agent can route between the two without opening a schema.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use rule: this spends money the account already holds, such as a paid request that could not be fulfilled, while `GET /fund-card-balance` covers new payments. It also states the prerequisite (a linked card issuer account via `POST /start-card-issuer-link`) and the amount ceiling relative to the account balance.

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