Skip to main content
Glama

Market data: options chain

stock_options_chain

Cross-check a single-expiry options chain across Finviz and Yahoo by matching calls and puts on strike, then comparing volume and open interest to reveal positioning disagreements.

Instructions

Multi-source options chain for one expiry.

Finviz and Yahoo both publish a chain; contracts are matched by side, expiry and strike, then their volume and open interest are compared, so an agent can see whether the two chains agree on open positioning. TradingView has no chain, but its scanner independently quotes the underlying the contracts are priced against.

Args: symbol: Underlying ticker. expiry: YYYY-MM-DD; None uses each provider's nearest expiry.

Returns: Envelope with data.calls/data.puts (Finviz, which carries full greeks), the Yahoo chain, and data.overlap.

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": "stock_options_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
expiryNo
symbolYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations, the description carries the full disclosure burden and does well: it reveals the data provenance, the contract-matching key (side, expiry, strike), the comparison performed, and that TradingView supplies an independent underlying quote rather than a chain. It omits auth, rate-limit, and failure-mode behavior, which keeps it short of a 5.

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 one-line purpose, then structured Args and Returns sections. Each sentence adds information, though the Returns block partly restates what the existing output schema already provides and could be trimmed.

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 two-parameter read tool with an output schema already present, the description covers sources, matching logic, expiry defaults, and return shape. Remaining gaps are operational (permissions, rate limits, partial-provider failure) rather than things needed to invoke it correctly.

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

Parameters4/5

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

Schema coverage is 0%, so the description must document the two parameters, and it does: symbol is the underlying ticker, and expiry is YYYY-MM-DD with None falling back to each provider's nearest expiry. That default behavior is real meaning the schema does not convey; only richer format/validation detail is missing.

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 resource and scope: a multi-source options chain for one expiry, naming the three providers involved (Finviz, Yahoo, TradingView) and what is compared (volume and open interest per matched contract). An agent can distinguish this from analytic or single-quote sibling tools without reading the schema.

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?

Usage is implied rather than stated: the description explains that the point is cross-provider agreement on open positioning, which suggests when it is valuable. It does not say when not to use it or name an alternative sibling (e.g. a single-source chain or analytics tool) to prefer instead.

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