Claim and withdraw all available LP trading fees to your wallet in one call. Combines claim_lp_fees + withdrawal into a single operation. Works on ACTIVE, RESOLVED, or CANCELLED markets. Returns the withdrawn USDC amount.
AI agents use withdraw_lp_fees to commit financial operations through Question Market — usually the final step of a payment, billing, or trading workflow. A call moves real money.
This tool commits a financial obligation by transferring value (USDC stablecoins) from the protocol to a user's wallet. Although the transaction is reversible in principle (via subsequent transfers), the tool itself irreversibly executes a withdrawal that moves funds. Under the Financial category rules, tools that move money or commit financial obligations are classified here.
From the tool's definition withdraw_lp_fees withdraws USDC amounts to a wallet. Combined with the server's context of 'prediction markets on Algorand' and related tools like 'buy_shares', 'claim_winnings', and 'claim_lp_fees', this tool moves cryptocurrency/stablecoins out of a market…
Attacks that exploit this kind of access
Claim and withdraw all available LP trading fees to your wallet in one call. Combines claim_lp_fees + withdrawal into a single operation. Works on ACTIVE, RESOLVED, or CANCELLED markets. Returns the withdrawn USDC amount. It is categorised as a Financial tool in the Question Market MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
Register the Question Market MCP server in PolicyLayer and add a rule for withdraw_lp_fees: 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 Question Market. Nothing to install.
withdraw_lp_fees 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 withdraw_lp_fees 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 withdraw_lp_fees. 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.
withdraw_lp_fees is provided by the Question Market MCP server (qmrkt/mcp-server). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the 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 →