Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
get_priceA

Get the current price and daily change for one instrument.

Args: symbol: Ticker. Crypto accepts BTC, BTCUSDT or BTC/USDT; equities use the Yahoo symbol (AAPL, MSFT); IDX accepts BBCA or BBCA.JK. market: One of "crypto", "stock" (global equities/ETFs/indices/FX) or "idx" (Indonesia Stock Exchange).

Returns price, previous close, change %, day range and — for equities — the 52-week range and where price sits inside it.

get_pricesA

Get current prices for several instruments at once.

Args: symbols: Up to 50 tickers. market: "crypto", "stock" or "idx" — applies to every symbol.

Symbols that cannot be resolved are reported in failed rather than failing the whole call.

search_symbolA

Find the ticker for a company or asset by name.

Args: query: Company or asset name, e.g. "bank central asia" or "nvidia". limit: Maximum matches to return.

Use this first whenever the user names a company rather than a ticker.

market_snapshotA

Get a cross-market overview: US and Asian indices, VIX, crypto, FX and commodities.

Includes the IDX Composite (^JKSE) and USD/IDR. Use this to answer "how are markets doing" without picking symbols by hand.

technical_analysisA

Run a full technical analysis on one instrument.

Args: symbol: Ticker (BTC, AAPL, BBCA). market: "crypto", "stock" or "idx". interval: 15m, 30m, 1h, 4h (crypto only), 1d or 1w. bars: How many candles to analyse. More bars means slower indicators like the 200-EMA actually warm up.

Returns RSI, MACD, Bollinger, EMA20/50/200, ATR, ADX, Supertrend and Stochastic, plus support/resistance and a composite rating. The rating lists every individual vote, so you can explain why rather than just quoting a label.

multi_timeframe_analysisA

Check whether timeframes agree on direction.

Args: symbol: Ticker. market: "crypto", "stock" or "idx". bars: Candles per timeframe.

Runs the composite rating on weekly through hourly candles. Aligned timeframes are the setups worth acting on; conflict between them is the usual reason a signal on one chart fails.

candlestick_patternsA

Detect candlestick patterns in the most recent bars.

Args: symbol: Ticker. market: "crypto", "stock" or "idx". interval: Candle size. lookback: How many recent bars to scan (1-20).

Each hit reports the trend it appeared in and whether that makes it a genuine reversal — a hammer inside an uptrend is not a bottom signal.

crypto_screenerA

Screen Binance spot pairs on 24h price and volume.

Args: quote_asset: Quote leg to screen against (USDT, USDC, BTC...). min_volume_usd: Minimum 24h turnover. Raising this is the main lever for filtering out pairs too illiquid to trade. min_change_pct: Keep only pairs up at least this much over 24h. max_change_pct: Keep only pairs below this 24h change. sort_by: "volume", "change" or "change_asc". limit: Rows to return.

crypto_top_moversA

Get the biggest 24h movers on Binance spot.

Args: quote_asset: Quote leg (USDT, USDC...). direction: "gainers", "losers" or "both". min_volume_usd: Liquidity floor — without one the list fills with thin pairs whose percentage moves are noise. limit: Rows per direction.

stock_screenerA

Screen a stock universe on today's move.

Args: universe: "idx" (~277 Indonesian tickers) or "us" (~117 US tickers). min_change_pct: Keep only names up at least this much today. max_change_pct: Keep only names below this change today. min_price: Minimum share price, in the listing currency (IDR for IDX). max_symbols: How many tickers to quote. The universe files are ordered by liquidity, so the first N are the tradeable ones. limit: Rows to return.

technical_scanA

Scan a universe for a technical setup, not just a price move.

Args: signal: One of oversold, overbought, bullish, bearish, uptrend, downtrend, volume_spike, squeeze. market: "crypto" scans the most liquid Binance pairs; "stock"/"idx" scan the bundled ticker universes. universe: For stock/idx markets: "idx" or "us". interval: Candle size for the indicators. max_symbols: Symbols to examine (capped at 60 — each one costs a full candle download). limit: Rows to return.

Slower than the price screeners because it downloads candles per symbol; prefer a tighter max_symbols when you only need ideas, not coverage.

list_universesA

List the bundled stock ticker universes and their sizes.

prediction_marketsA

List the most active Polymarket prediction markets.

Args: limit: Markets to return (max 100). order: "volume24hr", "volume", "liquidity" or "endDate". tag: Optional category slug, e.g. "politics", "crypto", "sports".

Prices are probabilities: 0.63 means the market prices that outcome at 63%.

prediction_searchA

Search active prediction markets by keyword.

Args: query: Keywords, e.g. "fed rate", "bitcoin 100k", "election". limit: Matches to return.

Matches in the market question rank above matches that only appear in the description. Polymarket has no server-side text search, so this scans the most active markets rather than every market ever created.

prediction_market_detailA

Get full detail for one prediction market, including outcome token ids.

Args: slug_or_id: Market slug (from a polymarket.com URL) or numeric id.

The token_id on each outcome is what prediction_price_history needs.

prediction_price_historyA

Get the probability history for one market outcome.

Args: token_id: Outcome token id from prediction_market_detail. interval: Window to cover — "1h", "6h", "1d", "1w", "1m" or "max". fidelity: Bucket size in minutes. Larger values return fewer points.

Use this to see whether the market's view has been drifting or is reacting to something recent.

list_strategiesA

List the available backtest strategies with their parameters.

Call this before backtest_strategy if you are unsure of a strategy name or which parameters it accepts.

backtest_strategyA

Backtest one strategy on one instrument.

Args: symbol: Ticker (BTC, AAPL, BBCA). strategy: Strategy name from list_strategies. market: "crypto", "stock" or "idx". interval: Candle size (15m, 30m, 1h, 4h crypto-only, 1d, 1w). bars: Candles to test over (30-1500). params: Strategy parameter overrides, e.g. {"period": 21}. fee_bps: Round-trip fee in basis points per position change. slippage_bps: Assumed slippage in basis points per position change. include_trades: Return the full trade log as well as the metrics.

Signals are acted on at the next bar, so results contain no look-ahead. Always compare total_return_pct against buy_and_hold_return_pct — beating a flat market is not an edge.

compare_strategiesA

Run every strategy on one instrument and rank them.

Args: symbol: Ticker. market: "crypto", "stock" or "idx". interval: Candle size. bars: Candles to test over. fee_bps: Fee in basis points per position change. slippage_bps: Slippage in basis points per position change. rank_by: "sharpe", "total_return_pct", "calmar" or "profit_factor".

A leaderboard on one symbol over one window is a weak signal — the winner is partly luck. Confirm anything promising with walk_forward_backtest before trusting it.

walk_forward_backtestA

Validate a strategy out-of-sample and check whether it is curve-fitted.

Args: symbol: Ticker. strategy: Strategy name from list_strategies. market: "crypto", "stock" or "idx". interval: Candle size. bars: Candles to use. Needs roughly 40 x (folds + 1) minimum. folds: Number of out-of-sample test windows (2-10). objective: Metric the parameter search optimises for. fee_bps: Fee in basis points per position change. slippage_bps: Slippage in basis points per position change.

Optimises parameters on data up to each fold, then scores the fold that follows on bars the optimiser never saw. The verdict compares in- and out-of-sample results: this is the tool that catches a strategy that only looks good in hindsight.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/kumaraprayoga68-sketch/market-mcp'

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