Skip to main content
Glama

Marketdata Option Chain

marketdata_option_chain
Read-onlyIdempotent

Get the full option chain for an underlying stock/ETF/index, with strike, bid/ask/mid/last, volume, open interest, IV and greeks (delta/gamma/theta/vega). Filter by expiration, days-to-expiration, delta, side, and liquidity. Example: marketdata_option_chain({ underlyingSymbol: "AAPL", expiration: "2026-01-16", side: "call", minOpenInterest: 100, _apiKey: "your-key" })

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dteNoFilter to contracts with this many days to expiration (nearest match). Optional.
dateNoHistorical snapshot date (YYYY-MM-DD) for a past chain. Optional (defaults to live).
sideNoContract side: "call" or "put". Optional (returns both if omitted).
deltaNoDelta-based strike selection, e.g. "0.30" or a range ".20-.40". Optional.
_apiKeyYesMarket Data App API token. Get one at https://www.marketdata.app/pricing/ (auth docs: https://www.marketdata.app/docs/api/authentication)
expirationNoFilter to a specific expiration date (YYYY-MM-DD) or "all" for every expiration. Optional.
strikeLimitNoLimit the number of strikes returned (nearest to the money). Optional.
minOpenInterestNoOnly return contracts with at least this open interest. Optional.
underlyingSymbolYesUnderlying ticker symbol, e.g. "AAPL", "SPY", "TSLA"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the safety profile is covered. The description adds useful behavioral context beyond annotations by specifying the returned fields, underlying instrument types, and available filtering dimensions, including a concrete invocation example.

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

Conciseness5/5

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

The description is compact: one sentence for the core behavior, one for filters, and one example with realistic parameters. Every sentence contributes useful information with no repetition or filler, despite having to cover a fairly complex tool.

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?

For a 9-parameter tool with no output schema, the description covers the return-value highlights and all major filter dimensions, while the schema handles parameter details. It does not describe exact response formatting or potential response-size concerns, but it is sufficient for an agent to select and invoke the tool correctly.

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?

Input schema coverage is 100%, so the schema documents all nine parameters. The description summarizes filter categories (expiration, days-to-expiration, delta, side, liquidity) and provides an example, but it does not add meaningful detail beyond the schema's own parameter descriptions.

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?

The description uses a specific verb and resource: 'Get the full option chain for an underlying stock/ETF/index,' followed by the exact data fields returned (strike, bid/ask/mid/last, volume, open interest, IV, greeks). This clearly distinguishes it from siblings like marketdata_option_quote, marketdata_stock_quote, and marketdata_candles.

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

Usage Guidelines3/5

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

The description implies the tool is for retrieving full option chains and specifies available filters, but it does not explicitly state when to use this tool versus alternatives such as marketdata_option_quote for individual quotes. There is no direct when-to-use or when-not-to-use guidance.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.