Skip to main content
Glama

Stocklake — AI Stock Intelligence

Get Analyst Trend

get_analyst_trend
Read-onlyIdempotent

How analyst consensus on a stock has moved over time - the trajectory of the rating and price targets, not just today's value. Answers "are analysts getting more or less bullish on this name?", which get_stock's single current analyst_rating / analyst_target cannot.

Returns one row per day, oldest to newest, up to days (max 365, default 90):

  • date: YYYY-MM-DD

  • analyst_rating: consensus label (strong_buy/buy/hold/underperform/sell/strong_sell) or null

  • analyst_rating_score: numeric consensus, 1.0 (strong buy) to 5.0 (sell)

    • LOWER is more bullish. The same scale as get_stock's analyst_rating_score.

  • analyst_count: number of analysts contributing

  • analyst_target: mean price target

  • analyst_target_high / analyst_target_low / analyst_target_median: target spread

  • price: the stock's price on the snapshot date, so the target can be read against where the stock actually traded

Snapshots are taken once per weekday, so a 90-day window is roughly 60 rows. A field is null on a day where the source reported none - analyst_rating in particular can be null on a day when the price targets are present. A weekday can be missing entirely if the daily snapshot did not run; such days are not reconstructed, the date is simply absent. Coverage: most of the tracked universe has a usable history; a symbol with fewer than 2 snapshots returns an empty snapshots list with a note rather than a single stranded point. History begins July 2026 and grows daily.

For the current analyst view alone, get_stock is enough. For price/indicator history, see get_indicator_history - this tool is analyst consensus only.

Pro tier only. For informational purposes only. Not financial advice.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of days of daily analyst snapshots to return (max 365, default 90). Returns an empty list with a note if fewer than 2 snapshots exist in the window.
symbolYesStock ticker symbol. Also accepts a company name as a fallback when it uniquely resolves to one symbol.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources