Skip to main content
Glama

withdraw

Withdraw from account balance

Initiate a withdrawal from the user's account balance. The USDC is sent on Solana to the solana_address you supply; the destination is never inferred, so the address is required. The withdrawal is created in a pending state and sent within a few minutes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
amountYesAmount to withdraw in USD
auth_tokenNoLaso credential. Only if the MCP connection has no Authorization header.
solana_addressYesSolana wallet address that receives the USDC. Must be a valid base58 Solana address.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -{
      -  "properties": {
      -    "success": {
      -      "type": [
      -        "boolean",
      -        "null"
      -      ]
      -    },
      -    "withdrawal": {
      -      "description": "A withdrawal record.",
      -      "properties": {
      -        "amount": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "id": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "solana_address": {
      -          "description": "The Solana address the USDC will be sent to.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "state": {
      -          "description": "One of: pending.",
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        },
      -        "timestamp": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "timestamp_readable": {
      -          "type": [
      -            "string",
      -            "null"
      -          ]
      -        }
      -      },
      -      "type": [
      -        "object",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": "object"
      -}New value: +null
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the full behavioral disclosure burden. It reveals useful traits: the transfer is USDC on Solana, the destination is never inferred, the withdrawal starts in a pending state, and it is sent within a few minutes. These details go beyond the input schema and give the agent a realistic model of the operation. It does not cover reversibility or fees, but the key execution behavior is transparent.

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?

The description consists of two sentences with no filler. The core purpose is front-loaded ('Withdraw from account balance'), followed by the most important constraints. Every sentence adds value: network/asset, address requirement, and pending-state timing. It is appropriately sized for the tool's complexity.

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?

The description covers the operational result (pending state, settlement within minutes) and the key requirements. However, since there is no output schema, it does not state what the tool returns (e.g., a withdrawal ID or confirmation), which the agent would likely need to follow up with get_withdrawal_status. It is adequate but leaves a moderate gap for a financial mutation 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%, so the baseline is 3. The description adds meaning beyond the schema by explaining that the solana_address is never inferred and thus required, and that the amount is in USD. This reinforces and enriches the parameter definitions, especially for the withdrawal address. The auth_token parameter is not discussed, but its schema description is complete.

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 opens with a specific verb and resource: 'Withdraw from account balance' and then clarifies the asset and network (USDC on Solana). It is distinct from sibling tools like withdraw_card_balance (card balance) and send_payment (sending funds) by making clear this is a withdrawal from the user's account balance to an external Solana address.

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?

The description implies when to use the tool: whenever the user needs to withdraw from their account balance to a Solana address. It states the destination is never inferred and must be supplied. However, it does not explicitly compare against alternatives such as agent_wallet_transfer or send_payment, nor does it say when not to use it. The context is clear but no exclusions or alternative routing are provided.

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