Skip to main content
Glama

Stock Market Data MCP

Price History

price_history

Get OHLCV price history for a ticker — open/high/low/close/volume bars over a window, for charting, backtesting, and technical analysis.

PAID: $0.01 USDC per query after a daily free allowance. On a 402, pay the returned Solana memo and re-call with the SAME args plus payment_tx=. An Authorization: Bearer fnet_ key bypasses payment.

Input Schema

NameRequiredDescriptionDefault
periodNo1d,5d,1mo,3mo,6mo,1y,2y,5y,10y,ytd,max (default "6mo").6mo
tickerYesstock symbol, e.g. "AAPL".
agent_idNostable id for your agent (scopes the free-tier counter).
intervalNo1m,5m,15m,1h,1d,1wk,1mo (default "1d").1d
payment_txNoSolana tx signature, when re-calling after a 402.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and usefully discloses payment behavior: $0.01 USDC per query after a daily free allowance, the 402 payment flow, re-calling with the same args plus payment_tx, and Bearer key bypass. It does not explicitly state read-only/safety semantics, but the payment and auth behavior are substantially clarified.

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 front-loaded with purpose and intended use cases, then concisely explains payment mechanics. Every sentence serves a clear operational or selection purpose, with no redundant filler.

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

Completeness5/5

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

Given the absence of annotations, five parameters, full schema descriptions, and an output schema, the description supplies the necessary missing operational context: what it returns, when it is useful, and exactly how to handle payment. Nothing critical for correct invocation is omitted.

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?

Schema description coverage is 100%, so the schema already documents ticker, period, interval, agent_id, and payment_tx. The description adds workflow semantics for payment_tx by specifying that the re-call must use the same arguments plus the payment signature, which is useful beyond the schema.

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 uses a specific verb and resource: 'Get OHLCV price history for a ticker', and clarifies the output shape via 'open/high/low/close/volume bars over a window'. It does not explicitly distinguish this from sibling tools like quote or options_chain, but the OHLCV historical-bar scope is clear.

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?

It names intended use cases such as charting, backtesting, and technical analysis, which implies when to use it. However, it gives no explicit when-not-to-use guidance or alternative tool routing against siblings such as quote.

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.