Skip to main content
Glama

get_funding_rate_history

Retrieve historical funding rate data for perpetual contracts with timestamps and rates to analyze market trends and funding costs over time.

Instructions

Get historical funding rate data for perpetual contracts with timestamps and rates.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instrument_nameNoPerpetual instrument (e.g., BTC-PERP, ETH-PERP) - optional to get all
currencyNoFilter by currency (optional)
from_timestampNoEarliest timestamp in milliseconds
to_timestampNoLatest timestamp in milliseconds
pageNoPage number (default 1)
page_sizeNoResults per page (default 100, max 1000)
Behavior2/5

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

With no annotations, the description carries full burden but only states what data is retrieved without disclosing behavioral traits like pagination behavior (implied by page/page_size parameters), rate limits, authentication needs, or error handling. It mentions 'historical' but lacks details on data freshness or availability constraints.

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 a single, efficient sentence that front-loads the core purpose without unnecessary words. Every part ('Get historical funding rate data for perpetual contracts with timestamps and rates') directly contributes to understanding the tool's function.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given no annotations and no output schema, the description is incomplete for a tool with 6 parameters and financial data complexity. It lacks details on return format, error cases, or operational constraints, leaving significant gaps for an AI agent to use it effectively.

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 schema fully documents all 6 parameters. The description adds no parameter-specific semantics beyond implying the tool handles perpetual contracts, which aligns with the instrument_name parameter. Baseline 3 is appropriate as 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?

The description clearly states the action ('Get historical funding rate data') and resource ('for perpetual contracts'), specifying it includes timestamps and rates. It distinguishes from siblings like get_funding_history (likely broader) by focusing specifically on funding rates, though it doesn't explicitly contrast with all siblings.

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?

No guidance on when to use this tool versus alternatives like get_funding_history or get_trade_history is provided. The description implies usage for historical funding rate data but offers no context about prerequisites, typical use cases, or exclusions.

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/solenyaresearch0000/derive-MCP'

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