Skip to main content
Glama
biranjan01
by biranjan01

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
}

Tools

Functions exposed to the LLM to take actions

NameDescription
greeksA

Black-Scholes greeks for one option.

Args: spot: underlying spot price strike: option strike t_days: calendar days to expiry iv: annualized implied volatility as a decimal (0.26 = 26%) right: 'C' for call, 'P' for put market_price: if given, IV is re-solved from this price instead of using iv

strategy_payoffA

Payoff analysis for a multi-leg option strategy at expiry.

Args: legs: list of {strike, right ('C'/'P'), qty (+ long / - short), premium, lot_size?} spot: current underlying price t_days: calendar days to expiry iv: annualized IV for probability estimate (decimal) lot_size: shares per contract (e.g. 6750 for CANBK), or use per-leg lot_size

max_painB

Max pain, PCR and CE/PE walls for an underlying's live option chain.

Fetches the public NSE snapshot in-session (may be rate-limited; retry once after a pause if it fails).

option_chainB

Live NSE option chain (LTP/OI/IV) around ATM for one underlying.

Args: symbol: NSE symbol, e.g. 'NIFTY', 'BANKNIFTY', 'CANBK', 'ULTRACEMCO' expiry: filter, e.g. '27-Oct-2026' (defaults to nearest expiry) atm_band: how many strikes either side of the money to return

analyze_positionA

Score an open long option position: breakeven, current P&L, hold/exit framing.

Args: symbol: underlying symbol (for reporting) right: 'C' or 'P' strike: strike held entry: entry premium per share spot: current underlying price t_days: calendar days to expiry qty_shares: total shares (qty * lot_size), e.g. 6750 for 1 CANBK lot vwap: today's VWAP if known — adds the hold-above/exit-below filter iv: annualized IV; if omitted, estimated 0.28 (India F&O typical) — pass a real one when known

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 5 tools

Disambiguation4/5

Each tool targets a distinct analytical task: live chain data, max-pain metrics, single-option greeks, multi-leg payoff, and position scoring. However, `greeks` and `analyze_position` both accept similar option inputs and could be confused, and `max_pain` also fetches the chain, creating minor overlap.

Naming Consistency4/5

All names use snake_case and are descriptive, but the convention is mostly noun phrases (option_chain, strategy_payoff, max_pain, greeks) with one verb_noun outlier (analyze_position), so it is not fully uniform.

Tool Count5/5

Five tools is well within the ideal 3–15 range and each covers a distinct facet of options analytics, so no tool feels redundant.

Completeness4/5

Core options analytics are covered: live chain, greeks, payoff, max pain, and position scoring. Minor gaps exist (e.g., listing expiries, multi-leg position analysis, or volatility surface), but agents can likely work around them.

Maintenance

ActivityMaintained
ResponsivenessNo issues