Skip to main content
Glama
sammcj

Bybit MCP Server

by sammcj

get_kline

Fetch candlestick data for specific trading pairs on Bybit. Configure intervals, categories, and limits to retrieve up to 1000 kline records. Optional reference ID ensures data verification.

Instructions

Get kline/candlestick data for a trading pair. Supports optional reference ID for data verification.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
categoryNoCategory of the instrument (spot, linear, inverse)
includeReferenceIdNoInclude reference ID and metadata for data verification (default: false)
intervalNoKline interval
limitNoLimit for the number of candles (max 1000)
symbolYesTrading pair symbol (e.g., 'BTCUSDT')
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It only mentions data retrieval and an optional verification feature, lacking details on rate limits, authentication needs, error handling, or response format. This is insufficient for a tool with multiple parameters and no output schema.

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?

The description is concise and front-loaded with the core purpose in the first sentence. The second sentence adds a specific feature without redundancy. However, it could be slightly more structured by explicitly naming key parameters or use cases, but overall it's efficient with zero waste.

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 the tool's complexity (5 parameters, no output schema, and no annotations), the description is incomplete. It doesn't explain return values, error conditions, or behavioral traits like pagination or data freshness, leaving significant gaps for an agent to operate effectively in this financial context.

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?

The description adds minimal semantic value beyond the input schema, which has 100% coverage. It hints at the purpose of 'reference ID for data verification,' loosely related to the includeReferenceId parameter, but doesn't elaborate on its use or other parameters. Baseline 3 is appropriate given the schema's thoroughness.

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 tool's purpose as 'Get kline/candlestick data for a trading pair,' which is a specific verb+resource combination. However, it doesn't explicitly differentiate from sibling tools like get_ticker or get_trades, which might also provide market data, so it doesn't reach the highest score.

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?

The description provides no guidance on when to use this tool versus alternatives. It mentions an optional feature (reference ID for verification) but doesn't clarify use cases, prerequisites, or exclusions relative to siblings such as get_ticker or get_orderbook, leaving the agent without contextual direction.

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

Related 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/sammcj/bybit-mcp'

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