Skip to main content
Glama
forgequant

CoinGlass MCP Server

by forgequant

CoinGlass Funding History

coinglass_funding_history
Read-onlyIdempotent

Analyze cryptocurrency funding rate history to track periodic payments between long and short traders, identifying bullish or bearish market sentiment trends.

Instructions

Get funding rate OHLC history.

Funding rates are periodic payments between long and short traders. Positive rate = longs pay shorts (bullish sentiment). Negative rate = shorts pay longs (bearish sentiment).

Required params by action: - pair: exchange + pair - oi_weighted/vol_weighted: symbol

Examples: - BTC OI-weighted funding: action="oi_weighted", symbol="BTC" - Binance BTCUSDT funding: action="pair", exchange="Binance", pair="BTCUSDT"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
actionYespair: single pair funding | oi_weighted: OI-weighted average | vol_weighted: volume-weighted average
symbolNoCoin for weighted actions (e.g., 'BTC')
exchangeNoExchange for 'pair' action
pairNoTrading pair for 'pair' action
intervalNoInterval: h1, h4, h8, d1h8
limitNoNumber of records

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior3/5

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

Annotations already provide readOnlyHint=true, destructiveHint=false, openWorldHint=true, and idempotentHint=true, covering the safety and idempotency profile. The description adds useful context about what funding rates represent and their sentiment implications, which helps the agent understand the domain semantics. However, it doesn't mention rate limits, authentication requirements, or pagination behavior beyond the 'limit' parameter documented in the schema.

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 efficiently structured with clear sections: purpose statement, domain explanation, parameter guidance, and examples. Every sentence adds value - the funding rate explanation provides necessary domain context, and the examples directly help with parameter selection. No wasted words or redundant 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?

Given the tool's complexity (6 parameters, multiple actions), the description provides good context about what funding rates are and how to use different actions. With annotations covering safety/idempotency and an output schema existing, the description doesn't need to explain return values. The main gap is lack of explicit guidance on when to choose this tool over alternatives like 'coinglass_funding_current'.

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?

With 100% schema description coverage, the input schema already documents all 6 parameters thoroughly. The description adds value by explaining the relationship between actions and parameters through the 'Required params by action' section and concrete examples, but doesn't provide additional syntax or format details beyond what's in the schema descriptions. This meets the baseline for high schema coverage.

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 starts with a specific verb ('Get') and resource ('funding rate OHLC history'), clearly stating what the tool does. It distinguishes from sibling tools like 'coinglass_funding_current' by focusing on historical data rather than current rates. The explanation of funding rates adds domain context that helps differentiate this tool's purpose.

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 description provides clear context for when to use this tool through the 'Required params by action' section and examples, showing how different actions correspond to different parameter combinations. However, it doesn't explicitly state when NOT to use this tool or mention alternatives like 'coinglass_funding_current' for current rates versus historical data.

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

Install Server

Other Tools

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/forgequant/coinglass-mcp'

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