Skip to main content
Glama
benethos-hub

Yahoo Finance MCP Server

by benethos-hub

get_options

Fetch option chains for a Yahoo Finance symbol. Use without an expiration date to see available dates, or provide one to get calls and puts.

Instructions

Get the option chain for a Yahoo symbol.

symbol must be a native Yahoo Finance ticker (e.g. AAPL, SAP.DE), never an ISIN, WKN, or company name; resolve those via search first. 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.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYesA native Yahoo Finance ticker symbol, e.g. 'AAPL', 'MSFT', 'SAP.DE', or 'BMW.DE'. This is NOT an ISIN, a WKN, or a company name, and must NOT be built by appending an exchange suffix to an ISIN (e.g. 'US0378331005.DE' is invalid). If you only have a name or ISIN, call the 'search' tool first and pass the 'symbol' value it returns.
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?

With no annotations, the description carries the full transparency burden. It clearly discloses two distinct behaviors (listing expirations vs. returning the option chain) and the strict symbol format requirement, including a prohibition on ISIN/WKN/company names. It stops short of explicitly stating read-only behavior or error handling, but the provided context is substantial.

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 a compact three-sentence paragraph, front-loaded with the core purpose. Each sentence adds a necessary usage or constraint detail, with no filler or redundancy.

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

Completeness5/5

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

Given the tool's modest complexity (two parameters, one required), the high schema coverage, and the presence of an output schema, the description fully covers what an agent needs to invoke it correctly: symbol resolution, expiration behavior, and the two invocation modes. No meaningful gaps remain.

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% for both parameters, and the description largely repeats the schema's own parameter documentation (e.g., 'YYYY-MM-DD', 'from that list', 'resolve via search'). It adds no new semantic details beyond what the schema already provides, so it meets the baseline but does not elevate it.

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 opens with a specific verb+resource: 'Get the option chain for a Yahoo symbol.' It further specifies that it returns 'calls and puts' with a given expiration, clearly distinguishing it from sibling tools like get_quote, get_history, and get_estimates.

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 gives explicit when-to-use instructions: call without expiration to list available dates, then call with expiration for the actual chain. It also directs users to resolve ISIN/WKN/company names via the 'search' tool first, naming an alternative tool for a prerequisite step.

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