New Your team’s decisions, in one playbook every coding agent works from. Never answer your agent twice

magicblock_withdraw

Build an unsigned transaction to withdraw SPL tokens from an Ephemeral Rollup back to Solana. Then use sap_preview_transaction, sap_sign_transaction, and sap_submit_signed_transaction — or use sap_payments_finalize_transaction for 1-call preview+sign+submit (hosted mode). Builder fee applies. SAP...

SERVERSap SOURCEhttps://mcp.sap.oobeprotocol.ai/mcp
Critical RISK CLASS
Category Financial
Parameters 93 required
Recommended Approval-gatedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/oobe-protocol-labs-sap-mcp-server/magicblock-withdraw.md

What magicblock_withdraw does on Sap

AI agents use magicblock_withdraw to commit financial operations through Sap, usually the final step of a payment, billing, or trading workflow. A call moves real money.

ParameterTypeRequiredDescription
mint string Yes SPL mint on Solana
owner string Yes Wallet pubkey that owns the tokens and will sign
amount number Yes Base-unit amount to withdraw (integer, minimum 1)
cluster string Cluster: 'mainnet', 'devnet', or custom RPC URL
validator string Optional ER validator pubkey
idempotent boolean Use idempotent variants for preparatory init instructions (default true)
escrowIndex number Optional escrow index for the withdrawal
initIfMissing boolean Initialize transfer queue if missing (default true)
initAtasIfMissing boolean Initialize ATAs if missing (default true)

Parameters from the server's own tool schema.

Why magicblock_withdraw is rated Critical

Withdraws cryptocurrency tokens and incurs financial fees; irreversible blockchain transaction.

From the tool's definition withdraw SPL tokens, builder fee applies, financial transaction on blockchain

Questions about magicblock_withdraw

What does the magicblock_withdraw tool do? +

Build an unsigned transaction to withdraw SPL tokens from an Ephemeral Rollup back to Solana. Then use sap_preview_transaction, sap_sign_transaction, and sap_submit_signed_transaction — or use sap_payments_finalize_transaction for 1-call preview+sign+submit (hosted mode). Builder fee applies. SAP MCP execution guidance: Intent: SAP MCP tool workflow. Pricing: paid builder; estimate first, then pay/build and finalize unsigned transactions locally when returned. Routing: paid hosted call; call sap_estimate_tool_cost first, then use sap_payments_call_paid_tool if the runtime cannot handle x402 natively. Signer boundary: hosted reads/builders never receive keypair bytes; value-moving results must be finalized locally when signing is required. It is categorised as a Financial tool in the Sap MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

What parameters does magicblock_withdraw accept? +

magicblock_withdraw accepts 9 parameters: mint, owner, amount, cluster, validator, idempotent, escrowIndex, initIfMissing, initAtasIfMissing. Required: mint, owner, amount. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on magicblock_withdraw? +

Register the Sap MCP server in PolicyLayer and add a rule for magicblock_withdraw: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Sap. Nothing to install.

What risk level is magicblock_withdraw? +

magicblock_withdraw is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.

Can I rate-limit magicblock_withdraw? +

Yes. Add a rate_limit block to the magicblock_withdraw rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.

How do I block magicblock_withdraw completely? +

Set action: deny in the PolicyLayer policy for magicblock_withdraw. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.

What MCP server provides magicblock_withdraw? +

magicblock_withdraw is provided by the Sap MCP server (https://mcp.sap.oobeprotocol.ai/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

More on Sap, and thousands of servers like it.

// THE MCP REGISTRY

PolicyLayer tracks 44,603 MCP servers and 515,000+ tools.

Every server has a live record: who publishes it, whether it answers without auth, its risk grade, every tool classified, the recommended policy. This page is one line of Sap's. Pull the full record:

Teams ship this data inside their own products. See what a licence covers →

// GET IN TOUCH

Have a question or want to learn more? Send us a message.

Message sent.

We'll get back to you soon.