Skip to main content
Glama
blofin

blofin-mcp

Official
by blofin

get_candlesticks

Retrieve candlestick and kline data for any instrument on BloFin exchange. Specify instrument ID, bar size, and optional time range to get historical price data.

Instructions

Get candlestick/kline data for an instrument.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
instIdYesInstrument ID, e.g. BTC-USDT
barNoBar size, e.g. 1m, 5m, 15m, 30m, 1H, 4H, 1D, 1W, 1M. Default 1m.
afterNoPagination - return records earlier than this timestamp (ms)
beforeNoPagination - return records newer than this timestamp (ms)
limitNoNumber of results, max 300. Default 100.
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It only says 'Get ... data,' which implies a read operation, but does not disclose behavioral details such as data range limits, rate limits, or whether the data is historical only. This is insufficient for a tool with 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.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single, clear sentence with no superfluous words. It is front-loaded and efficiently conveys the tool's purpose.

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 has 5 parameters and no output schema, the description should provide more context about the return format (e.g., array of OHLCV data) and any constraints (e.g., max range). It is too minimal, leaving significant gaps for an AI agent.

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 coverage is 100%, so the input schema already describes each parameter. The tool description adds no extra meaning beyond stating the resource. Baseline is 3 since the description does not enhance understanding of the parameters.

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 verb 'Get' and the resource 'candlestick/kline data for an instrument,' which distinguishes it from sibling tools like `get_orderbook` or `get_tickers`. However, it doesn't explicitly emphasize that this is historical time-series data, which could further differentiate it from similar tools.

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 like `get_tickers` (current price) or `get_funding_rate_history`. It also lacks information on prerequisites (e.g., valid instrument ID) or context for pagination parameters.

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/blofin/blofin-mcp'

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