MCP Tools Reference

Complete reference for all 15 GoldenClaw MCP tools

Overview

GoldenClaw exposes 15 tools via the Model Context Protocol. Connect any MCP-compatible client to https://stage.goldenclaw.sh/mcp with Bearer token authentication.

Common Parameters

Most tools require these parameters:

ParameterTypeRequiredDescription
exchangestringYesExchange ID: binance, bybit, okx, kucoin, gate, htx, bitget, bingx, bitmart, bitmex, coinex, hyperliquid
marketTypestringYesMarket type: spot, futures, coinm-futures

Discovery

list_exchanges

List all supported exchanges with their capabilities and supported market types.

Parameters: None

Required scope: market:read


Market Data

get_price

Get the current price for a trading symbol.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesTrading symbol (e.g., BTC, ETH, SOL)

Required scope: market:read | REST: GET /market/price


get_ohlcv

Get OHLCV candlestick data for technical analysis.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesTrading symbol
intervalstringYesCandle timeframe (1m, 5m, 15m, 1h, 4h, 1d, etc.)
limitnumberNoNumber of candles (default: 100, max: 500)

Required scope: market:read | REST: GET /market/ohlcv


get_ticker

Get 24h ticker statistics including high, low, volume, and change.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesTrading symbol

Required scope: market:read | REST: GET /market/ticker


get_pairs

Get available trading pairs for an exchange and market type.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type

Required scope: market:read | REST: GET /market/pairs


get_symbols

Get all available trading symbols with their details.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type

Required scope: market:read | REST: GET /market/symbols


get_timeframes

Get supported candlestick timeframes for an exchange.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type

Required scope: market:read | REST: GET /market/timeframes


Trading

Real trades

Trading tools execute real orders and manage real positions. Use with caution.

place_order

Place an order. Supports MARKET, LIMIT, STOP, and STOP_LIMIT orders.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesTrading symbol
sidestringYesBUY (long) or SELL (short)
typestringYesMARKET, LIMIT, STOP, STOP_LIMIT
quantitynumberYesOrder quantity in base asset
pricenumberLIMIT onlyLimit price
stopPricenumberSTOP onlyStop trigger price
stopLossPricenumberNoStop loss for risk management
takeProfitPricenumberNoTake profit price
leveragenumberNoLeverage 1-125 (futures only)

Required scope: trade:spot:write, trade:futures:write, or trade:coinm-futures:write | REST: POST /trading/orders/place


cancel_order

Cancel an open order by ID.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesTrading symbol
orderIdstringYesOrder ID to cancel

Required scope: trade:*:write | REST: POST /trading/orders/cancel


get_orders

Get all open orders for a symbol.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesTrading symbol

Required scope: trade:*:read | REST: GET /trading/orders


get_positions

Get all open positions with entry price, size, unrealized P&L, and liquidation price.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type

Required scope: trade:*:read | REST: GET /trading/positions


close_position

Close an open position for a symbol.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type
symbolstringYesSymbol of the position to close

Required scope: trade:*:write | REST: POST /trading/positions/close


Account

get_balance

Get account balance with multi-currency breakdown.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type

Required scope: account:read | REST: GET /account/balance


get_account

Get full account info: wallet balance, margin, positions, and multi-currency breakdown.

ParameterTypeRequiredDescription
exchangestringYesExchange ID
marketTypestringYesMarket type

Required scope: account:read | REST: GET /account/info


Analysis

calculate_indicator

Calculate a technical indicator from price data. This tool takes raw OHLCV arrays directly — no exchange connection required.

ParameterTypeRequiredDescription
indicatorstringYesIndicator name (e.g., sma, rsi, macd, bollinger_bands)
closesnumber[]YesClosing prices array
highsnumber[]NoHigh prices (for ATR, Stochastic, etc.)
lowsnumber[]NoLow prices (for ATR, Stochastic, etc.)
opensnumber[]NoOpen prices (for some indicators)
volumesnumber[]NoVolumes (for OBV, MFI, VWAP)
periodnumberNoCalculation period (default: 14)

Available indicators by category:

CategoryIndicators
Trendsma, ema, dema, tema, trima, rma, vwma, macd, apo, aroon, bop, psar, kdj, trix
Momentumrsi, stochastic, williams_r, roc, ao, cmo, ppo, pvo
Volatilityatr, bollinger_bands, keltner_channel, donchian_channel, mstd, true_range
Volumeobv, ad, mfi, vwap, cmf, emv, fi, nvi, vpt
Support/Resistancefibonacci_retracement, fibonacci_extension, pivot_points

Required scope: indicators:read | REST: POST /indicators/{category}