Skip to main content
Glama

Moneda

propose_sub_account_withdraw

Destructive

Move money from a sub-account back to the user's own main account. Not for paying someone from a sub-account (use initiate_payment with source.kind=sub_account). Single-signature sub-accounts only; for a joint account use propose_sub_account_multisig_proposal. Creates a request the user approves in the Moneda mobile app; nothing happens until then. After calling, poll get_payment_status.

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": {
      "subAccountId": "<subAccountId>",
      "amount": "<amount>",
      "currency": "<currency>"
    },
    "name": "propose_sub_account_withdraw"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount in user-facing units, e.g. '25.00'
currencyYesCurrency
subAccountIdYesSub-account UUID (from list_sub_accounts)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Annotations already mark this as a non-read-only, destructive operation, and the description adds important workflow context beyond them: this creates a request that the user must approve in the Moneda mobile app, and nothing happens until that approval. It also clarifies that the result is asynchronous and should be checked with get_payment_status.

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 is compact and front-loaded: the primary action comes first, followed by exclusions, account-type constraints, approval behavior, and next-step polling. Every sentence adds decision-relevant 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?

For a three-parameter proposal tool with full schema coverage and no output schema, the description is complete. It covers the action, sibling alternatives, account-type restriction, approval requirement, and the follow-up status check.

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

Parameters3/5

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

Schema description coverage is 100%, so the schema already documents all three parameters, including amount format, currency enum, and subAccountId UUID format. The description does not add parameter-level syntax or constraints beyond the schema, so the baseline score of 3 is appropriate.

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 states a specific action and resource: moving money from a sub-account back to the user's main account. It also explicitly distinguishes this tool from initiate_payment and propose_sub_account_multisig_proposal, so the agent can identify the correct tool without opening sibling schemas.

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?

It gives explicit when-to-use and when-not-to-use guidance: not for paying someone from a sub-account, single-signature sub-accounts only, and joint accounts should use propose_sub_account_multisig_proposal. It also tells the agent to poll get_payment_status after calling.

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