Skip to main content
Onchain Actions enables users to participate in decentralized exchange (DEX) liquidity pools, which are essential to automated market makers (AMMs). By contributing tokens to these pools, users help facilitate trading and, in return, earn a portion of the transaction fees. Onchain Actions offers intuitive tools to manage and monitor these activities. Key actions include:
  • Supply assets to liquidity pools
  • Withdraw assets from liquidity pools
  • Discover available liquidity pools
  • Track liquidity positions

MCP Tools

Visit Ember’s MCP Explorer to explore the liquidity provision and management tools.
The following list includes possibleTools (such as possibleLiquidityWithdraw) and createTools (such as createLiquidityWithdraw). possibleTools are optional. LLMs call createTools directly when all info is available, and use possibleTools to provide feedback and filter options for users based on their partial input, or to answer “what’s possible” questions.

createLiquiditySupply:

Create a DeFi liquidity supply transaction plan to deposit token pairs into pools and earn trading fees across supported protocols and chains.

possibleLiquidityWithdraw:

Discover existing liquidity positions that can be withdrawn from DeFi pools.

createLiquidityWithdraw:

Create a DeFi liquidity withdraw transaction plan to remove liquidity from pools and reclaim underlying tokens with accrued fees.

getLiquidityPools:

Gets available liquidity pools.

getWalletLiquidityPositions:

Gets the wallet’s liquidity positions.