Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

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

Tools

Functions exposed to the LLM to take actions

NameDescription
get_technical_indicatorsB

Get technical indicators for a stock — RSI, MACD, ATR, EMAs, and Fibonacci levels.

Args: ticker: Stock symbol (e.g. AAPL, SPY, GOOGL) period: Data period — 1mo, 3mo, 6mo, 1y (default 3mo) interval: Bar interval — 1m, 5m, 15m, 1h, 1d (default 1d)

get_stock_quoteB

Get current price and quote data for a stock.

Args: ticker: Stock symbol (e.g. AAPL, SPY, TSLA)

analyze_options_chainA

Analyze an options chain — find liquid contracts, assess IV, identify opportunities.

Args: ticker: Stock symbol (e.g. AAPL, SPY) expiration: Expiration date YYYY-MM-DD (empty = nearest expiration) min_volume: Minimum volume filter (default 10) min_open_interest: Minimum open interest filter (default 100) max_spread_pct: Maximum bid-ask spread as % of mid price (default 10%)

calculate_position_sizeA

Calculate position size and risk/reward for a trade idea.

Args: ticker: Stock symbol entry_price: Planned entry price stop_price: Stop loss price target_price: Profit target price account_size: Account equity in dollars (default $100,000) risk_pct: Max risk as % of account (default 1.5%)

calculate_atr_positionA

Calculate position size using ATR for automatic stop/target placement.

Fetches live price and ATR, then computes position size, stop, and target.

Args: ticker: Stock symbol (e.g. AAPL, SPY) account_size: Account equity in dollars (default $100,000) risk_pct: Max risk as % of account (default 1.5%) stop_atr_mult: ATR multiplier for stop distance (default 2.0x) target_atr_mult: ATR multiplier for target distance (default 3.0x) direction: "long" or "short" (default "long") period: Lookback period for ATR calculation (default 3mo)

analyze_tradesB

Compute performance statistics from a list of trade P&L results.

Args: pnls: List of profit/loss values per trade (e.g. [150, -80, 200, -50, 300]) starting_equity: Starting account equity for drawdown calc (default $100,000)

compare_tickersC

Compare technical setups across multiple tickers side by side.

Args: tickers: List of stock symbols to compare (e.g. ["AAPL", "GOOGL", "MSFT"]) period: Data period for analysis (default 3mo)

screen_stocksA

Screen stocks against technical criteria — find oversold bounces, trending stocks, volume spikes, etc.

Scans the S&P 500 top 100 (or custom tickers) and filters by RSI, trend score, EMA position, and relative volume. Each stock gets a Trend Score from -100 (strong downtrend) to +100 (strong uptrend).

Args: rsi_max: Maximum RSI to filter for oversold stocks (e.g. 30) rsi_min: Minimum RSI to filter for overbought stocks (e.g. 70) trend_min: Minimum trend score (e.g. 15 for uptrend, 40 for strong uptrend) trend_max: Maximum trend score (e.g. -15 for downtrend, -40 for strong downtrend) above_200ema: If true, only stocks above 200-day EMA above_50ema: If true, only stocks above 50-day EMA min_relative_volume: Minimum relative volume vs 20-day avg (e.g. 1.5 = 50% above average) universe: "sp500" (top 100 by market cap) or "etfs" (sector + index ETFs) tickers: Custom list of tickers to screen (overrides universe) max_results: Maximum results to return (default 15)

get_support_resistanceA

Find key support and resistance levels for a stock from swing highs/lows.

Detects pivot points, clusters nearby levels, counts touches, and ranks by strength.

Args: ticker: Stock symbol (e.g. AAPL, SPY) lookback: Number of daily bars to analyze (default 120 = ~6 months) max_levels: Maximum levels per side — support and resistance (default 5)

get_trend_scoreA

Get a graduated trend score (-100 to +100) for a stock.

Combines 5 daily indicators: close vs SMA20 (25%), close vs SMA50 (25%), SMA20 slope (20%), ADX direction (15%), and position in 20-day range (15%).

Classifications: strong_uptrend (>=40), uptrend (>=15), neutral (-15 to +15), downtrend (<=-15), strong_downtrend (<=-40).

Args: ticker: Stock symbol (e.g. AAPL, SPY)

find_breakoutsA

Scan S&P 500 top 100 for breakout candidates — stocks in strong uptrends with bullish EMA stacks.

Finds stocks the V3 breakout engine should be watching. Filters for:

  • Strong trend score (default >= 30)

  • RSI in momentum range (45-75, not overbought or oversold)

  • Price above both 50 and 200 EMA (bullish structure)

  • Sorted by trend score (strongest first)

Args: exclude_symbols: Comma-separated symbols to exclude (e.g. existing watchlist) min_trend_score: Minimum trend score (default 30) min_rsi: Minimum RSI (default 45) max_rsi: Maximum RSI — avoid overbought (default 75) max_results: Max results to return (default 15)

get_option_quoteA

Get a live quote + greeks for a specific option contract, with P&L if entry price provided.

Args: option_symbol: OCC option symbol (e.g. AAPL260406P00250000, SPY260331C00640000) entry_price: Your entry premium per contract (optional — enables P&L calculation)

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/slimbiggins007/fintools-mcp'

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