Skip to main content
Glama
Alpha Vantage MCP Server

Alpha Vantage MCP Server

get-historical-options

Retrieve historical options chain data for a stock, with optional trading date, contract limit, and sorting by strike, expiration, volume, open interest, Greeks, or price fields.

Instructions

Get historical options chain data for a stock with sorting capabilities

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": "get-historical-options"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOptional: Trading date in YYYY-MM-DD format (defaults to previous trading day, must be after 2008-01-01)
limitNoOptional: Number of contracts to return (default: 10, use -1 for all contracts)
symbolYesStock symbol (e.g., AAPL, MSFT)
sort_byNoOptional: Field to sort bystrike
sort_orderNoOptional: Sort orderasc

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden, and it discloses almost nothing beyond 'historical' and 'sorting'. It does not mention data freshness/delay, entitlement or auth requirements, rate limits, or what happens to the response when limit=-1, which matters for a data-fetch tool.

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?

A single front-loaded sentence with no filler. It is efficient, though the trailing 'with sorting capabilities' is nearly redundant given the schema and could have been spent on substantive context instead.

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

Completeness3/5

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

With five parameters fully documented in the schema and no output schema, the structured fields do most of the work. However, for a historical market-data tool with no annotations, the description leaves gaps around data recency, limits, and response shape that an agent would benefit from knowing.

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 schema already explains date, limit, symbol, sort_by, and sort_order in detail. The only addition in the description is the phrase 'with sorting capabilities', which vaguely signals the sort parameters but adds no semantics beyond the schema; baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Get historical options chain data') scoped to a stock, which cleanly separates it from siblings like get-stock-quote and get-time-series. It does not explicitly name a sibling or contrast with one, but no other sibling covers options chains, so an agent can identify it.

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

Usage Guidelines2/5

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

There is no when-to-use, when-not-to-use, or prerequisite guidance in the description. An agent gets no hint about choosing this over get-stock-quote for present-day data, nor about the historical/date constraints that matter for calling it correctly.

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