PerpCheck: Hyperliquid pre-trade order check
check_perp_orderChecks a Hyperliquid perp order BEFORE your agent sends it: would the exchange reject it, and what does it cost and risk? Give coin, side and size (coins) or notional (USD); optional limit price, leverage, margin cross/isolated, reduceOnly. Returns REJECT_LIKELY / CAUTION / OK, issues[] with fix values (size decimals, tick, $10 minimum, leverage tier, OI cap, delisted), liquidation estimate, taker impact, funding carry. Free: 30 calls/day per IP. Not for: placing, signing or cancelling orders (read-only, no keys, no custody) or other exchanges. Not financial advice.
[PerpCheck via YourAITools MCP Hub] Free tier: same as PerpCheck's own MCP server (call without payment and without tier). Paid: lite $0.003 / full $0.01 per call, with a credits key (Authorization: Bearer yatc_...) or x402 (USDC; the hub returns the payment terms). Failed tool calls aren't charged: credits are refunded automatically and x402 payments only settle on success.
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": {
"coin": "<coin>",
"side": "<side>"
},
"name": "check_perp_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| coin | Yes | Hyperliquid main-dex perp name, e.g. BTC, ETH, SOL, HYPE, kPEPE | |
| side | Yes | long/buy or short/sell | |
| size | No | Order size in coins, exactly as you would send it (decimals are checked), e.g. 0.001. Give size or notional. | |
| tier | No | Paid tier: lite $0.003, full $0.01. Omit tier (with no credits key or x402 payment) to use the free tier. | |
| price | No | Limit price exactly as you would send it (tick rule is checked). Omit for a market order (then taker impact is estimated from the L2 book). | |
| margin | No | cross (default) or isolated | |
| leverage | No | Leverage, e.g. 10 (default 1) | |
| notional | No | Order value in USD (instead of size), e.g. 100 | |
| reduceOnly | No | true if the order only reduces a position (exempt from the minimum and OI cap) |