Skip to main content
Glama
lkcair

yfinance-ai MCP server

by lkcair

get_upgrades_downgrades

Read-onlyIdempotent

Fetch recent analyst upgrades and downgrades by ticker, showing firm, action, and grade changes to track rating shifts over time.

Instructions

Get detailed analyst upgrades and downgrades history.

Args: ticker: Stock ticker symbol limit: Maximum number of rating changes to return (default 20)

Returns: Recent analyst rating changes including firm, action, and grade changes

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
tickerYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered without the description. The description adds a brief note on returned content (firm, action, grade changes) but discloses no data-source, coverage-window, or rate-limit behavior beyond the annotations.

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?

Front-loaded with the core purpose, then Args/Returns sections. It is efficient, though the Returns block partly restates what the existing output schema already conveys.

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?

For a two-parameter read tool with an output schema and full annotation coverage, the description is sufficient to invoke it. The remaining gap is guidance on choosing this endpoint over the other analyst siblings, which the description never addresses.

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

Parameters4/5

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

Schema description coverage is 0%, so the description carries the param burden. It does this adequately: ticker is described as a stock ticker symbol and limit as the maximum number of rating changes with a default of 20, adding the semantic meaning the schema lacks.

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: retrieving analyst upgrades/downgrades history. It is clearly distinct from non-analyst siblings, but it does not differentiate itself from the closely related get_analyst_estimates, get_analyst_price_targets, and get_analyst_recommendations tools that an agent must choose between.

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 explicit when-to-use, when-not-to-use, or alternative-selection guidance. The presence of four sibling analyst tools makes this omission meaningful, since an agent cannot tell from the description which analyst endpoint answers which question.

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