Skip to main content
Glama

Withdraw all confirmed BSV

withdraw_bsv
Destructive

Sends the entire confirmed BSV balance from this kit to one user-confirmed BSV address, deducting the network fee; irreversible, and blocked during swaps, paused spending, or disallowed addresses.

Instructions

Send all of this kit's confirmed BSV to one BSV address. This moves funds and cannot be undone: use only an address the user gave you, and confirm it with them first. It always sends the whole confirmed balance, and the network fee comes out of it; there is no partial amount. Refused while a swap or a BSV delivery is in progress, while spending is stopped, or when limits.json does not allow the address. Returns txid and sats sent, or sats 0 with a reason when there is no confirmed BSV. Use withdraw_base for USDC or ETH; to send a new swap's BSV straight to an address, pass deliver_to to swap_asset_to_bsv.

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": {
      "address": "<address>"
    },
    "name": "withdraw_bsv"
  }
}

Input Schema

NameRequiredDescriptionDefault
addressYesDestination BSV mainnet address (P2PKH, starting with 1), supplied and confirmed by the user.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv0.2.22
    • addedInput schema / properties / address / description
      Added value: +"Destination BSV mainnet address (P2PKH, starting with 1), supplied and confirmed by the user."
  2. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already flag destructive/non-idempotent/openWorld, and the description goes well beyond them: effects are irreversible, the entire confirmed balance is always sent, the network fee is deducted from it, partial amounts are impossible, and the specific gating conditions under which the call is refused. It even discloses return shapes ('txid and sats sent, or sats 0 with a reason') in the absence of an output schema.

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?

Front-loads the action, then immediately the irreversibility warning, then the total-balance/fee semantics, then refusal conditions, then return values, then sibling routing. Dense but every clause carries decision-relevant information; nothing is redundant.

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 single-parameter destructive tool with no output schema, the definition covers safety, preconditions, refusal cases, return values, and alternatives. Nothing an agent needs to invoke it correctly or to handle the response is missing.

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 address format, so the baseline is 3; the description adds real meaning by imposing a provenance constraint (user-supplied and user-confirmed) and an external validity check (limits.json must allow the address). It does not add format detail, but the schema covers that.

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?

Opens with a specific verb and resource plus scope: 'Send all of this kit's confirmed BSV to one BSV address', and explicitly distinguishes itself from withdraw_base (USDC/ETH) and swap_asset_to_bsv (deliver_to for a new swap's BSV). An agent can route without opening another 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?

States the primary precondition ('use only an address the user gave you, and confirm it with them first'), the alternatives with their selecting conditions ('Use withdraw_base for USDC or ETH', 'pass deliver_to to swap_asset_to_bsv'), and the refusal conditions (swap or delivery in progress, spending stopped, limits.json disallowing the address).

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.