Skip to main content
Glama
Tapetide - Indian Stock Market MCP

Tapetide - Indian Stock Market MCP

Index Option Chain (IV, Greeks, OI by strike)

get_option_chain
Read-onlyIdempotent

Fetch end-of-day index option-chain snapshots for NIFTY, BANKNIFTY, FINNIFTY and MIDCPNIFTY, showing implied volatility, Greeks, bid/ask, open interest, PCR and max pain by strike.

Instructions

Get the INDEX OPTION CHAIN with implied volatility, Greeks, bid/ask and open interest by strike. Use for any option-chain, IV, Greeks, open-interest, PCR or max-pain question — 'show me the NIFTY option chain', 'what is the ATM IV', 'where is max pain', 'put-call ratio', 'OI by strike'. Covers NIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY ONLY — we do not collect a chain for individual stocks, so for a stock-option question say the chain covers index options only rather than implying we have no options data at all; get_option_iv_history DOES cover ~556 underlyings including stocks. IMPORTANT: this is an END-OF-DAY STAMPED snapshot, not a streaming live tick. Read snapshot_ts and state it (e.g. 'as of the 7 Aug close') — never imply an intraday real-time quote. iv_pct and atm_iv_pct are PERCENT (10.87 means 10.87%), not decimals. NULLS ARE UNPUBLISHED, NEVER ZERO: a leg flagged iv_unsolved has null IV and Greeks (the solver skips deep-in-the-money legs), illiquid means no OI/volume so its premium is indicative only, and pcr_undefined means the put/call ratio cannot be computed. Render these as '—'; never state a 0% IV, a 0 delta or a PCR of 0. Also read atm_offset (signed strike distance from ATM) and available_expiries. Present the chain as data: report the numbers and what they describe. Do NOT recommend a strike, a strategy, or a direction to trade.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_option_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
expiryNoExpiry as YYYY-MM-DD. Omit for the nearest expiry in the snapshot.
symbolNoREQUIRED. Index underlying: NIFTY | BANKNIFTY | FINNIFTY | MIDCPNIFTY (index options only).
tickerNoAlias for `symbol`.
strikesNoStrikes to return EACH SIDE of ATM (default 11, max 25)
identifierNoAlias for `symbol`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.9

TDQS

A4.6/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare read-only/idempotent/non-destructive, but the description adds substantial context beyond them: this is an end-of-day stamped snapshot rather than a live tick, snapshot_ts must be read and stated, IV values are percent not decimals, nulls mean unpublished (never zero), and the iv_unsolved/illiquid/pcr_undefined flags must be rendered as '—'. It also bars recommendations, which is real behavioral guidance.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and usage triggers are front-loaded, and the long tail is dense with operationally necessary rules (timestamp, percent units, null semantics) rather than filler. It is verbose, but nearly every clause prevents a concrete reporting error, so it is only slightly over-sized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the full burden of explaining return values, and it does: snapshot_ts, iv_pct/atm_iv_pct units, atm_offset, available_expiries, and the meaning of null/flag states. An agent has everything needed to call and correctly report this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the baseline is 3. The description reinforces the symbol constraint (NIFTY/BANKNIFTY/FINNIFTY/MIDCPNIFTY, index options only) but adds no syntax or format detail for expiry, strikes, or the alias params beyond what the schema already carries.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Get the INDEX OPTION CHAIN') and enumerates exactly what comes back: implied volatility, Greeks, bid/ask and open interest by strike. It also names the index-only scope and explicitly distinguishes itself from get_option_iv_history, so the agent can separate it from siblings without opening a schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides concrete trigger phrases ('show me the NIFTY option chain', 'what is the ATM IV', 'where is max pain') and states the boundary case: index underlyings only, no individual stocks, routing stock-option questions to get_option_iv_history. It also gives a fallback script for stock queries so the agent does not falsely deny having options data.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.