verify_quote_fairness
Check whether a swap quote from an aggregator, broker, or bot is fair before you sign, returning a verdict with on-chain book evidence.
Instructions
Audit a swap quote someone else gave you (aggregator, broker, bot) BEFORE signing. Returns fair / overpaying / too_good_to_be_true with the configured-venue book as evidence. Ask this before accepting ANY number you did not produce yourself. Costs $0.05 per call.
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": {
"tokenIn": "<tokenIn>",
"tokenOut": "<tokenOut>",
"amountIn": "<amountIn>",
"quotedOut": "<quotedOut>",
"chainId": "<chainId>"
},
"name": "verify_quote_fairness"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | REQUIRED. 1 Ethereum, 42161 Arbitrum, 8453 Base. There is no default; omitting it returns 400 missing_chain. | |
| tokenIn | Yes | Token you are selling (symbol or 0x address) | |
| amountIn | Yes | RAW units of tokenIn, as in the offer | |
| tokenOut | Yes | Token you would receive (symbol or 0x address) | |
| quotedOut | Yes | RAW units of tokenOut you were OFFERED | |
| venueClaimed | No | Optional: who gave you the offer |