Skip to main content
Glama
benethos-hub

Yahoo Finance MCP Server

by benethos-hub

get_options

Retrieve option chains for a US-listed symbol. List available expiration dates or fetch calls and puts for a specific date.

Instructions

Get the option chain for a Yahoo symbol.

Call without expiration to list available expiration dates. Call with an expiration (YYYY-MM-DD from that list) to get the calls and puts for that date. Yahoo carries chains for US-listed instruments only, so a non-US symbol has none and that says nothing about the symbol.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesA Yahoo ticker or an ISIN, e.g. 'AAPL', 'SAP.DE' or 'US0378331005'. For a company name, use 'search' first.
expirationNoExpiration date 'YYYY-MM-DD' from the list returned when called without it. Omit to list available expiration dates.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations are provided, so the description bears full burden for behavioral context. It discloses that Yahoo only carries chains for US-listed instruments and that a non-US symbol yielding nothing is normal behavior. It could further describe mutability (likely read-only) but the current detail is strong given the absence of annotations.

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?

The description is three sentences, each contributing unique information: mode of operation, date format, and limitation. It is front-loaded with the core purpose. The slightly informal style ('that says nothing about the symbol') is acceptable but could be tightened without losing meaning.

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?

Given the tool has an output schema and 100% parameter coverage, the description adequately covers behavioral context. It explains the two-step workflow and the US-instrument limitation, which is crucial for correct use. It could mention that the output is a list of options or dates, but the output schema likely handles that.

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 baseline is 3. The description adds modest value by explaining the interaction pattern for expiration but does not introduce meaning beyond the schema's documentation. For example, it doesn't clarify whether symbol must be a Yahoo ticker vs ISIN in the description text itself.

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 clearly states the tool retrieves the option chain for a Yahoo symbol, distinguishing it from siblings like get_quote or get_history. It specifies the two modes of operation (listing expiration dates or fetching calls/puts) and provides context about coverage limitations, making the purpose precise and unique.

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

Usage Guidelines5/5

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

The description provides explicit guidance on when to use the tool: call without expiration to list available dates, then call with a specific expiration from that list. It also tells the agent when not to use it (non-US symbols will return nothing and that doesn't indicate issues) and implicitly distinguishes from financial data tools like get_fund_data.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/benethos-hub/yahoo-finance-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server