Skip to main content
Glama
indian-option-mcp

indian-option-mcp

Implied vs realised volatility

historical_volatility
Read-only

Compare implied volatility with realised historical volatility for Indian indices and F&O stocks to judge if options are cheap or expensive and choose premium-selling or premium-buying strategies.

Instructions

Compare implied volatility with realised (historical) volatility for an Indian index or F&O stock — the key test for whether options are cheap or expensive. Returns close-to-close HV (10/20/60-day), Parkinson HV, where current HV sits in its 1-year range, current ATM IV, the IV/HV ratio with interpretation, and India VIX for indices. Use before choosing between premium-selling and premium-buying strategies.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "symbol": "<symbol>"
    },
    "name": "historical_volatility"
  }
}

Input Schema

NameRequiredDescriptionDefault
symbolYesNIFTY, BANKNIFTY, FINNIFTY, MIDCPNIFTY or an F&O stock like RELIANCE
windowNoMain HV look-back in trading days (default 20)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.4.0

TDQS

A3.9/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, destructiveHint=false, so safety is covered. The description adds valuable output-level behavior by enumerating exactly what is returned (close-to-close HV 10/20/60, Parkinson HV, 1-year range position, ATM IV, IV/HV ratio, India VIX), but says nothing about data freshness, market-hours dependence, or what happens when options data is unavailable for the symbol.

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?

Front-loaded with the core comparison and purpose, then the return payload, then the usage trigger. The return-value list is long but each item is a distinct, decision-relevant field; no filler sentences. Slightly dense in a single sentence-per-idea format but well ordered.

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

Completeness4/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 usefully enumerates the return contents, and annotations cover safety, leaving little unexplained for a two-parameter read tool. The remaining gaps — data freshness, symbol-coverage failure modes, and units of the IV/HV ratio interpretation — are minor but real.

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 coverage is 100%, so both parameters are already documented, and the description doesn't explain what 'window' controls or how it interacts with the fixed 10/20/60-day HV figures it lists. The enumeration of returned windows implicitly hints at the parameter's role, but this is inference rather than added meaning. Baseline 3 applies.

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 ('Compare') and two well-defined resources ('implied volatility' and 'realised/historical volatility'), plus the analytical purpose (cheap vs expensive options). This clearly distinguishes it from siblings like calculate_iv, iv_rank, and iv_smile, which compute single metrics rather than a comparison.

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

Usage Guidelines4/5

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

Explicitly says to 'Use before choosing between premium-selling and premium-buying strategies', giving a concrete decision context. It doesn't name alternative tools or state when-not to use it (e.g., for a quick IV read use calculate_iv), so it falls short of a 5.

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