Skip to main content
Glama

fund_agent_wallet

Destructive

Move Laso balance into the managed wallet

Moves dollars from the account's Laso balance into its own managed agent wallet, as USDC on Solana. The destination is always the account's own wallet, resolved server-side; no address is accepted. There is no fee. Create the wallet first with createAgentWallet if it does not exist.

The Laso balance is debited once when the call returns. The USDC is sent on-chain afterwards, usually within a few minutes, and shows in the wallet once it settles. idempotencyKey is required: retrying with the same key returns the same transfer (alreadySubmitted: true) and never debits twice. Use a new key for each new transfer. Refused for a frozen account. The minimum is $0.01.

Free.

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>",
      "idempotencyKey": "<idempotencyKey>"
    },
    "name": "fund_agent_wallet"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesDollars to move, rounded to the cent. At most the current Laso balance.
idempotencyKeyYes8-64 letters, digits, `-` or `_`. Reuse it to retry the same transfer safely.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the annotations it discloses the debit timing (balance debited when the call returns), the asynchronous on-chain settlement window of minutes, the absence of a fee, the frozen-account refusal, and the exact idempotency contract (same key returns the same transfer with alreadySubmitted: true, never double-debits). This is materially more than destructiveHint=true and openWorldHint=false 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?

The text is front-loaded with the core action, then layers prerequisites, timing, and idempotency in a logical order. It loses a point for a redundant title line restated at the top and a dangling trailing word ("Free.") after the fee was already covered.

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 only two required parameters, a full output schema, and complete annotations, the description covers everything an agent needs: prerequisites, cost, limits, failure mode, and retry semantics. Note the prerequisite names `createAgentWallet`, while the sibling is `create_agent_wallet`; the casing mismatch is a minor friction point but the referent is unambiguous.

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%, so the baseline is 3, but the description adds real meaning: it explains why no address parameter exists, that amount is capped at the current Laso balance, and that key reuse returns the prior transfer rather than performing a second one. The only gap is that the 8-64 character key format is left entirely to 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?

The description gives a specific verb and resource ("Moves dollars from the account's Laso balance into its own managed agent wallet, as USDC on Solana") and immediately narrows scope with "The destination is always the account's own wallet... no address is accepted." That constraint is what separates it from siblings like agent_wallet_transfer or move_agent_wallet_funds, which would plausibly take a destination.

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 states clear prerequisites and conditions: create the wallet first with createAgentWallet, a new idempotency key per new transfer, refusal for frozen accounts, and a $0.01 minimum. It does not explicitly say when to pick this over move_agent_wallet_funds or fund_card_balance, so routing among siblings still requires 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