Skip to main content
Glama
BCusack

Bybit MCP Server

by BCusack

get_premium_index_price_kline

Retrieve premium index price candlestick data for Bybit perpetuals to analyze funding rate basis and calculate funding payments across specified time intervals.

Instructions

Get premium index price candlestick data for linear perpetuals. Premium index shows the funding rate basis and is used to calculate funding payments.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoProduct type: only 'linear' (USDT perpetuals) supportedlinear
symbolYesTrading pair symbol. Examples: 'BTCUSDT', 'ETHUSDT'
intervalNoTime interval for each candlestick. Minutes: '1', '3', '5', '15', '30', '60' (1h), '120' (2h), '240' (4h), '360' (6h), '720' (12h). Periods: 'D' (daily), 'W' (weekly), 'M' (monthly)D
startNoStart time in milliseconds timestamp (OPTIONAL). The OLDEST time point (furthest back). If not provided, returns recent data.
endNoEnd time in milliseconds timestamp (OPTIONAL). The NEWEST time point (most recent). If not provided, defaults to current time.
limitNoMaximum number of candlesticks to return (OPTIONAL). Range: 1-1000.
Behavior2/5

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

With no annotations provided, the description carries full burden of behavioral disclosure. While it explains what premium index data represents (funding rate basis), it doesn't describe important behavioral aspects like whether this is a read-only operation, rate limits, authentication requirements, response format, or pagination behavior. For a data retrieval tool with 6 parameters, this leaves significant gaps in understanding how the tool behaves.

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 perfectly concise with two sentences that each earn their place. The first sentence states exactly what the tool does and for what instruments. The second sentence provides crucial context about what premium index data represents and its purpose. No wasted words or redundant 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?

Given the complexity (6 parameters, financial data tool) and absence of both annotations and output schema, the description is somewhat incomplete. While it explains what premium index data is and its purpose, it doesn't address behavioral aspects, response format, or error conditions. For a tool that retrieves time-series financial data with multiple filtering parameters, more context about what to expect would be helpful.

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 already documents all parameters thoroughly with descriptions, examples, enums, and constraints. The description adds minimal value beyond what's in the schema - it only reinforces that this is for 'linear perpetuals' (implied by the category parameter). No additional parameter semantics or usage context beyond the schema are provided.

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 the specific action ('Get premium index price candlestick data'), resource ('for linear perpetuals'), and purpose ('shows the funding rate basis and is used to calculate funding payments'). It distinguishes from sibling tools like 'get_index_price_kline' and 'get_mark_price_kline' by specifying it's for premium index data related to funding calculations.

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?

The description implies usage context by mentioning it's for linear perpetuals and funding calculations, but doesn't explicitly state when to use this tool versus alternatives like 'get_funding_rate_history' or 'get_index_price_kline'. No explicit exclusions or prerequisites are provided, leaving usage context somewhat implied rather than clearly defined.

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/BCusack/bybit-py-mcp'

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