Skip to main content
Glama
Derive MCP Server

Derive MCP Server

by yashhsm

get_funding_rate_history

Retrieve funding rate history for a perpetual instrument over a defined time range, limited to a 30-day lookback.

Instructions

Get funding rate history for a perp instrument. Max 30 days lookback.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "instrument_name": "<instrument_name>"
    },
    "name": "get_funding_rate_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
periodNoAggregation period in seconds (900/3600/14400/28800/86400)
end_timestampNoEnd time (ms)
instrument_nameYesPerp instrument (e.g., ETH-PERP)
start_timestampNoStart time (ms)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the 30-day lookback ceiling, which is real behavioral information absent from the schema, but it does not say whether an out-of-range request errors or truncates, nor does it describe ordering, pagination, or auth requirements.

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?

Two short sentences, zero filler, with the resource identified first and the operational limit placed immediately after. Nothing could be removed without losing information.

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

Completeness3/5

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

All four parameters are documented in the schema and there is no output schema to explain, but a history-retrieval tool with no annotations would benefit from stating return ordering, default time window when timestamps are omitted, and behavior on range violations. Adequate but with clear gaps.

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%, with period enumerations and timestamp units already documented in the schema, so the baseline is 3. The description adds no per-parameter meaning beyond implying that start_timestamp/end_timestamp are bounded by the 30-day window.

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 gives a specific verb ('Get') and resource ('funding rate history') scoped to perp instruments, which separates it from siblings like get_interest_rate_history or get_deposit_history by resource alone. It stops short of naming an alternative or contrasting behavior, so it is clear but not explicitly differentiated.

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

Usage Guidelines3/5

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

Usage is only implied: the tool is for retrieving funding rate history on a perp. The 'Max 30 days lookback' line is a hard constraint rather than guidance on when to choose this tool over others, and there is no statement of prerequisites or exclusions.

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