Skip to main content
Glama

Perps radar (paid, x402) — $0.002

get_perps
Read-onlyIdempotent

Use when you need one perp's funding rate, next funding time, open interest and mark/oracle price. Perps radar for one coin ($0.002/call, USDC on Base via x402): Hyperliquid funding rate hourly/8h/annualized with next_funding_time and time_to_next_seconds, open interest in coins and USD, 24h volume, mark/oracle/mid price, premium, max leverage, impact prices, top-10 extreme-funding rank and other-venue funding where available. HIP-3 (xyz:TSLA) supported (rank null). Unknown symbol: no charge. Example: GET https://cryptofeed402.site/perps/BTC

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "ETH"
    },
    "name": "get_perps"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesHyperliquid perp ticker, e.g. BTC, ETH, kPEPE; HIP-3 builder-dex perps as dex:TICKER, e.g. xyz:TSLA

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "anyOf": [
      +    {
      +      "properties": {
      +        "accepts": {
      +          "items": {
      +            "properties": {
      +              "amount": {
      +                "description": "USDC atomic units (6 decimals)",
      +                "type": "string"
      +              },
      +              "asset": {
      +                "type": "string"
      +              },
      +              "extra": {
      +                "type": "object"
      +              },
      +              "maxTimeoutSeconds": {
      +                "type": "number"
      +              },
      +              "network": {
      +                "const": "eip155:8453",
      +                "type": "string"
      +              },
      +              "payTo": {
      +                "type": "string"
      +              },
      +              "scheme": {
      +                "const": "exact",
      +                "type": "string"
      +              }
      +            },
      +            "required": [
      +              "scheme",
      +              "network",
      +              "amount",
      +              "asset",
      +              "payTo"
      +            ],
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "error": {
      +          "type": "string"
      +        },
      +        "resource": {
      +          "properties": {
      +            "description": {
      +              "type": "string"
      +            },
      +            "mimeType": {
      +              "type": "string"
      +            },
      +            "url": {
      +              "type": "string"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "x402Version": {
      +          "type": "number"
      +        }
      +      },
      +      "required": [
      +        "x402Version",
      +        "accepts"
      +      ],
      +      "title": "x402 PaymentRequired (what this MCP tool returns, isError=true)",
      +      "type": "object"
      +    },
      +    {
      +      "properties": {
      +        "as_of": {
      +          "description": "Upstream time",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "change_24h_pct": {
      +          "description": "24h change %",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "disclaimer": {
      +          "description": "Not financial advice notice",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "funding": {
      +          "description": "{rate_hourly, rate_8h, annualized_pct, interval_hours, side_paying, next_funding_time, time_to_next_seconds}",
      +          "properties": {
      +            "annualized_pct": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "interval_hours": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "next_funding_time": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "rate_8h": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rate_hourly": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "side_paying": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "time_to_next_seconds": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "funding_extreme": {
      +          "description": "{in_top10, rank, ranked_universe, rule, top10[]}",
      +          "properties": {
      +            "in_top10": {
      +              "type": "boolean"
      +            },
      +            "rank": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "ranked_universe": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "rule": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            },
      +            "top10": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "generated_at": {
      +          "description": "Response time",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "impact_px": {
      +          "description": "{bid, ask} impact prices",
      +          "properties": {
      +            "ask": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "bid": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "mark_px": {
      +          "description": "Mark price",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "max_leverage": {
      +          "description": "Venue max leverage",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "mid_px": {
      +          "description": "Mid price",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "not_included": {
      +          "description": "What this route does not return",
      +          "properties": {
      +            "liquidation_clusters": {
      +              "type": [
      +                "string",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "open_interest": {
      +          "description": "{coins, usd}",
      +          "properties": {
      +            "coins": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "usd": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "oracle_px": {
      +          "description": "Oracle price",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "premium": {
      +          "description": "Mark vs oracle premium (fraction)",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "premium_pct": {
      +          "description": "Premium in %",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "provenance": {
      +          "description": "Optional provenance on paid 200s",
      +          "properties": {
      +            "data_sha256": {
      +              "type": "string"
      +            },
      +            "fetched_at": {
      +              "type": "string"
      +            },
      +            "max_age_s": {
      +              "type": "number"
      +            },
      +            "source": {
      +              "type": "string"
      +            },
      +            "sources": {
      +              "type": "array"
      +            }
      +          },
      +          "type": "object"
      +        },
      +        "source": {
      +          "description": "Upstream sources",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "symbol": {
      +          "description": "Ticker",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "venue": {
      +          "description": "hyperliquid",
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "venues": {
      +          "description": "Other-venue funding rows",
      +          "items": {
      +            "type": "object"
      +          },
      +          "type": "array"
      +        },
      +        "volume_24h_usd": {
      +          "description": "24h volume USD",
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        }
      +      },
      +      "required": [
      +        "as_of",
      +        "change_24h_pct",
      +        "disclaimer",
      +        "funding",
      +        "funding_extreme",
      +        "generated_at",
      +        "impact_px",
      +        "mark_px",
      +        "max_leverage",
      +        "mid_px",
      +        "not_included",
      +        "open_interest",
      +        "oracle_px",
      +        "premium",
      +        "premium_pct",
      +        "source",
      +        "symbol",
      +        "venue",
      +        "venues",
      +        "volume_24h_usd"
      +      ],
      +      "title": "Paid HTTP 200 body of GET /perps/{symbol}",
      +      "type": "object"
      +    }
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • addedInput schema / examples
      Added value: +[
      +  {
      +    "symbol": "ETH"
      +  }
      +]
    • addedInput schema / properties / symbol / examples
      Added value: +[
      +  "ETH"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / symbol / description
      Previous value: -"Hyperliquid perp ticker, e.g. BTC, ETH, SOL, HYPE"New value: +"Hyperliquid perp ticker, e.g. BTC, ETH, kPEPE; HIP-3 builder-dex perps as dex:TICKER, e.g. xyz:TSLA"
    • changedInput schema / properties / symbol / pattern
      Previous value: -"^[A-Za-z0-9]{1,20}$"New value: +"^(?:[A-Za-z]{1,10}:)?[A-Za-z0-9]{1,20}$"
  4. Added

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is covered. The description adds genuinely useful behavior beyond them: per-call pricing ($0.002 USDC on Base via x402), HIP-3 handling with rank null, and 'Unknown symbol: no charge' error semantics. It does not discuss rate limits, auth/wallet requirements for x402 payment, or failure modes beyond unknown symbols.

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

Conciseness5/5

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

Front-loaded with the 'Use when' trigger, then the resource/pricing, then the field inventory, then edge cases and a live example. It is dense but every clause carries distinct information (price, HIP-3, no-charge-on-unknown, endpoint example) with no filler.

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?

For a single-parameter tool with a full output schema and complete annotations, this covers pricing, symbol formats, edge cases and an example call — everything needed to invoke it correctly. The main redundancy is enumerating return fields that the output schema already declares, rather than explaining payment/auth flow for x402.

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 100% and the symbol pattern is documented in the schema, so the baseline is 3. The description still earns a bump by restating the HIP-3 case ('dex:TICKER, e.g. xyz:TSLA') and noting rank is null for those symbols and that unknown symbols are free, which clarifies the practical meaning of the accepted formats.

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

Purpose4/5

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

The description opens with a concrete use case ('one perp's funding rate, next funding time, open interest and mark/oracle price') and names the resource and scope ('Perps radar for one coin'). It is clearly differentiable from aggregate siblings like get_extreme_funding because it is explicitly single-symbol, though it never names an alternative tool.

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?

'Use when you need...' gives an explicit trigger condition covering the four primary data points, and the single-coin framing implicitly steers multi-coin/ranking needs elsewhere ('top-10 extreme-funding rank' is only mentioned as a field). There are no explicit exclusions or named sibling alternatives, so it stops short of a 5.

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.