Skip to main content
Glama

US Stocks & Market Data

get_historical_stock_prices

Read-onlyIdempotent

[US Stock Info] Get historical stock prices for a given ticker symbol. Include the following information: Date, Open, High, Low, Close, Volume, Adj Close. Args: ticker: str The ticker symbol of the stock to get historical prices for, e.g. "AAPL" period : str Valid periods: 1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max Either Use period parameter or use start and end Default is "1mo" interval : str Valid intervals: 1m,2m,5m,15m,30m,60m,90m,1h,1d,5d,1wk,1mo,3mo Intraday data cannot extend last 60 days Default is "1d"

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo1mo
tickerYes
intervalNo1d

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already define this as readOnly, idempotent, and non-destructive, so the description doesn't need to repeat those. It adds the intraday 60-day limitation and default values, which are useful, but it does not disclose other behavioral aspects like data source, rate limits, or error conditions. The additional context is modest, so a mid-range score is appropriate.

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?

The description is front-loaded with a clear purpose sentence and then structured as an Args list. It is concise and every section provides necessary detail without excessive verbosity. The only minor redundancy is listing the output fields, which may be covered by the output schema, but it still adds value.

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 read-only tool with an output schema, the description covers key invocation details: ticker example, period and interval valid values with defaults, and a critical data constraint. However, the unsupported 'start and end' mention and lack of error conditions or date format specifics leave some gaps. Overall, it is reasonably complete for typical use.

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?

Given 0% schema description coverage, the description carries full responsibility for parameter meaning. It thoroughly documents ticker, period, and interval with valid values, defaults, and constraints. However, it references 'start and end' parameters that are not present in the schema, which could confuse an agent. Despite this flaw, it compensates well for the schema's lack of descriptions.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states 'Get historical stock prices for a given ticker symbol' with a specific verb and resource. It lists the data fields returned, distinguishing it from sibling tools like news, statements, recommendations, or overview. The tool's purpose is unambiguous and specific.

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

Usage Guidelines4/5

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

The description gives clear context for when to use the tool (when historical stock prices are needed) and provides parameter usage instructions, including valid periods, intervals, and the constraint that intraday data cannot extend beyond 60 days. However, it does not explicitly mention alternatives or when not to use it, so it falls short of a 5.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

TDQS

A4.3/5.0
Disambiguation5/5

Each tool provides a distinct type of stock data: news, financial statements, historical prices, market overview, recommendations, and stock info. There is no functional overlap between them; the purpose of each is clear and mutually exclusive.

Naming Consistency5/5

All tool names follow the consistent get_ verb prefix followed by a descriptive resource, such as get_finance_news and get_historical_stock_prices. The naming pattern is uniform and predictable across the entire set.

Tool Count5/5

With six tools, the server is well-scoped for stock and market data retrieval. Each tool covers a major data category without unnecessary duplication, making the count appropriate and manageable.

Completeness4/5

The tool set covers key stock data needs including news, financial statements, historical prices, market overview, recommendations, and stock summaries. Missing features like direct quote or sector performance are minor and can be worked around with existing tools.

Resources