Skip to main content
Glama
leverra-mcp

leverra-mcp

Official
by leverra-labs

Perp markets across venues

markets
Read-onlyIdempotent

Query live perpetual futures prices, funding rates, open interest, and 24h volume across Hyperliquid, dYdX, and Aster. Filter by coin to compare venues and funding spreads.

Instructions

Live perp markets from Hyperliquid, dYdX and Aster in one shape: mark price, 24h change, funding (hourly and yearly), open interest and 24h volume in USD. With coin: that coin on every venue that lists it, plus the funding spread. Without: the top markets by total 24h volume. Aster has no open interest in its bulk endpoints (null).

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

Input Schema

NameRequiredDescriptionDefault
coinNoBase asset, e.g. BTC, ETH, HYPE.
limitNoHow many markets when no coin is given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, open-world), so the description's job is to add data-shape context — which it does by noting the null open interest for Aster's bulk endpoints and the included funding spread in coin mode. Return format breadth is disclosed without needing an output schema, though pagination/ordering for the no-coin mode is not addressed.

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?

Three tight sentences with the resource and data shape front-loaded, followed by the two modes and a caveat. Field enumeration is dense but each item earns its place by telling the agent what fields exist despite no output schema.

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?

With no output schema, the description must carry return-value disclosure — and it does, listing the metrics and the Aster null caveat. Both parameters are schema-documented, so nothing material is missing for a two-parameter read 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 coverage is 100%, so a baseline of 3 applies, but the description adds real meaning for `coin`: it queries every venue that lists the coin and additionally returns the funding spread — more than the schema's 'Base asset, e.g. BTC' note. `limit` semantics are left entirely to the schema.

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 names a specific resource (live perp markets) across three named venues and enumerates exactly what is returned: mark price, 24h change, funding hourly/yearly, open interest, 24h volume in USD. It also distinguishes its two operating modes (with coin vs. without) so the agent knows precisely what it will get.

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?

The with-coin vs. no-coin behavior is spelled out clearly, which guides how to call it, but there is no explicit when-to-use/when-not guidance against alternatives such as funding_spreads. Usage is implied by the mode description rather than stated as selection criteria.

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