Skip to main content
Glama

SiftingIO market data (x402)

Historical stock OHLCV bars (gzip required)

get_stock_bars
Read-only

Historical US stock prices: OHLCV candles for US-listed tickers such as AAPL, TSLA and NVDA, regular session, as-traded (not split-adjusted), 1-minute to monthly intervals, up to 1,000 rows per call, paginated. Costs $0.01 USDC per call, paid with x402 on Base; failed calls are not charged.

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_stock_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoInclusive upper bound. Default now.
limitNo
startNoInclusive lower bound (YYYY-MM-DD or RFC3339).
cursorNoOpaque pagination cursor from a previous response's `meta.next_cursor`.
tickerYesUS equity ticker (case-insensitive).
intervalNoBar interval. Default 1m. Stocks additionally support `1d`, `1w` (Monday-aligned), and `1mo` (calendar month), all aggregated from the same 1-minute history back to 2000. Prices are as-traded (not split/dividend adjusted). A `1d`/`1w`/`1mo` bar opens at midnight UTC of the period start.1m

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, and the description adds substantive context beyond them: per-call pricing of $0.01 USDC paid via x402 on Base, no charge on failed calls, a hard 1,000-row ceiling with pagination, and the important caveat that prices are as-traded rather than split/dividend adjusted. The one gap is that the title screams 'gzip required' while the description says nothing about needing to decompress responses — a required behavior for the caller.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with what the data is and scoped immediately by asset class, session and adjustment method before moving to the cost and limits. No filler, and every clause carries information an agent needs.

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 read-only, single-resource tool with no output schema, the description covers identity, scope, limits and cost adequately; the cursor field in the schema points to the `meta.next_cursor` response path. It stops short of disclosing the gzip requirement from the title, which is a real operational omission for an agent that must decompress responses.

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 83% and the schema already documents ticker, interval, start/end, limit and cursor semantics in detail, including the midnight-UTC period start. The description adds only the aggregate row cap and pagination framing, which the schema largely covers, so the baseline 3 applies.

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?

The description states a specific verb and resource — historical OHLCV candles for US-listed tickers — and scopes it precisely: regular session, as-traded (not split-adjusted), 1-minute to monthly intervals. Naming 'US-listed tickers' implicitly separates it from the crypto, forex and commodity bar siblings, so an agent can pick the right one without opening the schema.

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?

Usage is implied through the described scope (historical bars, paginated, up to 1,000 rows per call) but there is no explicit when-to-use/when-not guidance. Nothing tells the agent to prefer get_last_quote, get_last_close or get_snapshot for current prices instead of pulling historical bars, so the boundary with those siblings is left to inference.

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