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

prepare_solana_swap

Build an unsigned Jupiter-routed swap DRAFT. Takes the quote object returned by get_solana_swap_quote and calls Jupiter's /swap-instructions endpoint to get the deconstructed instruction list, then composes the final v0 tx: [nonceAdvance, ...computeBudget, ...setup, swap, cleanup?, ...other]. DUR...

SERVERVaultPilot MCP SOURCEvaultpilot-mcp
High RISK CLASS
Category Execute
Parameters 32 required
Recommended Rate-limitedsee the rule below
Registry record Grade F, identity unverified Pull the record →

This record as markdown: /tools/io-github-szhygulin-vaultpilot-mcp/prepare-solana-swap.md

What prepare_solana_swap does on VaultPilot MCP

AI agents invoke prepare_solana_swap to trigger actions in VaultPilot MCP. What it does depends on the arguments the agent supplies, and its effects often reach beyond the immediate call: builds kicked off, notifications sent, workflows started.

ParameterTypeRequiredDescription
quote object Yes The full `quote` object returned by get_solana_swap_quote. Pass it back verbatim — Jupiter computes a signature over the quote and rejects /swap-instructions if
wallet string Yes Solana wallet executing the swap. Must have an initialized durable-nonce account — run prepare_solana_nonce_init first if not set up yet.
prioritizationFeeLamports integer Optional priority fee in lamports. Omit to let Jupiter pick based on the local fee market (recommended).

Parameters from the server's own tool schema.

Why prepare_solana_swap is rated High

This tool constructs a transaction that, once signed, will execute a DeFi token swap through Jupiter on Solana. While it stops short of signing or submitting (making it not directly Financial), it is preparing executable blockchain transaction instructions with real financial intent.

From the tool's definition Build an unsigned Jupiter-routed swap DRAFT... calls Jupiter's /swap-instructions endpoint to get the deconstructed instruction list, then composes the final v0 tx... Returns a compact preview + opaque handle; NOT yet signable

Questions about prepare_solana_swap

What does the prepare_solana_swap tool do? +

Build an unsigned Jupiter-routed swap DRAFT. Takes the quote object returned by get_solana_swap_quote and calls Jupiter's /swap-instructions endpoint to get the deconstructed instruction list, then composes the final v0 tx: [nonceAdvance, ...computeBudget, ...setup, swap, cleanup?, ...other]. DURABLE NONCE REQUIRED — if the wallet hasn't run prepare_solana_nonce_init, this errors pointing to it. Uses v0 VersionedTransaction with Address Lookup Tables (Jupiter routes commonly exceed legacy-tx account limits). Returns a compact preview + opaque handle; NOT yet signable — when the user says 'send', call preview_solana_send(handle) to pin the current nonce value, then send_transaction. BLIND-SIGN REQUIRED on Ledger (Jupiter's program ID isn't in the Solana app's clear-sign registry), so the user must match the Message Hash on-device — surfaced in the CHECKS block emitted by preview_solana_send. It is categorised as a Execute tool in the VaultPilot MCP MCP Server, which means it can trigger actions or run processes. Use rate limits and argument validation.

What parameters does prepare_solana_swap accept? +

prepare_solana_swap accepts 3 parameters: quote, wallet, prioritizationFeeLamports. Required: quote, wallet. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on prepare_solana_swap? +

Register the VaultPilot MCP server in PolicyLayer and add a rule for prepare_solana_swap: 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.

What risk level is prepare_solana_swap? +

prepare_solana_swap is a Execute tool with high risk. Execute tools should be rate-limited and have argument validation enabled.

Can I rate-limit prepare_solana_swap? +

Yes. Add a rate_limit block to the prepare_solana_swap 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 prepare_solana_swap completely? +

Set action: deny in the PolicyLayer policy for prepare_solana_swap. 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 prepare_solana_swap? +

prepare_solana_swap 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.

// 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 VaultPilot'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.