Skip to main content
Glama
SiftingIO

siftingio-mcp

Official

Forex OHLC bars

forex_bars
Read-only

Retrieve historical OHLC bars for any 6-character forex pair. Supports custom time ranges and intervals, with pagination for large datasets.

Instructions

Fetch historical OHLC bars for a 6-character FX pair (e.g. EURUSD) over a time range at a chosen interval (default 1m); volume is always 0 for OTC spot forex. Large ranges are size-capped (watch for the _truncated note) — narrow the range or paginate with cursor/limit. For the current rate use last_quote.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
endNoInclusive upper bound. Default: now.
pairYes6-character FX pair, e.g. EURUSD.
limitNoPage size.
startYesInclusive lower bound, YYYY-MM-DD or RFC3339 (UTC). Required.
cursorNoOpaque pagination cursor.
intervalNoBar interval. Default 1m.
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the agent knows it's a read operation. The description adds behavioral context: volume is always 0 for OTC spot forex, and that large ranges may be truncated with a note. This goes beyond annotations without contradiction.

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?

The description is two sentences long, front-loaded with the main action and key constraints. Every sentence provides essential information without redundancy or fluff.

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?

No output schema exists, so the description must cover what is returned. It mentions OHLC bars and the _truncated note for large ranges. It also explains volume behavior. With 6 parameters and 2 required, the description covers core aspects adequately, though it doesn't detail the exact bar structure (e.g., fields returned). Still, it is sufficient for an experienced agent.

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 100%, so the schema defines all parameters. The description adds meaning: explains the default interval ('default 1m'), specifies pair format ('6-character FX pair'), and clarifies pagination mechanism ('paginate with cursor/limit'). This adds value over bare schema.

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 clearly states it fetches historical OHLC bars for a 6-character FX pair, specifying pair format, time range, and interval. It distinguishes from sibling tool last_quote by stating 'For the current rate use last_quote.' This provides a specific verb+resource with scope.

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

Usage Guidelines5/5

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

The description explicitly tells when to use this tool (historical bars) and when not ('for the current rate use last_quote'). It provides guidance on handling large ranges: 'Large ranges are size-capped (watch for the _truncated note) — narrow the range or paginate with cursor/limit.' This is clear and actionable.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/SiftingIO/siftingio-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server