Skip to main content
Glama

get_ohlc_quotes

Retrieve OHLC quotes for up to 1,000 instruments at daily, 1-minute, or 30-minute intervals for market analysis and trading decisions.

Instructions

OHLC quotes for up to 1000 instruments (v3). interval: 1d (default), I1 (1-minute) or I30 (30-minute).

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": {
      "instrument_keys": "<instrument_keys>"
    },
    "name": "get_ohlc_quotes"
  }
}

Input Schema

NameRequiredDescriptionDefault
intervalNoOHLC interval1d
instrument_keysYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full disclosure burden. It repeats the batch cap and default interval from the schema but says nothing about data freshness, market-hours behavior, entitlement/auth requirements, or response shape, all of which matter for a market-data read.

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?

Two tight sentences, front-loaded with the resource and scope, with no filler. The '(v3)' token is minor noise but consistent with an API version concept the agent may need.

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?

With no annotations and no output schema, the description should carry more: what fields an OHLC quote returns, whether it is a snapshot or a series, and freshness expectations are all absent. It covers the input surface adequately but leaves the return contract entirely unspecified.

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 50%: the interval enum has its own description but instrument_keys is undocumented in both schema and description. The description does add real meaning by expanding I1 and I30 into 1-minute and 30-minute, which the enum values alone would not convey, so it earns above baseline but leaves the required array unexplained.

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 pair (OHLC quotes) plus scope (up to 1000 instruments) and a version marker (v3), so the agent knows exactly what data comes back. It does not differentiate itself from plausible siblings such as get_historical_candles or get_intraday_candles, which is the only thing keeping it from a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance, and no named alternative for overlapping needs like intraday candles or full quotes. The interval list hints at intraday vs daily use, but the agent must infer the selection criteria itself.

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