mev_risk
Evaluate MEV sandwich and frontrunning risk before a swap, then return recommended slippage in basis points for the DEX token pair.
Instructions
Pre-swap MEV sandwich and frontrunning risk evaluator returning optimal slippage in basis points.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"dex": "<dex>",
"token_in": "<token_in>",
"token_out": "<token_out>"
},
"name": "mev_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dex | Yes | ||
| token_in | Yes | ||
| token_out | Yes | ||
| slippage_bps | No |