withdraw_lp

Withdraw LP tokens from an expired lock. Only the lock owner can withdraw. Requires DEPLOYER_PRIVATE_KEY env var.

Server Base Lp Locker lordbasilaiassistant-sudo/base-lp-locker-mcp
Category Financial
Risk class Critical
Parameters 00 required

What withdraw_lp does on Base Lp Locker

AI agents use withdraw_lp to commit financial operations through Base Lp Locker — usually the final step of a payment, billing, or trading workflow. A call moves real money.

Why withdraw_lp needs a policy

Withdrawal of LP tokens constitutes movement of financial assets. Even though the action is restricted to expired locks and lock owners, an AI agent with access to this tool and the required private key could withdraw LP token positions, committing financial value. This is a Financial category risk due to the irreversible transfer of monetary value, taking priority over Execute or Destructive categories.

From the tool's definition Tool withdraws LP (liquidity provider) tokens, which are financial assets. Description explicitly states 'Withdraw LP tokens' and requires private key authentication ('DEPLOYER_PRIVATE_KEY env var'), indicating control over financial assets.

Questions about withdraw_lp

What does the withdraw_lp tool do? +

Withdraw LP tokens from an expired lock. Only the lock owner can withdraw. Requires DEPLOYER_PRIVATE_KEY env var. It is categorised as a Financial tool in the Base Lp Locker MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

How do I enforce a policy on withdraw_lp? +

Register the Base Lp Locker MCP server in PolicyLayer and add a rule for withdraw_lp: 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 Base Lp Locker. Nothing to install.

What risk level is withdraw_lp? +

withdraw_lp 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 withdraw_lp? +

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

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

withdraw_lp is provided by the Base Lp Locker MCP server (lordbasilaiassistant-sudo/base-lp-locker-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// LOOK UP ANOTHER SERVER

Every MCP server has a record like this.

Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.

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.