Skip to main content
Glama

fund_card_from_account_balance

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?

Goes well beyond the annotations: free, exact `amount` debited, delivery to the deposit address usually within a minute, automatic return of funds if delivery fails, and the polling path (`top_up_id` plus list-card-transactions / get-card-deposit-address) to confirm crediting. This is rich operational context for a non-idempotent mutation that annotations alone would not convey.

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?

Bold section headers (Free, Tracking, Amount) and the funding-source caveat is front-loaded, so it is easy to scan. It does slightly restate the min/max already present in the schema, a small redundancy, but the remaining sentences each carry new information.

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?

With an output schema present, the description does not need to enumerate return fields, yet it still explains the key `top_up_id` and the follow-up sequence needed to finish the flow. Prerequisite, cost, failure behavior, and amount constraint are all covered for a one-parameter money-movement tool.

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 already documents the $5–$10,000 bounds, so the baseline would be 3. The description adds a constraint not expressible in the schema — the amount cannot exceed the account balance — which genuinely improves the agent's ability to pick a valid value.

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), a specific resource (reloadable card), and a specific funding source (the account balance), which cleanly separates it from the sibling fund_card_balance/push_to_card tools. The added note that GET /fund-card-balance takes a new payment while this spends already-held money makes the distinction explicit.

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?

Explicitly names the alternative (fund_card_balance takes a new payment) and the condition that selects this tool instead (money the account already holds, e.g. an unfulfillable paid request). It also states the prerequisite (a linked card issuer account via POST /start-card-issuer-link).

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