Skip to main content
Glama
htx-global-crypto-markets-mcp

htx-global-crypto-markets-mcp

Get HTX market klines

get_htx_market_klines
Read-onlyIdempotent

Fetch historical OHLCV candlestick data for an HTX Global spot pair across minute, hourly, daily, weekly, or monthly periods to analyze price trends and market movements.

Instructions

Fetch historical OHLCV candlesticks for an HTX Global spot pair across minute, hourly, daily, weekly, or monthly periods.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_htx_market_klines"
  }
}

Input Schema

NameRequiredDescriptionDefault
sizeNoNumber of candles to return (1-100, default 24).
periodNoCandlestick period (default "60min").
symbolNoLowercase HTX spot pair symbol (default "btcusdt").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds useful context that data is historical and spot-only, but says nothing about rate limits, pagination, data retention windows, or what a returned candle looks like beyond 'OHLCV'.

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?

A single front-loaded sentence with no filler. The period list partially restates the enum values, which is the only slight redundancy.

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?

For a simple three-parameter, fully documented, read-only retrieval tool with no output schema, the description covers the resource, market scope, and granularity. Minor gaps around return shape details are acceptable since the operation is a standard candlestick fetch.

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% with documented defaults for size, period, and symbol, so the schema does the heavy lifting. The description's mention of minute/hourly/daily/weekly/monthly groupings loosely maps to the period enum but adds no format or interaction details beyond the schema.

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 names a specific verb (fetch) and resource (historical OHLCV candlesticks) with scope (HTX Global spot pair) and granularity (minute through monthly periods). It doesn't explicitly contrast itself with the sibling tools (ticker, orderbook, trades), but the resource is distinct enough that an agent can differentiate.

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 implied by 'historical OHLCV candlesticks' – a time-series retrieval task – but there is no explicit statement of when to prefer this over get_htx_recent_trades or get_htx_merged_ticker, and no mention of limits, prerequisites, or exclusions.

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