Skip to main content
Glama

aeX402 — Cross-Chain DeFi MCP: LINQ, AMM, Bridge, AI

hl_info

Query the Hyperliquid Info API — the perps/spot order-book data layer (read-only, no auth). The 'type' field selects the query: meta (perps universe + leverage), l2Book (order book for a coin), allMids (mid prices), clearinghouseState (a user's positions/margin), spotMeta, meta+assetCtxs (mark/funding/OI), candleSnapshot, and more. For type:metaAndAssetCtxs specifically: the raw response is TWO PARALLEL top-level arrays (universe names, asset contexts) correlated only by array position — do not try to read/scan it directly for '200+ coins' style questions (funding-rate outliers, biggest open interest, highest volume). Pass rankBy instead: it joins the two arrays server-side, sorts, and returns only the top N — the correct way to answer 'what has the highest/most extreme funding/OI/volume right now'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dirNorankBy only: asc | desc (default desc — highest rankBy value first)
coinNoCoin symbol for l2Book/candleSnapshot (e.g. BTC, ETH)
typeYesInfo request type, e.g. meta, l2Book, allMids, clearinghouseState, metaAndAssetCtxs
userNo0x address for user-scoped queries (clearinghouseState, openOrders, userFills)
limitNorankBy only: how many ranked rows to return (default 20, max 100)
rankByNotype:metaAndAssetCtxs ONLY. One of funding | fundingAbs | openInterest | volume. Joins each coin's name to its funding/OI/volume, drops delisted coins, sorts, and returns {ranked, rankBy, dir, totalCoins} instead of the raw two-array response. Use fundingAbs for "biggest funding outlier either direction" (ranks by |funding|); use funding for "most positive/most negative" specifically (with dir).

TDQS

A4.5/5.0
Behavior5/5

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

With no annotations, the description carries full burden. It discloses read-only and no-auth behavior, and provides detailed transparency about the metaAndAssetCctxs response being two parallel arrays correlated by position, warning against direct scanning and recommending rankBy. This is substantial behavioral disclosure beyond the schema.

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?

The description is a dense paragraph but front-loaded with the core purpose. The long section on metaAndAssetCctxs is necessary and well-structured, explaining the gotcha and solution. No wasted words, though it could be split into shorter sentences for readability.

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

Completeness4/5

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

The description covers key aspects: read-only, type selection, and especially the complex metaAndAssetCctxs behavior. It does not specify output formats for other types (e.g., allMids, l2Book), but given the absence of output schema, it could be more complete. Overall, it is adequate for a multi-query tool.

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 covers 100% of parameters with descriptions. The description adds extra semantics for rankBy (explains funding vs fundingAbs, joining, sorting, and response structure) and for type (names examples). This adds value beyond the schema, though schema alone would be sufficient for basic use.

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?

The description clearly states the tool queries the Hyperliquid Info API for perps/spot order-book data, explicitly read-only with no auth. It lists the 'type' field and examples (meta, l2Book, allMids, etc.), distinguishing it from generic fetch/api tools and other siblings.

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

Usage Guidelines4/5

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

The description explains what the tool does and when to use it (for Hyperliquid data) but does not explicitly compare with sibling tools or state when not to use it. It does provide strong guidance for metaAndAssetCctxs usage, directing to rankBy for sorted queries, which is a clear usage pattern.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

B3.4/5.0
Disambiguation3/5

Several tool pairs overlap in function: aex402_quote vs aex402_buildSwap, search vs search_tokens vs discover_programs, describe_program vs reconstruct_abi, and mcp_linq vs agent_delegate. Descriptions attempt to differentiate, but boundaries are fuzzy and an agent could easily select the wrong one when uncertain.

Naming Consistency2/5

Naming is inconsistent: some tools use camelCase (aex402_buildSwap) while most use snake_case, verbs vary widely (build, get, list, quote, search, describe, discover, launch, delegate, chat), and there is no uniform verb_noun pattern. This makes predicting tool names difficult.

Tool Count2/5

32 tools is excessive for a single MCP server, exceeding the 25+ threshold. While the scope is broad (AMM, bridge, AI, RPC, discovery, launchpad), many tools could be consolidated (e.g., search tools) or are too fine-grained (multiple solana_get* tools).

Completeness4/5

Core workflows are well covered: AMM (quote/build/get/list), bridge (quote/status), AI (chat/delegate/linq), Solana and EVM RPCs, search/discovery plus health check, launchpad, and payment help. Minor gaps include no direct bridge history or AMM execution, but these are intentional in a non-custodial design.

Resources