Skip to main content
Glama
mz462

stock-research-mcp

by mz462

get_historical_prices

Need historical stock prices? Retrieve OHLCV candles by specifying ticker, timeframe, and interval to analyze past market performance and spot trends.

Instructions

Get historical price data for a stock.

Args: ticker: Stock symbol (e.g., 'AAPL', 'MSFT') timeframe: Time range - '1D', '1W', '1M', '3M', '1Y', '5Y' interval: Data interval - '1min', '5min', '15min', '30min', '60min', '1day'

Returns: Historical OHLCV data as a list of candles.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYes
intervalNo1day
timeframeNo1M

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full behavioral burden. It discloses the return shape as 'a list of candles' and implies a read-only operation via 'Get', but it does not mention ordering, adjustment, timezone handling, pagination, or rate limits. This is adequate for a simple historical data fetch but not richly transparent.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description opens with a concise purpose statement and then uses compact Args/Returns blocks. Every line carries useful information, and no filler or redundant phrasing is present.

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

Completeness4/5

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

For a straightforward read-only historical data tool with an output schema available, the description covers purpose, all parameters, and the return format. The only notable omission is explicit guidance to use get_quote for current prices, but that is not necessary for correctly invoking this tool.

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

Parameters5/5

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

Schema description coverage is 0%, so all parameter semantics must come from the description. It defines ticker with examples, timeframe with accepted values, and interval with accepted values, fully compensating for the schema's lack of descriptive detail.

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?

The description clearly states 'Get historical price data for a stock', giving a specific verb and resource. The mention of OHLCV candles helps distinguish it from related market-data tools in the sibling list, though it doesn't explicitly name any sibling alternatives.

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?

The intended use is reasonably implied by 'historical price data' and the argument descriptions, and sibling tools like get_quote or get_technical_indicators have naturally different purposes. However, the description does not explicitly state when to use this tool versus those alternatives, nor does it mention any exclusions.

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