Skip to main content

Tools Reference

All 39 tools provided by the local xt-tradekit MCP server. Those marked 🔑 require an API Key.


Spot Market Data (5)​

ToolDescriptionParameters
xt_spot_ticker24h data: last price, OHLC, change, volume and turnoversymbol
xt_spot_top_moversUSDT pair rankingsdirection=gainers/losers/volume, limit=10
xt_spot_depthOrder book levelssymbol, limit=10
xt_spot_klinesKlinessymbol, interval=1h, limit=24
xt_spot_symbol_infoSymbol rules: precision, minimum notionalsymbol

Futures Market Data (6)​

ToolDescriptionParameters
xt_futures_tickerLast price, mark price, index price, best bid/asksymbol
xt_futures_depthOrder booksymbol, level=10
xt_futures_klinesKlinessymbol, interval=1h, limit=24
xt_futures_funding_rateCurrent funding rate + next settlement timesymbol
xt_futures_funding_rate_historyHistorical funding rate seriessymbol, limit=10
xt_futures_contract_infoFace value per contract, precision, max leveragesymbol

Kline interval options: 1m 5m 15m 30m 1h 4h 1d 1w

Aggregated Market Data (9)​

ToolDescriptionParameters
market_open_interestMarket-wide USDT-M perpetual open interest (coin amount + USD)symbol
market_long_short_ratioLong/short account ratio seriessymbol, period=1H, limit=24
market_taker_volumeTaker buy vs sell volume seriessymbol, period=1H, limit=24
market_recent_liquidationsRecent liquidation recordssymbol, limit=20
market_fear_greedFear & Greed index seriesdays=7
market_global_overviewGlobal market cap, turnover, BTC/ETH dominance—
market_coin_profileMarket cap rank, FDV, supply, ATH, sector, profilecoin
market_token_securityOn-chain token security: honeypot/tax/open source/mint/concentrationchain, contract_address
market_sentiment_snapshotCombined view: Fear & Greed + taker buy/sell ratio + long/short ratiosymbol=btc_usdt

period options: 5m 1H 1D

News (3)​

ToolDescriptionParameters
xt_announcementsXT official announcementslocale=en-us, limit=10
xt_announcement_searchAnnouncement keyword searchkeyword, locale, limit
market_newsAggregated crypto news feedkeyword, lang=en, limit=20

locale: en-us zh-cn zh-tw ko-kr ru es tr vi ar fa

Credentials (1)​

ToolDescription
xt_credentials_statusCheck credential setup: whether configured, source, file permissions, and the masked Access Key. Never returns the key itself

Spot Trading 🔑 (6)​

ToolDescriptionParameters
xt_spot_balancesSpot balances (non-zero assets + USDT valuation by default)currency
xt_spot_open_ordersOpen orderssymbol
xt_spot_order_historyOrder historysymbol, limit=20
xt_spot_place_order âš ī¸Place an ordersymbol, side, order_type, price, quantity, quote_qty
xt_spot_cancel_order âš ī¸Cancel an orderorder_id
xt_spot_cancel_all_orders âš ī¸Cancel all orderssymbol

Futures Trading 🔑 (6)​

ToolDescriptionParameters
xt_futures_accountAccount equity, available margin—
xt_futures_positionsCurrent positions (non-zero)symbol
xt_futures_open_ordersOpen orderssymbol
xt_futures_place_order âš ī¸Open/close a positionsymbol, order_side, position_side, quantity (contracts), order_type, price
xt_futures_cancel_order âš ī¸Cancel an orderorder_id
xt_futures_order_historyOrder historysymbol, limit=20

Assets (3)​

ToolDescriptionParameters
xt_currency_chainsChains, fees, minimum withdrawal amountcurrency
xt_asset_transfer đŸ”‘âš ī¸Transfer between accountsfrom_account, to_account, currency, amount
xt_withdraw đŸ”‘âš ī¸Withdrawal (irreversible)currency, chain, amount, address

Legend​

  • 🔑 Requires an API Key
  • âš ī¸ Write operation: full parameters must be shown to the user and explicitly confirmed before the call; rejected outright at the server layer when XT_TRADEKIT_READONLY=1

Common Conventions​

  • Symbol format: lowercase with an underscore, btc_usdt
  • Futures quantity unit: contracts (integer); convert with xt_futures_contract_info before ordering
  • Open/close direction: open long BUY+LONG / open short SELL+SHORT / close long SELL+LONG / close short BUY+SHORT
  • Transfer account types: SPOT LEVER FUTURES_U FUTURES_C FINANCE