Skip to main content
Glama
AsharFinance

Ashar Exchange MCP Server

Official
by AsharFinance

Execute Payout (Withdrawal)

ashar_execute_payout
Idempotent

Executes a USDC/USDT to PIX withdrawal using a previously created quote, debiting the sender wallet and returning the payout ID and status.

Instructions

Execute a USDC/USDT -> PIX withdrawal using a previously created payout quote.

Args:

  • quote_id (string): id from ashar_create_payout_quote

  • sender_wallet_id (string): the sender wallet address from which crypto is debited

  • network (string, optional): settlement network — 'evm' (default), 'solana', or 'stellar'

  • signed_transaction (string, optional): pre-signed transaction, required for 'solana' and 'stellar'

  • idempotency_key (string, optional): safely retry without double-spending

Returns the payout_id and status.

Input Schema

NameRequiredDescriptionDefault
networkNoSettlement network (default evm)
quote_idYesQuote id from ashar_create_payout_quote
idempotency_keyNoOptional idempotency key
sender_wallet_idYesSender wallet address debited for the payout
signed_transactionNoPre-signed transaction (required for solana/stellar)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

Although annotations already declare readOnlyHint=false, idempotentHint=true, and destructiveHint=false, the description adds useful behavioral context: crypto is debited from the sender wallet, signed_transaction is required for solana/stellar networks, and idempotency_key prevents double-spending on retries. It does not disclose authorization, quote-expiry, or rate-limit behavior, but it meaningfully supplements the annotations.

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 description is front-loaded with purpose and then structured with Args and Returns sections, making it easy to scan. However, the full parameter list repeats schema information that is already 100% covered, so some of the content does not fully earn its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description usefully says it returns payout_id and status, and it explains the quote prerequisite, required sender wallet, and network-specific signing requirement. It is complete enough to call correctly, though it could mention quote-expiry or authorization constraints for a high-stakes withdrawal operation.

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 five parameters and their meanings. The description restates the same parameters with modest added context, such as the crypto-to-PIX flow and network-specific signed-transaction requirement, but does not add enough beyond the schema to raise the baseline.

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 uses a specific verb and resource ('Execute a USDC/USDT -> PIX withdrawal') and ties it to a previously created payout quote. It clearly distinguishes this execution step from quote creation and from other payout read/list operations, so an agent can identify the tool's role without opening the schema.

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?

The description gives clear usage context by stating that execution requires a quote from ashar_create_payout_quote and by identifying the required quote_id and sender_wallet_id. It does not explicitly say when not to use this tool versus execute_transfer or execute_payin, so it falls short of full when/when-not guidance.

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

Deploy Server

Other Tools