Skip to main content
Glama
GlacianNex

stockdata-mcp

by GlacianNex

fmp_historical_prices

Retrieve historical open, high, low, close, and volume data for stocks, indices, crypto, and FX pairs. Specify date range and interval for daily or intraday bars.

Instructions

Historical OHLCV data.

Args: symbol: Ticker, index (^GSPC), crypto (BTCUSD) or FX pair (EURUSD). from_date: Start date, YYYY-MM-DD. Strongly recommended — without it you get the full history, which is large. to_date: End date, YYYY-MM-DD. interval: "1day" for end-of-day, otherwise an intraday bar size. full: For daily data, include change/VWAP columns rather than the light form.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fullNo
symbolYes
to_dateNo
intervalNo1day
from_dateNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior3/5

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

With no annotations, the description carries the transparency burden. It discloses a key behavior: omitting from_date returns the full history, which is 'large'. However, it does not mention rate limits, pagination, error handling, or output size limits. The warning adds value but leaves other potential side-effects undisclosed.

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 is a compact docstring with a one-line summary and a clean Args list. Each parameter gets a single line with essential details. No redundant sentences; every clause provides 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?

With an output schema present, the description does not need to detail return values. It covers core behavior (OHLCV, intervals, symbol types) and the full-flag variation. It lacks edge-case guidance (e.g., date range validation) but is adequate for a data-retrieval tool.

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?

Despite 0% schema description coverage, the description explains all 5 parameters: symbol Types, date format, interval enumeration, and the full flag's effect on columns. It adds meaningful context (e.g., from_date warning) beyond the bare schema titles, compensating well for the lack of schema 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 'Historical OHLCV data' with specific resource types (ticker, index, crypto, FX pair). It distinguishes from siblings like fmp_dividends and fmp_earnings by focusing on price data. The verb is implicit ('retrieve') but the intent is unambiguous.

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 description explains symbol types and interval options but does not explicitly state when to use this tool versus alternatives like fmp_quote for current prices or fmp_technical_indicator for derived data. There is no exclusion or alternative naming, leaving usage context implicit.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/GlacianNex/stockdata-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server