raydium-pools_removeLiquidity
Remove liquidity from a Raydium pool. SAP MCP context: This Synapse AgentKit tool is served beside the sap_* SDK tools. Use sap_agent_identity_plan, sap_payments_register_agent, sap_payments_update_agent, and sap_publish_tool_by_name when the capability should become part of an on-chain SAP agent...
This record as markdown: /tools/oobe-protocol-labs-sap-mcp-server/raydium-pools-removeliquidity.md
What raydium-pools_removeLiquidity does on Sap
AI agents use raydium-pools_removeLiquidity to commit financial operations through Sap, usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
poolId | string | Yes | Solana public key (base58) |
wallet | string | Yes | Solana public key (base58) |
lpAmount | string | — | Raw token amount (smallest unit) |
percentage | number | — | Percentage of liquidity to remove |
positionNft | string | — | Token mint address (base58) |
Parameters from the server's own tool schema.
Why raydium-pools_removeLiquidity is rated Critical
Removing liquidity from a DeFi pool irreversibly withdraws financial assets from a protocol.
From the tool's definition Remove liquidity from a Raydium pool
Attacks that exploit this kind of access
The rule that runs raydium-pools_removeLiquidity safely
PolicyLayer is an MCP gateway: it sits between your AI agents and Sap, and checks every tool call against a rule you set before the call runs. Nothing changes on the server itself. For raydium-pools_removeLiquidity, this is the rule to start with:
Any call to raydium-pools_removeLiquidity is blocked until a human approves it. The rest of the server keeps working.
The button opens the PolicyLayer dashboard: create your workspace, connect Sap, apply this rule, and every raydium-pools_removeLiquidity call is checked against it from then on.
Questions about raydium-pools_removeLiquidity
Remove liquidity from a Raydium pool. SAP MCP context: This Synapse AgentKit tool is served beside the sap_* SDK tools. Use sap_agent_identity_plan, sap_payments_register_agent, sap_payments_update_agent, and sap_publish_tool_by_name when the capability should become part of an on-chain SAP agent profile or tool registry entry. SAP MCP execution guidance: Intent: SAP MCP tool workflow. Pricing: paid read-premium; estimate first, then use sap_payments_call_paid_tool when the runtime cannot replay x402 natively. Routing: hosted accountless write is blocked; do not call this as a paid hosted write and no x402 payment should be charged. Use the local sap_payments bridge or a hosted unsigned builder when user signing is required. Signer boundary: user-controlled local profile or external signer; OOBE hosted MCP remains non-custodial. 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.
raydium-pools_removeLiquidity accepts 5 parameters: poolId, wallet, lpAmount, percentage, positionNft. Required: poolId, wallet. The full parameter table on this page comes from the server's own tool schema.
Register the Sap MCP server in PolicyLayer and add a rule for raydium-pools_removeLiquidity: 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.
raydium-pools_removeLiquidity 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 raydium-pools_removeLiquidity 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 raydium-pools_removeLiquidity. 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.
raydium-pools_removeLiquidity 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.
Across the catalogue