build_lp_deposit

Build a NON-CUSTODIAL any-token LP deposit plan (approve → Permit2 sign → router.depositAnyToken) for the caller to sign + broadcast. No broadcast.

Server Agent https://fluxiq.xyz/api/mcp
Category Financial
Risk class Critical
Parameters 65 required

What build_lp_deposit does on Agent

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

ParameterTypeRequiredDescription
vault string Yes Known any-token LP vault address.
chainId integer Yes EVM chain id (mainnet = 1 in v1).
amountIn string Yes Amount in base units (integer string, e.g. USDC 6dp).
recipient string Yes Recipient / payer address (the wallet that signs + receives).
inputToken string Yes Any held token to deposit.
slippageBps integer Optional slippage budget in basis points (0–10000).

Parameters from the server's own tool schema.

Why build_lp_deposit needs a policy

Although the tool only builds the transaction and does not broadcast it, the resulting artifact is a financial operation that moves user tokens into a liquidity pool. The 'approve → Permit2 sign → router.depositAnyToken' pipeline represents a multi-step financial commitment. If an AI agent were to hand these transactions to a signing mechanism, it would result in real asset movement.

From the tool's definition 'LP deposit plan (approve → Permit2 sign → router.depositAnyToken)' — builds a transaction sequence committing user funds into a liquidity pool, a financial obligation involving token transfers and DeFi protocol interaction.

Questions about build_lp_deposit

What does the build_lp_deposit tool do? +

Build a NON-CUSTODIAL any-token LP deposit plan (approve → Permit2 sign → router.depositAnyToken) for the caller to sign + broadcast. No broadcast. It is categorised as a Financial tool in the Agent MCP Server, which means it involves financial transactions. Block by default and require explicit approval.

What parameters does build_lp_deposit accept? +

build_lp_deposit accepts 6 parameters: vault, chainId, amountIn, recipient, inputToken, slippageBps. Required: vault, chainId, amountIn, recipient, inputToken. The full parameter table on this page comes from the server's own tool schema.

How do I enforce a policy on build_lp_deposit? +

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

What risk level is build_lp_deposit? +

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

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

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

build_lp_deposit is provided by the Agent MCP server (https://fluxiq.xyz/api/mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.

// THE FULL RECORD

build_lp_deposit is one line of Agent's registry record.

The record carries the whole server: verified identity, auth posture, risk grade, every tool classified, recommended policy — re-checked continuously.

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.