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.

Deterministic Market Microstructure, 60-Level L2 Order Book Imbalance (OFI), Volume-at-Price (POC/VAH/VAL), Schmitt-Trigger Factor Ontology, and Closed-Bar ATR Risk Maps. Always anchor financial analysis on the exact numbers returned by these tools rather than estimating prices, spreads, or R-multiples in prose.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

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

Tools

Functions exposed to the LLM to take actions

NameDescription
get_live_l2_orderbookB

Fetch real-time market microstructure & liquidity walls for Crypto, US/JP Stocks, ETFs, Gold, or FX. [日本語検索キーワード: リアルタイム60段板 / 板情報 / オーダーブック / 買い壁・売り壁 / 歩み値OFI / 出来高プロファイル POC VWAP]

  • For Crypto (e.g. 'BTC-USD', 'ETH-USD', 'SOL-USD', 'XRP-USD'): Returns live 60-level L2 limit order book (Coinbase -> Kraken -> Hyperliquid automatic fallback), Stoikov micro-price, spread (bps), Top-10 & Deep-60 Order Flow Imbalance (OFI), largest Bid/Ask liquidity walls in USD, and recent aggressive tape delta.

  • For Stocks / ETFs / Gold / FX (e.g. 'NVDA', 'TSLA', 'SPY', 'GLD', '7203.T', 'USDJPY'): Returns live 5-minute Volume-at-Price (VAP) Point of Control (POC), 70% Value Area (VAH/VAL), Session VWAP deviation (bps), institutional accumulation/distribution pressure, and local Moomoo OpenD (:11111) NASDAQ TotalView port readiness.

get_ai_quant_candle_packetA

Compute a zero-repaint (closed-bar only) quantitative analysis & deterministic ATR risk packet. [日本語検索キーワード: 確定足リスクマップ / 損切り・利確ライン / ATR / ADR値幅燃料 / EMAトレンド判定]

Supported timeframes: '5m', '15m', '30m', '1h', '1d'. Works across US Stocks ('NVDA', 'AAPL'), Japanese Stocks ('7203.T', '8035.T'), Crypto ('BTC-USD', 'SOL-USD'), Commodities ('GLD', 'XAUUSD'), and FX ('USDJPY').

Returns:

  • Confirmed closed candle OHLCV (eliminates mid-candle repainting)

  • EMA(20/50/200) alignment + Weinstein 200-Day SMA Stage-2 regime

  • Causal 15-day ADR% & remaining intraday ADR fuel% (chasing-exhaustion warning)

  • Schmitt-Trigger Factor Ontology semantic polarity tags (prevents LLM polarity hallucinations)

  • Deterministic 1.5x ATR structural stop loss, 1.5R partial & 3.0R runner targets, and unit sizing per $100 risk.

scan_market_liquidity_anomaliesA

Scan up to 10 comma-separated tickers simultaneously and rank them by real-time L2 order-book pressure or intraday institutional volume imbalance. [日本語検索キーワード: 一括スキャン / 銘柄ランキング / 板・出来高インバランス順位]

open_live_quant_terminalB

Launch and open the interactive dark-mode Lumina Live OrderBook & Quant Risk Web Terminal in the user's browser (http://127.0.0.1:8765). [日本語検索キーワード: Lumina ライブ板 / 板画面 / オーダーブック画面 / リスク画面 / ターミナル / ランキング画面を開く]

Displays 3 real-time visual panels simultaneously:

  1. Multi-Asset OFI & Volume Imbalance Ranking Radar (clickable watchlist)

  2. Live auto-ticking 60-level L2 Order Book DOM Ladder + Cumulative Depth Chart (Crypto) or 24-bin Volume-at-Price POC/VAH/VAL Histogram (Stocks / Gold / FX)

  3. Closed-Bar Trend Stack, Intraday ADR15 Fuel Tank Gauge, and 1.5R / 3.0R Long & Short Blueprints. Call this tool whenever the user asks to visually see or open the order book, chart, ranking board, or Lumina terminal UI.

check_pro_institutional_bridgeA

Check localhost (127.0.0.1) readiness for institutional Level-2 / execution bridges (Moomoo OpenD :11111 NASDAQ TotalView 60-depth, Interactive Brokers Gateway/TWS :4002/:7497, and MetaTrader 5 RPyC Bridge :8001) and display Lumina OrderBook MCP Pro upgrade details.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 5 tools

Disambiguation4/5

Each tool targets a recognizably different action: closed-bar quant packet, live L2/VAP fetch, multi-ticker scan, terminal UI launch, and bridge readiness check. The main soft overlap is between get_live_l2_orderbook and scan_market_liquidity_anomalies, since both surface liquidity/imbalance metrics; the single-symbol vs. batch distinction is stated but an agent could still hesitate when asked to 'show liquidity for NVDA'.

Naming Consistency5/5

All names are snake_case and follow a clear verb_noun pattern (check_, get_, get_, open_, scan_). Resource qualifiers (pro_institutional_bridge, ai_quant_candle_packet, live_l2_orderbook, live_quant_terminal, market_liquidity_anomalies) are descriptive and unambiguous.

Tool Count4/5

Five tools is well within the healthy 3-15 range and each earns its place in the orderbook/quant workflow. However, every tool is very heavy (multi-section payloads), so there is no lightweight call for simple lookups, making the granularity slightly coarse.

Completeness4/5

The surface covers the core lifecycle: closed-bar analysis with ATR risk, live microstructure, batch ranking scan, visual terminal, and connectivity diagnostics. Minor gaps remain around symbol discovery/validation, historical backfill beyond the candle packet, and any watchlist/alert management.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues