Skip to main content
Glama

PerpSpread — Cross-Exchange Perpetual Funding Arbitrage MCP

Scan Top Cross-Exchange Funding Spreads

get_top_funding_spreads
Read-onlyIdempotent

Scan live cross-exchange perpetual funding rate arbitrage spreads across 7 venues (OKX, Binance, Bybit, Bitget, Gate, Hyperliquid, Aster).

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_top_funding_spreads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoNumber of top spreads to return (1-50, default 10).
exchangeNoOptional exchange filter: okx, binance, bybit, bitget, gate, hyperliquid, aster.
min_volume_usdNoMinimum 24h volume USD across both legs (default 1000000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety and idempotency profile is fully covered by structured data. The description contributes the venue scope (seven named exchanges) and the 'live' real-time qualifier, which is genuinely additive. It says nothing about data freshness, rate limits, or how 'top' spreads are ranked, leaving meaningful behavioral questions open.

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?

It is a single front-loaded sentence with no filler and the venue list is the only expansion. It is efficiently sized, though the brevity comes at the cost of routing guidance rather than being purely economical.

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 simple three-optional-parameter filter tool, the schema and annotations carry most of the burden, so the description is adequate. However, with no output schema, the description should at least sketch what a returned spread row contains (pair, venues, rate differential) and how results are ordered, and it does not.

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 100%, so limit, exchange and min_volume_usd are all fully documented in the input schema, making 3 the baseline. The description adds no parameter meaning beyond that; in particular it does not clarify that 'top' implies descending spread ranking or how min_volume_usd interacts with the returned results.

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 gives a specific verb ('Scan') and resource ('live cross-exchange perpetual funding rate arbitrage spreads') and enumerates the seven venues covered, so an agent knows exactly what data it returns. It stops short of distinguishing this from siblings such as get_cash_and_carry_spreads, which is a fundamentally different spread type an agent might confuse with this one.

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

Usage Guidelines2/5

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

There is no when-to-use guidance at all: nothing tells the agent to pick this for funding-rate arbitrage rather than get_cash_and_carry_spreads or get_symbol_funding_breakdown, and no prerequisites or exclusions are stated. The only implied usage comes from the mention of 'live' and 'top spreads', which an agent must interpret on its own.

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.