DeFi Slippage, MEV & Liquidation Math Guard
ingravity_computeDefiSlippageAndLiquidationCalculate exact AMM swap math, slippage, MEV sandwich bounds, and perpetual liquidation thresholds to assess DeFi trade risk and liquidation exposure.
Instructions
Calls /api/v1/defi-math-guard ($0.10 Full / $0.04 Essential USDC via x402 v2) for exact 18-decimal BigInt AMM swap math, 48-step MEV sandwich bounds, and perpetual liquidation thresholds.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ingravity_computeDefiSlippageAndLiquidation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amm | No | ||
| tier | No | FULL | |
| leverage | No |