Skip to main content
Glama
fritzprix

yfin-mcp

by fritzprix

get_recommendations

Retrieve stock recommendations and upgrades/downgrades for any ticker from Yahoo Finance, with configurable lookback period.

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
recommendation_typeYes
months_backNo
pageNo
export_pathNo
Behavior2/5

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

No annotations provided, so description carries full burden. Mentions source (Yahoo Finance) but lacks disclosure on data freshness, rate limits, error handling, or safe mutation behavior (likely read-only but not stated).

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?

Description is clear and includes an 'Args' section for structure. It is front-loaded with purpose, but could be trimmed by removing redundant phrasing (e.g., 'from yahoo finance' in both sentences).

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

Completeness2/5

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

With 5 parameters, no output schema, and no annotations, the description should be comprehensive. Missing documentation for 2 parameters and does not explain return format or behavior. Incomplete for a data lookup tool.

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

Parameters2/5

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

Schema coverage is 0%, so description must add meaning. It explains 'ticker', 'recommendation_type', and 'months_back', but 'page' and 'export_path' are completely undocumented. Partial value but significant gap.

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?

Clearly states it gets recommendations/upgrades_downgrades for a ticker from Yahoo Finance. However, it does not differentiate from sibling tools like 'get_stock_actions' which might also provide similar data.

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?

Provides some guidance on the 'months_back' parameter and default, but no explicit when-to-use or when-not-to-use compared to other tools. Usage context is implied but not explicitly stated.

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

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