Skip to main content
Glama

Stocklake — AI Stock Intelligence

Get Stock Price History

get_stock_history
Read-onlyIdempotent

Daily OHLCV price history for a stock.

  • days: number of trading days to return (default 90). Guest/free: max 365. Pro: full history, up to 20,000 trading days (most established names go back decades; a full pull can be ~10,000+ bars, so request only what you need).

  • Returns: { symbol, days_requested, days_returned, count, history[], history_available: { bars, earliest_date } } - days_returned/count can be less than days_requested if less history exists. When a guest/free caller asks for more than 365 days the response is capped at 365 and carries a pro_unlocks note saying what Pro adds.

  • Per bar: date, open, high, low, close, volume

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
daysNoNumber of trading days of daily OHLCV history to return (default 90). Max 365 for guest and free; Pro can request the full history (up to 20,000 trading days). A full-history call can be ~10,000+ bars - prefer a narrower window unless you need it all. days_returned/count in the response can be less than this if less history exists.
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.

  1. Changed2 schema fields changed
    • addedInput schema / properties / days / description
      Added value: +"Number of trading days of daily OHLCV history to return (default 90, max 365). days_returned/count in the response can be less than this if less history exists."
    • addedInput schema / properties / symbol / description
      Added value: +"Stock ticker symbol. Also accepts a company name as a fallback when it uniquely resolves to one symbol."
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources