Skip to main content
Glama
leverra-mcp

leverra-mcp

Official
by leverra-labs

Funding spreads between venues

funding_spreads
Read-onlyIdempotent

Compare coins listed on Hyperliquid, dYdX and Aster by hourly funding gap to identify long-lowest and short-highest opportunities; filter venues by 24h volume.

Instructions

Coins listed on two or more of Hyperliquid, dYdX and Aster, ranked by the funding gap: long where funding is lowest, short where it is highest. Rates are hourly (yearly = x 24 x 365) and before fees, slippage and price risk; funding changes every hour. Venues under min_volume_usd of 24h volume are left out of each comparison.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
min_volume_usdNoMinimum 24h volume per venue to count it.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world and non-destructive, so the description is free to add the traits that actually matter here: rates are hourly with the x24x365 conversion shown, they are pre-fee/pre-slippage/pre-price-risk, and they change every hour. The hourly-refresh caveat is exactly the kind of staleness warning an agent needs. It does not describe ordering ties or how many venue pairs are returned for a given coin, which keeps it just 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.

Conciseness5/5

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

Three sentences, front-loaded with the resource and ranking rule, then the units caveat, then the filter caveat. Nothing is repeated from the title or annotations and every clause carries information.

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?

With two optional parameters and no output schema, the description covers the ranking logic, units, exclusions and freshness, which is the important surface for a screener. It leaves the shape of the returned rows (which symbols, which venue pairs, field names) unspecified, which is a modest gap given no output schema exists to document it.

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 50%: min_volume_usd is documented in the schema, limit is not. The description adds real meaning beyond the schema for the documented parameter by clarifying that the volume floor is applied per venue and per comparison ('left out of each comparison'), which the schema's terse 'per venue to count it' does not spell out. It says nothing about limit, so the undocumented half of the parameter set remains 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?

The description states a specific resource (coins listed on 2+ of Hyperliquid, dYdX, Aster) and a specific ranking criterion (funding gap), plus the directional convention: long the lowest funding, short the highest. That is enough for an agent to know exactly what comes back without opening the schema, and no sibling tool overlaps this behavior.

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 arbitrage screening intent is clear from 'ranked by the funding gap: long where funding is lowest, short where it is highest', which tells the agent when this tool applies. There is no explicit when-not guidance or named alternative, but the sibling set contains nothing comparable, so the routing risk is low.

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