Skip to main content
Glama

KeyVex

get_daily_prices

Read-only

Returns daily end-of-day closing-price history for one US-listed ticker (stocks, ETFs, mutual funds — including delisted tickers, so historical analysis is survivorship-bias-free). Coverage extends back as far as 1962 for the oldest names, subject to plan history limits. PAID PLANS ONLY. Each row: date, close (as-traded), adj_close (split+dividend adjusted — use THIS for charts and return calculations), div_cash (dividend with that ex-date), split_factor (e.g. 4 = 4:1 split that session). include_ohlc=true adds the session's open / high / low / volume and their adjusted variants — the day's RANGE, which is what a stop or a target is actually tested against. On weekly/monthly these are aggregated over the period (first open, highest high, lowest low, summed volume), not the last session's values. Omit the flag and the response is unchanged. The full requested window returns in ONE call — no pagination. For multi-year ranges prefer frequency='weekly' or 'monthly' (last bar per period; dividends summed, split factors compounded) to keep responses compact: 10 years daily ≈ 2,500 rows vs ~120 monthly. One call = one ticker. Compare securities with multiple calls. Close Prices from Tiingo.com.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sinceNoISO date YYYY-MM-DD inclusive. Default: earliest your plan allows.
untilNoISO date YYYY-MM-DD inclusive. Default: latest available.
tickerYesTicker symbol, e.g. 'AAPL', 'SPY', 'BRK-B' (hyphen for share classes).
frequencyNoDownsampling. Default daily. Use weekly/monthly for multi-year charts.
include_ohlcNoAdd open/high/low/volume (+ adjusted variants) to each row. Default false. Aggregated per period on weekly/monthly.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag readOnly/openWorld/non-destructive, and the description layers on genuinely useful behavior: paid-plan gating, no pagination (full window in one call), survivorship-bias-free coverage back to 1962, weekly/monthly aggregation semantics (first open, highest high, lowest low, summed volume), and the Tiingo data source.

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?

Front-loaded with the core purpose and scope, and each sentence carries information an agent needs (coverage, plan gating, row schema, flag behavior, pagination). Dense but not padded; slightly long, so not a clean 5.

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?

For a read tool with no output schema, the description effectively documents the returned row fields and their adjusted variants, coverage limits, and aggregation behavior, leaving nothing material an agent would need before calling it.

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 coverage is 100%, so baseline is 3. The description goes further, explaining what adj_close is for ('use THIS for charts and return calculations'), that div_cash is tied to the ex-date, and how include_ohlc aggregates on weekly/monthly—interpretation the schema alone doesn't convey.

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?

States a specific verb and resource ('returns daily end-of-day closing-price history for one US-listed ticker') plus the instrument scope (stocks, ETFs, mutual funds, delisted names). This cleanly separates it from intraday quote, fundamentals, and holdings siblings without ambiguity.

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?

Gives concrete when-to-use guidance: prefer frequency='weekly'/'monthly' for multi-year ranges, and 'one call = one ticker, compare with multiple calls.' It states the PAID PLANS ONLY prerequisite. It stops short of naming specific sibling tools to prefer over this one (e.g. intraday vs daily), so 4 rather than 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.

Resources