Skip to main content
Glama
market-research-mcp

market-research-mcp

get_price_history

Retrieve daily OHLCV price bars plus adjusted close for a US ticker from a single named price provider, optionally limited to a date range and number of most recent bars.

Instructions

Daily price bars (OHLCV plus adjusted close) for a US ticker from one price provider.

Only interval "1d" is supported. Dates are YYYY-MM-DD. Returns at most `limit` most recent
bars in the range. The response names the provider; there is no fallback to another one.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "ticker": "<ticker>"
    },
    "name": "get_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
limitNo
startNo
tickerYes
intervalNo1d

Output Schema

NameRequiredDescriptionDefault
barsYes
as_ofYes
limitYes
notesNo
staleNo
sourceYes
tickerYes
intervalYes
providerYes
truncatedNo
source_urlYes
retrieved_atYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/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 does disclose real behavior: single-provider sourcing with no fallback, the response naming the provider, hard truncation to the `limit` most recent bars, and daily-only granularity. It omits error behavior for invalid tickers, timezone/session semantics, and whether missing bars are dropped or padded.

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?

Three short sentences, front-loaded with what the tool returns before the constraints. No filler, though the trailing clause about provider fallback could be folded more tightly into the first sentence.

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

Completeness3/5

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

For a 5-parameter tool with 0% schema description coverage, no annotations, and only an output schema to lean on, the description covers the essentials but leaves default/null resolution for start and end, limit bounds, and range-inversion behavior undocumented. It is callable but not fully specified.

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 coverage is 0%, so the description must compensate. It adds meaning for four of five params: date format for start/end, '1d' only for interval, 'at most `limit` most recent bars' for limit, and US-only scope for ticker. It never explains what null start/end defaults to, whether limit has a maximum, or the ordering of returned bars.

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?

States a specific verb+resource+shape: 'Daily price bars (OHLCV plus adjusted close) for a US ticker from one price provider.' That is far more precise than the name alone and scopes it to US tickers and daily granularity. It never names the nearest sibling (get_price_stats), so the differentiation is only implied.

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 rules out things ('Only interval "1d" is supported', 'no fallback to another one'), which usefully prevents wrong calls. But it gives no positive guidance on when to pick this over get_price_stats or get_macro_series, and no prerequisites such as whether the ticker must be resolved first via resolve_ticker.

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