Skip to main content
Glama

EVM & Solana Chain Reads (Tanod)

get_perp_markets

Read-onlyIdempotent

chainpeek: List Hyperliquid perpetual markets with mark, oracle, open interest and volume. For funding history use get_funding_rates. Returns the Hyperliquid perp market list: mark, oracle, premium, open interest, 24 h volume and change, max leverage, funding; filter by symbols, sort, limit. Hyperliquid perps only; cached up to 60 s; open interest USD = coins x mark. Data only, not trading advice. Bad input is a 422 (not charged). Typically 0.3-2 s. Price: USD 0.002. Free: 10 chain reads per IP per UTC day. Docs: https://tanod.dev/learn/ethereum-base-chain-data-mcp-server.html

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": "get_perp_markets"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNovolume (24 h, default), open_interest, funding, premium, leverage, change (24 h) or symbol.volume
limitNoRows returned.
orderNodesc (default) or asc.desc
symbolsNoOnly these perps (case-insensitive, at most 50). Unknown names are listed in symbols_not_found.

Output Schema

NameRequiredDescriptionDefault
noteNo
cacheNo
countNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
sourceNo
marketsNo
total_marketsNo
symbols_not_foundNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changed
    • changedInput schema / properties / limit / description
      Previous value: -"Rows returned, 1-250 (default 50)."New value: +"Rows returned."
    • removedInput schema / properties / limit / title
      Removed value: -"Limit"
    • removedInput schema / properties / order / title
      Removed value: -"Order"
    • removedInput schema / properties / sort / title
      Removed value: -"Sort"
    • removedInput schema / properties / symbols / default
      Removed value: -null
    • changedInput schema / properties / symbols / description
      Previous value: -"Optional: only these perps (case-insensitive, at most 50). Unknown names are listed in symbols_not_found."New value: +"Only these perps (case-insensitive, at most 50). Unknown names are listed in symbols_not_found."
    • removedInput schema / properties / symbols / title
      Removed value: -"Symbols"
    • removedInput schema / title
      Removed value: -"get_perp_marketsArguments"
    • removedOutput schema / properties / markets / items
      Removed value: -{
      -  "properties": {
      -    "change_24h_pct": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "funding_annualized_pct": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "funding_hourly": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "mark_price": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "max_leverage": {
      -      "type": [
      -        "integer",
      -        "null"
      -      ]
      -    },
      -    "open_interest": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "open_interest_usd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "oracle_price": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "premium": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    },
      -    "symbol": {
      -      "type": [
      -        "string",
      -        "null"
      -      ]
      -    },
      -    "volume_24h_usd": {
      -      "type": [
      -        "number",
      -        "null"
      -      ]
      -    }
      -  },
      -  "type": [
      -    "object",
      -    "null"
      -  ]
      -}
    • removedOutput schema / properties / source / properties
      Removed value: -{
      -  "docs": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "name": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  },
      -  "url": {
      -    "type": [
      -      "string",
      -      "null"
      -    ]
      -  }
      -}
    • removedOutput schema / properties / symbols_not_found / items
      Removed value: -{
      -  "type": [
      -    "string",
      -    "null"
      -  ]
      -}
  2. Added

TDQS

A4.3/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, and the description adds substantial operational context beyond them: 60 s cache TTL, a 0.3-2 s latency range, per-call price and a free-tier read quota, and 422 behavior on bad input with no charge. It also discloses the open-interest derivation (USD = coins x mark) and a non-advice disclaimer, which materially help an agent reason about the result.

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

Conciseness3/5

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

Purpose is correctly front-loaded, but the returned-field list is duplicated almost verbatim ('mark, oracle, open interest and volume' then 'mark, oracle, premium, open interest, 24 h volume and change, max leverage, funding'), which is wasteful when an output schema already exists. Pricing, latency, and docs boilerplate add length that could be compressed to one clause.

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 a read-only list tool with a full schema and an output schema, the description covers the remaining gaps an agent needs: scope limits, caching staleness, latency, cost/quota, and error semantics. Nothing required to call it correctly or interpret its freshness is missing.

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 coverage is 100%, with enums and defaults already documented for sort, order, limit, and symbols. The description only restates 'filter by `symbols`, sort, limit' and adds no syntax, range, or interaction detail beyond the schema, so baseline 3 applies.

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?

Opens with a specific verb+resource: 'List Hyperliquid perpetual markets' and enumerates the returned fields (mark, oracle, open interest, volume). It also explicitly scopes to Hyperliquid perps and names get_funding_rates as the different tool, so an agent can distinguish it without opening any schema.

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?

Gives an explicit routing rule: 'For funding history use get_funding_rates,' plus a domain restriction ('Hyperliquid perps only'). It stops short of saying when this tool is the wrong choice for broader market discovery (e.g., prediction markets), so it is clear but not exhaustive.

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.