Skip to main content
Glama

Server Details

Hyperliquid pre-trade order check: will it be rejected, fix values, liquidation, impact, funding.

Ownership verified
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

A4.5/5.0

Scored across 1 tool

Disambiguation5/5

With a single tool there is no possibility of misselection; an agent has exactly one entry point whose purpose (pre-trade validation of a Hyperliquid perp order) is unambiguous from the name and description.

Naming Consistency5/5

check_perp_order follows a clear verb_noun snake_case convention that matches the server's domain vocabulary; the pattern is trivially consistent since there is only one tool.

Tool Count3/5

A single tool is defensible for a narrow read-only validation service, but the surface is borderline thin: order validation, fee/impact estimation, liquidation distance and rule lookup are all bundled into one call, which could reasonably be split into a few focused tools.

Completeness4/5

The one tool covers the core lifecycle of a pre-trade check (validity verdict, fix values, cost, liquidation risk, funding) and is explicitly read-only, so no create/update is expected. Minor gaps remain, such as a rules/market-metadata lookup or account-aware checks against existing positions and margin, but these are workable around.

Available Tools

1 tool
check_perp_orderHyperliquid pre-trade order checkA
Read-only
Inspect

Checks 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, as you would send it) or notional (USD); optional limit price (omit = market order), leverage, margin cross/isolated, reduceOnly. Returns verdict REJECT_LIKELY / CAUTION / OK, issues[] with fix values (size decimals, price tick, $10 minimum, max leverage by margin tier, isolated-only, OI cap, delisted, far-from-mark), warnings[], rules, isolated liquidation estimate and distance, taker impact from the live L2 book, funding carry per day, market facts, confidence and sources_failed. Read-only: never places, signs or holds orders and needs no keys. Free: 30 calls/day per IP with full results (max 10/min; invalid input is not counted). After that the tool returns an error with the x402 pay URL ($0.01 USDC per full check at /v1/full, or $0.003 lite at /v1/lite) or prepaid credits. Not financial advice; the exchange decides whether an order is accepted. PerpCheck is a read-only pre-trade check: it never places, signs or holds orders, has no custody and never asks for keys.

NameRequiredDescriptionDefault
coinYesHyperliquid main-dex perp name, e.g. BTC, ETH, SOL, HYPE, kPEPE
sideYeslong/buy or short/sell
sizeNoOrder size in coins, exactly as you would send it (decimals are checked), e.g. 0.001. Give size or notional.
priceNoLimit 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).
marginNocross (default) or isolated
leverageNoLeverage, e.g. 10 (default 1)
notionalNoOrder value in USD (instead of size), e.g. 100
reduceOnlyNotrue if the order only reduces a position (exempt from the minimum and OI cap)

TDQS

A4.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With readOnlyHint already declaring safety, the description still adds substantial non-obvious context: free-tier quota (30/day, 10/min), that invalid input is not counted, and the exact failure mode (error containing an x402 pay URL, with $0.01/full and $0.003/lite tiers). That is genuinely useful for deciding whether to call it. It stops short of saying how far the 10/min limit is enforced or what happens to a partially degraded check, so it is not a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded well: verdict and return shape come before pricing and disclaimers, which is the right order for an agent skimming. It loses a point for redundancy — the 'read-only, never places/signs, needs no keys' claim appears twice, once mid-paragraph and again as a closing sentence, and the 'not financial advice' disclaimer occupies space an agent does not need.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an 8-parameter tool with no output schema, the description enumerates the return surface thoroughly: verdict tiers, issues[] with fix values, warnings[], rules, isolated liquidation estimate and distance, taker impact, funding carry, market facts, confidence, and sources_failed. Combined with coverage of quota, pricing, and failure behavior, an agent has everything needed to call it and interpret the result.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is already 100%, so 3 is the floor. The description adds value by stating that coin/side/size should be supplied 'as you would send it' (so decimals and tick format are validated as-typed) and by restating the size-or-notional alternative, which frames the two mutually exclusive sizing paths in the prose rather than only in the property docs.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Names a specific verb (checks) and resource (Hyperliquid perp order) with a clear temporal scope: before submission. The addition of 'would the exchange reject it, and what does it cost and risk' precisely frames what the check returns, so an agent knows the tool's output domain without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use it ('BEFORE your agent sends it') and draws the boundary against the actual order path ('never places, signs or holds orders and needs no keys'). It also gives input-mode guidance inline (omit price = market order; size in coins vs notional in USD), removing the main ambiguity an agent would hit at call time.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 1 tool update
    • First observedcheck_perp_order

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language trading of Hyperliquid perpetual futures, including portfolio checks, market data, order placement with confirmation, and position management.
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to vet trading orders against live Binance market data before execution, returning CLEARED, REFUSED, or UNREADABLE verdicts with supporting evidence to prevent stale quotes, excessive slippage, oversized positions, and fat-finger prices.
    3
    15 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables validation of USDⓈ-M Futures trade intents by normalizing natural-language orders, fetching live Binance market and account state, applying deterministic risk rules, and producing tamper-evident preflight receipts before execution.
    MIT
  • A
    license
    A
    quality
    Not graded
    maintenance
    Enables interaction with the Hyperliquid DEX for retrieving market data, managing positions, and executing trades. Supports both testnet and mainnet operations with comprehensive trading tools including order placement, cancellation, and portfolio management.
    11
    MIT
Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources