Skip to main content
Glama

QuantGeeks GEX

Price bars

quantgeeks_get_price_bars
Read-onlyIdempotent

Requires a QuantGeeks plan; not available without signing in (the call asks the user to sign in) or with a free account (the call says it needs a plan). Price bars, newest last, at most 100: by default 5-minute bars for the session (today or date), or daily bars when days is more than 1 or interval is D. interval is 1m, 5m, 15m or D; limit (1 to 100) keeps the newest bars; days (up to 250) sets the daily window. The reply gives from, to, returned and available so you can page by date, and latest (the last price, its time and basis, as quantgeeks_get_last_price gives it).

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": "quantgeeks_get_price_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoSession date, YYYY-MM-DD (US Eastern). Default: the most recent regular session.
daysNoDaily window in days (more than 1 selects daily bars).
limitNoHow many of the newest bars (default and maximum 100).
symbolYesTicker, e.g. SPX (maps to its 0DTE option root SPXW), SPY, QQQ, VIX.
intervalNo1m, 5m, 15m or D. Default 5m (D when days > 1).

Output Schema

NameRequiredDescriptionDefault
toYes
barsYes
fromYes
noteNo
as_ofYes
staleNo
accessYes
latestNo
noticeYes
sourceYes
symbolYes
accountNo
previewYes
intervalYes
pro_planNo
returnedYes
availableYes
truncatedNo
stale_age_sNo
truncated_moreNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / stale
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / stale_age_s
      Added value: +{
      +  "type": "number"
      +}
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive behavior, so the safety profile is covered. The description adds genuinely new context beyond them: the plan/sign-in requirement and the two distinct failure messages, the newest-last ordering, the 100-bar ceiling, and the presence of `from`/`to`/`returned`/`available` for date paging. That is well above the annotation bar, though it does not say what `available` counts or how paging interacts with the 100 limit.

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?

One dense paragraph with no filler; the access gate and the 100-bar cap lead, followed by defaults and return shape. It is a single run-on sentence chain, which makes it harder to scan than a short bulleted structure would be, but nothing is redundant.

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-only, single-symbol bar fetcher with a fully documented schema, an output schema, and rich annotations, the description covers access requirements, defaults, limits, and paging fields. An agent has everything needed to choose parameters and interpret the response without a trial call.

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 description coverage is 100%, so the baseline is 3 and the schema already explains all five parameters. The description adds the useful cross-parameter rule that `days` > 1 switches the default interval to D, and that `limit` retains the newest bars. Otherwise it largely restates the schema's own bounds (1–100, up to 250).

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 names a concrete resource (price bars for a symbol), states ordering ('newest last'), a hard cap ('at most 100'), and the default granularity (5-minute bars for the session). It also distinguishes itself implicitly from quantgeeks_get_last_price by noting the reply's `latest` field gives the same data. It stops short of 5 because it never says what a 'bar' contains (OHLC vs. close only), leaving the core payload slightly underspecified.

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?

Usage context is clear: intraday bars by default, daily bars when `days` > 1 or interval is D, and the auth/plan gate is called out up front so an agent knows when the call will fail. It also hints that a separate quantgeeks_get_last_price call is unnecessary. There are no explicit 'do not use this when…' exclusions against siblings such as node history or an option chain.

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