Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as minia2a — hosted x402 API marketplace (HTTP). If you published it, claim ownership there.

x402-hyperliquid-mids

x402-hyperliquid-mids: Every Hyperliquid mid price in one call — the cheapest way to price a whole portfolio or screen the exchange. Returns plain perp coins (BTC, ETH, ...) and, separately, Hyperliquid's numbered outcome markets (keys like "#12090"), which are its on-chain prediction markets. Optional case-insensitive substring filter, e.g. {"filter":"sol"}. count is how many mids matched; returnedMids and midsTruncated report the page when limit is smaller.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "x402-hyperliquid-mids"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
filterNo
includeOutcomesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "type": "string"
      +}
  4. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "type": "string"
      -}
  5. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "type": "string"
      -}
  7. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "type": "string"
      +}
  8. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "type": "string"
      -}
  9. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "type": "string"
      +}
  10. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "type": "string"
      -}
  11. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "type": "string"
      +}
  12. Changed3 schema fields changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "description": "Filter to process",
      -  "type": "string"
      -}
    • removedInput schema / properties / includeOutcomes / description
      Removed value: -"IncludeOutcomes to process"
    • removedInput schema / properties / limit / description
      Removed value: -"Limit to process"
  13. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "Filter to process",
      +  "type": "string"
      +}
  14. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "description": "Filter to process",
      -  "type": "string"
      -}
  15. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "Filter to process",
      +  "type": "string"
      +}
  16. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "description": "Filter to process",
      -  "type": "string"
      -}
  17. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "Filter to process",
      +  "type": "string"
      +}
  18. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "description": "Filter to process",
      -  "type": "string"
      -}
  19. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "Filter to process",
      +  "type": "string"
      +}
  20. Changed1 schema field changed
    • removedInput schema / properties / filter
      Removed value: -{
      -  "description": "Filter to process",
      -  "type": "string"
      -}
  21. Changed1 schema field changed
    • addedInput schema / properties / filter
      Added value: +{
      +  "description": "Filter to process",
      +  "type": "string"
      +}
  22. Added

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the two categories of returned keys, the count field, and the returnedMids/midsTruncated pagination signal when limit truncates results. It omits any mention of payment/auth requirements (relevant given the x402 prefix) and of error behavior, keeping it short of 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?

The core capability is front-loaded in the first clause, and each subsequent sentence adds a distinct fact (outcome markets, filter, pagination) with no filler. It is a dense single block rather than broken into scannable parts, which slightly hurts readability but not content density.

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

Completeness3/5

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

For a no-annotation, no-output-schema, three-parameter tool, the description covers the return shape and truncation semantics reasonably well. The unexplained includeOutcomes parameter and the absence of any payment/cost or failure-mode context leave gaps an agent would hit when actually invoking it.

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

Parameters3/5

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

Schema description coverage is 0%, so the description must compensate for all three parameters. It explains filter well (case-insensitive substring, with a JSON example) and limit partially (page size, midsTruncated), but includeOutcomes is never mentioned, leaving one of three parameters completely undocumented.

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?

States a specific verb and resource — returns every Hyperliquid mid price in one call — and further splits the output into plain perp coins versus numbered outcome markets (keys like "#12090"). This makes it distinguishable from siblings such as x402-hyperliquid-book or x402-hyperliquid-perps without opening a schema.

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

Usage Guidelines3/5

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

Usage is implied through 'price a whole portfolio or screen the exchange,' which tells the agent the intended scenario, and the filter example shows a screening pattern. However, no alternative is named and no when-not condition is given (e.g., when to prefer a single-symbol quote or the order-book tool), so routing still requires inference.

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.

Resources