Skip to main content
Glama

derivatives.funding_rate

Check perpetual futures funding rates from Bybit or Binance to gauge long/short crowding and assess carry trade opportunities before positioning.

Instructions

Get perpetual futures funding rate (Bybit primary, Binance fallback) to
gauge long/short crowding before entering or hedging a position.

Use this when asked about funding rate levels or funding-rate arbitrage/carry
trade opportunities. If you also need the trade annualized into an APR with
a carry-trade breakeven-days estimate, use get_funding_apr_matrix instead -
it already calls this internally, so calling both is redundant. Check the
data_source field to see whether Bybit or the Binance fallback answered;
predicted_rate equals funding_rate because neither exchange exposes a
separate forecast field (not a bug).

Args:
    symbol: e.g. "BTC", "ETH", or "BTCUSDT" (non-USDT symbols are
        normalized to USDT pairs).

Returns:
    On success: {"success": true, "funding_rate_percentage",
        "funding_interval_hours", "data_source", ...}
    On failure: {"success": false, "error": {"type", "message"}}

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. Addedv1.0.3

TDQS

A4.9/5.0
Behavior5/5

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

No annotations exist, so the description carries full burden. It discloses the Bybit-primary/Binance-fallback data source behavior, tells the agent to inspect data_source, and preemptively explains that predicted_rate equals funding_rate because neither exchange exposes a forecast field. Success and failure return shapes are also specified.

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?

The description is front-loaded with the core action and purpose, then usage routing, then a behavioral quirk, then a compact Args/Returns block. Every sentence carries distinct information with no filler or repetition.

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?

For a one-parameter tool with no output schema, the description covers what it returns on success and failure, how to interpret data_source, how the symbol parameter works, and when a sibling should be used instead. Nothing critical is missing for safe invocation.

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 provides only a raw string type with no description and 0% coverage. The description compensates with concrete examples ('BTC', 'ETH', 'BTCUSDT') and a normalization rule for non-USDT symbols, adding meaning the schema lacks. It stops short of full specification, such as case sensitivity or invalid-symbol behavior, so not a 5.

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?

Description opens with a specific action and object — 'Get perpetual futures funding rate' — and adds the purpose of gauging long/short crowding. It also names the more extensive sibling tool, distinguishing this one as the raw funding-rate lookup.

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

Usage Guidelines5/5

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

'Use this when asked about funding rate levels or funding-rate arbitrage/carry trade opportunities' explicitly states when. It then says to use get_funding_apr_matrix instead when APR/breakeven-days are needed and warns that calling both is redundant, a clear when-not and alternative.

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/parkyucheol-del/alphapipeline'

If you have feedback or need assistance with the MCP directory API, please join our Discord server