Skip to main content
Glama

Toolbooth

funding_rate_arbitrage

Cross-exchange funding rate arbitrage detector. Scans OKX, Hyperliquid, dYdX, and Kraken Futures perp markets in real time to find funding rate spreads, with every rate normalized to its 8-hour equivalent. Returns ranked arbitrage opportunities with annualized yield, profit estimates, risk notes, and direction (which exchange to long/short). Use for delta-neutral carry trade discovery. Costs $0.01 USDC per call.

Input Schema

NameRequiredDescriptionDefault
limitNoMax opportunities to return (default: 20)
symbolsNoFilter to specific symbols (e.g., ['BTC', 'ETH', 'SOL']). Omit to scan all.
minSpreadBpsNoMinimum spread in basis points to flag (default: 1 bps = 0.01%)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the burden and does well: it discloses the real-time scan behavior, the 8-hour normalization convention (critical for interpreting spreads across venues), the returned fields, and the $0.01 USDC per-call cost. Missing are rate limits, latency, or behavior when an exchange is unreachable.

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 what it does, then what it returns, then the usage cue and cost. No filler; every clause adds information an agent would act on.

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 no output schema, the description does describe the return payload (annualized yield, profit estimates, risk notes, long/short direction) and the pricing model. It could say more about ranking order or spread-sign conventions, but an agent has enough to call it correctly.

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%, so limit, symbols, and minSpreadBps are already fully documented with defaults and examples. The description adds nothing parameter-specific; the 8-hour normalization note is useful context but is not tied to a parameter. 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?

States a specific verb and resource ('Cross-exchange funding rate arbitrage detector'), enumerates the four venues scanned (OKX, Hyperliquid, dYdX, Kraken Futures) and the normalization method. That level of specificity clearly separates it from siblings like perp_market_overview, yield_rates, and lending_rates.

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 for delta-neutral carry trade discovery' gives an explicit use case and the tool's scope (perp funding spreads only). It does not name an alternative tool or state when NOT to use it, 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.

Resources