prepare_marinade_unstake_immediate
Build an unsigned Marinade IMMEDIATE liquid-unstake tx: burn amountMSol mSOL and receive SOL in the same tx via Marinade's liquidity pool (NOT delayed-unstake / OrderUnstake — that flow returns full SOL after one epoch but requires an ephemeral ticket-account signer the Ledger-only signing model ...
This record as markdown: /tools/io-github-szhygulin-vaultpilot-mcp/prepare-marinade-unstake-immediate.md
What prepare_marinade_unstake_immediate does on VaultPilot MCP
AI agents use prepare_marinade_unstake_immediate to commit financial operations through VaultPilot MCP, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
wallet | string | Yes | Solana wallet that burns mSOL and receives SOL. Must have an initialized durable-nonce account and an mSOL position to unstake from. Liquid unstake routes throu |
amountMSol | string | Yes | Human-readable mSOL amount to unstake (e.g. "1.5"). Builder converts to mSOL base units (9 dec) and rounds down. |
Parameters from the server's own tool schema.
Why prepare_marinade_unstake_immediate is rated Critical
This tool constructs a transaction that burns liquid staking tokens (mSOL) and redeems them for SOL through a DeFi liquidity pool, incurring fees and moving crypto assets. This is a financial operation with real asset movement and potential for loss through fee exploitation or misdirected unstaking.
From the tool's definition burn `amountMSol` mSOL and receive SOL in the same tx via Marinade's liquidity pool ... The pool charges a small fee (typically 0.3% — varies with pool depth) in exchange for instant liquidity
Attacks that exploit this kind of access
The rule that runs prepare_marinade_unstake_immediate safely
PolicyLayer is an MCP gateway: it sits between your AI agents and VaultPilot MCP, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For prepare_marinade_unstake_immediate, this is the rule to start with:
Any call to prepare_marinade_unstake_immediate is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect VaultPilot MCP, apply this rule, and every prepare_marinade_unstake_immediate call is checked against it from then on.
Questions about prepare_marinade_unstake_immediate
Build an unsigned Marinade IMMEDIATE liquid-unstake tx: burn amountMSol mSOL and receive SOL in the same tx via Marinade's liquidity pool (NOT delayed-unstake / OrderUnstake — that flow returns full SOL after one epoch but requires an ephemeral ticket-account signer the Ledger-only signing model can't provide; tracked as a follow-up). The pool charges a small fee (typically 0.3% — varies with pool depth) in exchange for instant liquidity. DURABLE NONCE REQUIRED + same Ledger signing constraints as prepare_marinade_stake. BLIND-SIGN on Ledger. It is categorised as a Financial tool in the VaultPilot MCP MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
prepare_marinade_unstake_immediate accepts 2 parameters: wallet, amountMSol. Required: wallet, amountMSol. The full parameter table on this page comes from the server's own tool schema.
Register the VaultPilot MCP server in PolicyLayer and add a rule for prepare_marinade_unstake_immediate: 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 VaultPilot MCP. Nothing to install.
prepare_marinade_unstake_immediate is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the prepare_marinade_unstake_immediate 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.
Set action: deny in the PolicyLayer policy for prepare_marinade_unstake_immediate. 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.
prepare_marinade_unstake_immediate is provided by the VaultPilot MCP server (vaultpilot-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
More on VaultPilot, and thousands of servers like it.
Across the catalogue