Skip to main content
Glama
laxmimerit

Yahoo Finance MCP Server

by laxmimerit

get_recommendations

Retrieve analyst recommendations and upgrade/downgrade history for a stock ticker, with optional months-back filter to adjust the time range.

Instructions

Get recommendations or upgrades/downgrades for a given ticker symbol from yahoo finance. You can also specify the number of months back to get upgrades/downgrades for, default is 12.

Args: ticker: str The ticker symbol of the stock to get recommendations for, e.g. "AAPL" recommendation_type: str The type of recommendation to get. You can choose from the following recommendation types: recommendations, upgrades_downgrades. months_back: int The number of months back to get upgrades/downgrades for, default is 12.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes
months_backNo
recommendation_typeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses the default for months_back and the two recommendation types, which is useful. However, it does not mention read-only status, rate limits, or error handling, leaving behavioral transparency partial.

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 well-structured: a concise introductory sentence followed by an Args block. While redundant in repeating parameter names from the schema, the added explanations are essential given zero schema coverage. No unnecessary filler is present.

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?

The tool has an output schema, so return values need no description. Input parameters are thoroughly covered. The only gap is ambiguity about whether months_back applies to both recommendation types or only upgrades_downgrades, but overall the tool is well specified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the Args section fully compensates. Each parameter is explained with purpose and examples ('AAPL' for ticker), allowed values for recommendation_type are listed, and months_back has its default clarified.

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 fetches recommendations or upgrades/downgrades for a given ticker from Yahoo Finance, using the specific verb 'Get' and naming the resource. It explicitly lists two recommendation types, distinguishing the tool from siblings like get_stock_info or get_stock_actions.

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

Usage Guidelines3/5

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

The description implies usage whenever recommendation data is needed, but does not explicitly contrast with sibling tools or state when not to use it. It provides parameter-level guidance (e.g., months_back default) but lacks explicit 'use this when' or alternative tool recommendations.

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/laxmimerit/yahoo-finance-mcp-server'

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