Skip to main content
Glama
benethos-hub

Yahoo Finance MCP Server

by benethos-hub

get_earnings

Retrieve upcoming and historical earnings data for a Yahoo Finance stock symbol, including EPS estimates, reported EPS, and surprise percentages.

Instructions

Get upcoming and historical earnings 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. Returns the earnings calendar (upcoming and past dates with EPS estimate, reported EPS, and surprise %) plus the recent earnings history. Equity-only; empty for ETFs, funds, and crypto.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of earnings rows to return.
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.

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 behavioral burden. It discloses return contents, edge cases (empty for non-equities), and input constraints. It could mention error behavior or rate limits, but for a read-only data tool, the provided transparency is above average.

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 concise and front-loaded with the core purpose. Each sentence provides distinct value: purpose, symbol constraints, return details, and equity-only limitation. No fluff or repetition.

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 rich input schema and presence of an output schema, the description covers all necessary context: usage constraints, return contents, and exclusions. It is complete for an earnings retrieval tool.

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?

The input schema already provides 100% coverage with detailed descriptions for both parameters. The description reinforces the symbol format rules but adds no new meaning for 'limit'. Per the baseline for high schema coverage, a score of 3 is appropriate.

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's purpose: 'Get upcoming and historical earnings for a Yahoo symbol.' It further specifies the exact data returned (earnings calendar with EPS estimate, reported EPS, surprise %) and recent earnings history, making it distinct from siblings like get_estimates or get_calendar.

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

Usage Guidelines4/5

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

The description provides practical usage guidance: symbols must be native Yahoo tickers (not ISIN/WKN/name), resolve via search first, and it's equity-only (empty for ETFs, funds, crypto). It lacks explicit naming of alternative tools for non-earnings data, but the context is clear and includes exclusions.

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