Skip to main content
Glama
schwab-mcp

schwab-mcp

by HGZ-20

Get Option Chain

get_option_chain
Read-onlyIdempotent

Fetches real-time option chains with calls, puts, strikes, bid/ask, implied volatility, open interest, and Greeks for a ticker, with filters for expiration, moneyness, and strategy.

Instructions

Fetch real-time option chain (calls/puts, strikes, bid/ask, IV, OI, Greeks).

Args: symbol: Underlying ticker (e.g. 'NVDA', 'SPY'). contract_type: 'ALL', 'CALL', or 'PUT'. strike_count: Strikes above and below ATM (default 8). range_filter: 'ALL', 'ITM', 'NTM', 'OTM', 'SAK', 'SBK', 'SNK'. from_date: Filter expirations from YYYY-MM-DD. to_date: Filter expirations up to YYYY-MM-DD. strike: Optional single strike price filter. strategy: 'SINGLE', 'ANALYTICAL', 'COVERED', 'VERTICAL', 'CALENDAR', 'STRANGLE', 'STRADDLE', etc. include_underlying_quote: Include underlying spot quote. compact: Return clean contract summaries (default True) or full raw Schwab JSON.

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_option_chain"
  }
}

Input Schema

NameRequiredDescriptionDefault
strikeNo
symbolYes
compactNo
to_dateNo
strategyNoSINGLE
from_dateNo
range_filterNoALL
strike_countNo
contract_typeNoALL
include_underlying_quoteNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.5/5.0
Behavior3/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 two genuinely useful notes beyond that: the data is real-time, and 'compact' toggles between clean contract summaries and full raw Schwab JSON. It omits notable operational context such as rate limits on a market-data endpoint, which matters for a 10-parameter chain fetch.

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?

A single front-loaded sentence states purpose and payload, followed by a tight, uniformly formatted Args block. Each line maps to exactly one parameter and no sentence is redundant.

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?

Output schema exists, so the description needn't explain return values, and the annotations cover the read-only safety profile. All ten parameters are addressed, which is strong for a tool of this complexity. The remaining shortfall is the unresolved enum vocabulary and absent guidance on filter interaction (e.g., how strike, strike_count and range_filter combine).

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 description coverage is 0%, so the description carries the full burden and largely meets it: all ten parameters get plain-language meaning, defaults are restated with rationale (strike_count 8 = strikes above/below ATM), and date formats are shown (YYYY-MM-DD). It loses a point because the enum values are sloppily specified — 'SAK', 'SBK', 'SNK' are unexplained codes and the strategy list trails off into 'etc.', leaving the agent unsure of valid input.

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?

The opening sentence gives a specific verb ('Fetch') and resource ('real-time option chain') and even enumerates the data fields returned (calls/puts, strikes, bid/ask, IV, OI, Greeks). It is clearly distinguishable from a sibling like get_option_expirations, though it never explicitly states that distinction, so it falls short of a 5.

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?

The description never says when to reach for this tool versus alternatives such as get_option_expirations (to discover expirations) or get_quotes (for spot data), nor does it describe prerequisites like authentication or a required prior step. Usage is only inferable from the parameter list, leaving the agent to guess at workflow ordering.

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