Skip to main content
Glama

Equibles-only: stored OHLCV history, not a live quote

stock_price_history

Retrieve stored OHLCV price history for US-listed tickers using symbol, optional date range, interval, and bar limit; returns provider-tagged historical bars, not live quotes.

Instructions

Read stored Equibles OHLCV with an API key, never as a live quote.

Args: symbol: US-listed ticker. limit: Bar count, clamped to 1 through 500. start_date: Optional inclusive ISO session-date filter. end_date: Optional inclusive ISO session-date filter. interval: daily, weekly or monthly.

Returns: Envelope with the complete provider price_history block. Its stored adjustment and currency semantics are not combined with other feeds.

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": {
      "symbol": "<symbol>"
    },
    "name": "stock_price_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
symbolYes
end_dateNo
intervalNodaily
start_dateNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.2.0

TDQS

A3.8/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 reasonably well: it discloses the API-key prerequisite, that data is stored rather than live, that the limit is clamped to 1-500, and a notable caveat that stored adjustment and currency semantics are not combined with other feeds. It doesn't say what happens on missing/unknown symbols or how stale the stored bars may be.

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?

The Args/Returns layout is front-loaded and scannable, with one clause per parameter and no filler. The 'Returns' paragraph is slightly abstract ('complete provider price_history block') but still earns its place by flagging the adjustment/currency caveat.

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?

For a 5-parameter read tool with an output schema (so return shape needn't be spelled out), the definition covers scope, constraints, and provider caveats adequately. The main residual gap is lack of explicit guidance on when to prefer stock_prices versus this 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?

Schema coverage is 0%, so the description must compensate and largely does: it defines symbol as a US-listed ticker, gives the valid interval values (daily/weekly/monthly) that are absent from the schema, and specifies inclusive ISO session-date semantics for both date filters plus the 1-500 clamp. Only minor gaps remain, such as an ISO date format example and a note on ordering when dates conflict with limit.

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 ('Read stored Equibles OHLCV') plus the qualifier 'never as a live quote', which cleanly separates it from quote tools like stock_quote. It does not name the sibling it complements nor explicitly contrast with stock_prices, so it falls short of full sibling differentiation.

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 'never as a live quote' framing implicitly routes live-quote requests elsewhere, and the API-key requirement is stated. However, there is no explicit 'use X for current prices' sentence and no stated exclusions such as symbol coverage limits beyond 'US-listed'.

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