Skip to main content
Glama

SiftingIO market data (x402)

Historical commodity OHLC bars (gzip required)

get_commodity_bars
Read-only

Historical gold, silver, platinum, palladium, oil, natural gas and copper prices: OHLC candles for XAUUSD, XAGUSD, XPTUSD, XPDUSD, USOUSD (WTI), NATGAS, XCUUSD, 1-minute to monthly intervals, up to 2,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": {
      "symbol": "<symbol>",
      "start": "<start>"
    },
    "name": "get_commodity_bars"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoInclusive upper bound. Default now.
limitNo
orderNoSort direction by time. `asc` (default) returns oldest→newest. `desc` returns newest→oldest and anchors the first page at the most recent bar, so fetching the latest N costs one request instead of paging the whole window. Supported on commodities and forex only; other historical routes are ascending-only.asc
startYesInclusive lower bound (YYYY-MM-DD or RFC3339). Required.
cursorNoOpaque pagination cursor from a previous response's `meta.next_cursor`.
symbolYesCommodity code (4-12 upper alphanumerics), e.g. `XAUUSD`, `XCUUSD`.
intervalNoBar interval. Default 1m. Full set: intraday (1m–1h), `1d` (daily candle with a true session boundary), `1w` (Monday-aligned), and `1mo` (calendar month), all aggregated from 1-minute history.1m

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint, so the description usefully adds that results are capped at 2,000 rows per call and paginated, that each call costs $0.01 USDC via x402 on Base, and that failed calls are not charged — meaningful billing and failure semantics. The one notable omission is the gzip requirement, which appears in the title but is never explained in the description.

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 sentences, front-loaded with the resource and symbols, followed by the cost model. The long symbol and interval enumerations are dense but each element is load-bearing; nothing is redundant.

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 7-parameter, read-only, paginated data tool with no output schema, the description covers cost, pagination, and row caps adequately. The remaining gap is the unexplained 'gzip required' in the title and no note on response metadata (meta.next_cursor) referenced by the cursor param.

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 86%, and the schema already documents interval enums, order direction, cursor, and the 2,000-row limit. The description's interval and row-limit mentions restate schema content rather than adding format detail, so the baseline 3 is appropriate.

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?

States a concrete resource and output shape: 'Historical gold, silver, platinum, palladium, oil, natural gas and copper prices: OHLC candles' for named symbols, with interval range spelled out. The commodity scope and symbol list (XAUUSD, NATGAS, XCUUSD) make it separable from sibling bar tools like get_forex_bars and get_crypto_bars without opening a 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?

The symbol set implies which asset class to use it for, and the pagination/cost notes hint at operational context, but there is no explicit when-to-use versus when-not guidance or named alternative. An agent must infer from symbol codes that forex/crypto bars live elsewhere.

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