Skip to main content
Glama
Yahoo Finance MCP Server

Yahoo Finance MCP Server

by everdeep

get_analyst_recommendations

Retrieve historical analyst ratings (buy, sell, hold) for a stock ticker to assess market sentiment and inform investment decisions.

Instructions

Get analyst recommendations history (buy, sell, hold ratings).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker": "<ticker>"
    },
    "name": "get_analyst_recommendations"
  }
}

Input Schema

NameRequiredDescriptionDefault
tickerYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. It does disclose the content of the result (buy/sell/hold ratings over time) and "Get" signals a read-only operation, but it says nothing about how far back the history goes, how many analysts are covered, or data-source/latency traits. Since an output schema exists, the return structure itself need not be restated.

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?

A single, front-loaded sentence with no filler; the parenthetical earns its place by enumerating rating types. It is efficient, though the extreme brevity is part of why other dimensions are underspecified.

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

Completeness3/5

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

The tool is simple (one required parameter, output schema present, no nested objects), so the description is close to adequate for identification purposes. However, with zero annotation coverage and no schema descriptions, it leaves the ticker format and historical scope undocumented, which a caller genuinely needs.

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 description coverage is 0% and the description adds no information about the single parameter. It never states that ticker is required, nor what format is expected (e.g., "AAPL" vs "NASDAQ:AAPL"), even though format mistakes are the most common failure mode for ticker-taking tools.

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?

States a specific verb and resource ("Get analyst recommendations history") and clarifies the content with the parenthetical "(buy, sell, hold ratings)". This distinguishes it reasonably well from get_analyst_price_targets and get_upgrades_downgrades, though it does not explicitly name those siblings.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no mention of when to prefer get_upgrades_downgrades or get_analyst_price_targets, and no stated prerequisites or exclusions. The word "history" hints at retrospective data, but the agent must infer the selection criteria entirely.

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