Skip to main content
Glama

AIsa Finance

Get historical stock price data

get_financial_prices
Read-onlyIdempotent

Historical OHLCV bars for one stock. All four of ticker, interval, start_date and end_date are required — there is no trailing-window shortcut. interval is one of day, week, month or year. Each bar carries open, close, high, low, volume and time, wrapped in a prices array alongside the echoed ticker. Use it to chart or to measure a move across a known window. For just the latest price use get_financial_prices_snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tickerYesThe stock ticker symbol (e.g. AAPL, MSFT).
end_dateYesThe end date for the price data (format: YYYY-MM-DD).
intervalYesThe time interval for the price data.
start_dateYesThe start date for the price data (format: YYYY-MM-DD).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

The annotations already establish a safe read-only, idempotent operation. The description adds useful behavioral context beyond that: all four inputs are mandatory, there is no shortcut, and the response is wrapped in a `prices` array with an echoed `ticker`. Minor gaps remain, such as date-inclusivity, timezone handling, or market-adjustment policy, but these are secondary for a read-only OHLCV tool with an output schema.

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?

Four sentences, each earning its place: purpose, parameter constraints, response shape, and usage routing. The most important information is front-loaded, and there is no filler or redundant expansion beyond what is needed.

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?

Given the full input schema, output schema, and annotations, the description is nearly complete for both selection and invocation. It covers required parameters, response format, and sibling routing. A small gap is the lack of explicit date-boundary behavior (e.g., whether start and end dates are inclusive, timezone assumed), which could matter when measuring a move across a known window, but this is minor and does not block correct tool selection.

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

Parameters3/5

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

Schema description coverage is 100% and every parameter already has a clear description, including the interval enum and date format. The description repeats that all parameters are required and enumerates interval values, but does not add meaning beyond the schema, such as inclusive/exclusive date semantics or how intervals map to bar boundaries. Baseline 3 is appropriate.

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 opening line, 'Historical OHLCV bars for one stock', states a specific verb-resource pair and scope. It further distinguishes itself from `get_financial_prices_snapshot` by contrasting historical bars with the latest price, and mentions the response fields, leaving no ambiguity about what the tool returns.

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

Usage Guidelines5/5

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

The description explicitly says when to use it: 'Use it to chart or to measure a move across a known window.' It also gives an exclusion and alternative: 'For just the latest price use get_financial_prices_snapshot.' It additionally warns that all four parameters are required with no trailing-window shortcut, preventing an agent from making an invalid invocation.

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.

Resources