Skip to main content
Glama
bybit-exchange

Bybit MCP Server

Official

getHistoricalInterestRate

Retrieve historical hourly borrowing interest rates for UTA spot margin. Specify currency, VIP level, and optional time window up to 30 days.

Instructions

Query historical borrowing interest rate data for UTA spot margin.

  • Requires API key with Spot permission.

  • startTime and endTime must be provided together. Maximum span is 30 days.

  • If both are omitted, defaults to the last 7 days.

  • Data available for up to 6 months.

Agent hint: Authenticated endpoint (Spot permission required). Returns historical hourly borrow rates for a specific coin and VIP level. The currency parameter is required. If vipLevel is omitted, uses the account's current VIP level. startTime/endTime must be used together (max 30-day window); if omitted, defaults to last 7 days. Note: "No VIP" must be URL-encoded as "No%20VIP".

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
currencyYes
vipLevelNo
startTimeNo
endTimeNo
Behavior4/5

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

With no annotations, the description discloses key behavioral traits: authenticated endpoint, permission requirement, data retention, parameter constraints, and URL encoding for 'No VIP'. Does not describe return format or rate limits, which are minor gaps.

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?

Front-loaded with purpose, then provides necessary details. Some redundancy exists between the main text and agent hint, but overall efficient.

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?

Covers auth, parameters, defaults, and constraints. Missing description of return format (since no output schema), but still provides sufficient context for a query tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema has 0% coverage; the description fully compensates by detailing each parameter: currency required, startTime/endTime usage and constraints, vipLevel optional with default behavior, and encoding note. Adds substantial meaning.

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 clearly states 'Query historical borrowing interest rate data for UTA spot margin.' This is a specific verb-resource combination that distinguishes the tool from siblings like getFundingRateHistory or getHistoricalVolatility.

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?

Explicitly outlines when to use: requires Spot permission, startTime and endTime together, max 30-day window, defaults to last 7 days if omitted, data available up to 6 months. Lacks explicit 'when not to use' or alternatives but provides strong contextual guidance.

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/bybit-exchange/trading-mcp'

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