Skip to main content
Glama

Horizon Pulse

Perpetual Funding Rates

funding
Read-only

Crypto market data: current OKX USDT-swap perp funding rates for BTC, ETH and SOL, or one coin via symbol= (bad symbol: 400), showing whether longs or shorts are paying. JSON per asset: instId, fundingRate, fundingTime and a rule-based crowding hint {side: longs/shorts/neutral, level: quiet/mild/elevated/extreme} with thresholds. OKX public data only. The hint is not a forecast and not financial advice. Calls that fail on Base are not charged, except where a route notes otherwise. Price $0.003 per call via x402, USDC on Base (MCP payments are Base only). Data changes about every 5 min; calling more often returns the same values. Paid calls are subject to Horizon Pulse buyer terms: https://horizonpulse.dev/terms/buyer

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

Input Schema

NameRequiredDescriptionDefault
symbolNoOptional single coin ticker (case-insensitive). Omit for the default BTC, ETH and SOL set. Supported: BTC, ETH, SOL, LINK, QNT, XRP, DOGE, ADA, AVAX, DOT, LTC, BCH, UNI, AAVE, ATOM, NEAR, XLM, SUI, HBAR. An unsupported symbol is refused as an input error and is not charged.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already establish read-only, open-world, non-destructive semantics, and the description goes well beyond them: per-call pricing ($0.003 via x402, USDC on Base only), the rule that failed calls on Base are not charged, the ~5-minute data refresh window, the full per-asset JSON shape with the crowding hint enumeration, and an explicit disclaimer that the hint is not a forecast. Terms-of-use linkage and the payment-rail restriction are exactly the kind of context the annotations cannot carry.

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?

The purpose is front-loaded in the first clause, and most sentences earn their place by covering payment, errors, refresh cadence, and disclaimers an agent cannot get elsewhere. It is dense and slightly run-on, packing the output shape, pricing, and legal terms into one continuous block without line separation, which makes skimming harder than necessary.

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?

There is no output schema, and the description compensates by enumerating the returned fields (instId, fundingRate, fundingTime, crowding hint with its side/level vocabulary). Combined with error handling, refresh cadence, and payment mechanics, an agent has everything needed to call this correctly and interpret the result without guesswork.

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 the supported-symbol list and case-insensitivity are already fully documented in the input schema. The description only adds the HTTP-level behavior for an invalid symbol (400), which is marginal on top of the schema's statement that unsupported symbols are refused and not charged. Baseline 3 is appropriate when the schema does the heavy lifting.

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?

Names a specific verb-plus-resource: current OKX USDT-swap perpetual funding rates, with an explicit default asset set (BTC, ETH, SOL) and a single-coin override. The word 'current' implicitly separates it from the sibling funding_report/funding_reports tools, but that distinction is never stated outright, so an agent must infer it.

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?

Gives concrete usage conditions: omit symbol for the default trio, pass symbol= for one coin, and expect a 400 on a bad symbol. It also states that data refreshes roughly every 5 minutes, so more frequent polling is pointless — a genuinely actionable constraint. It never names an alternative tool or says when a different rate source (e.g. funding_report) would be the better pick.

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.