Skip to main content
Glama
simoneb

directa-mcp

by simoneb

get_candle_data_range

Read-onlyIdempotent

Retrieve OHLC candle data for any symbol over a specified date range, with adjustable period intervals from minutes to days. Ideal for historical price analysis and backtesting.

Instructions

Get OHLC candles within an explicit range. Dates as YYYYMMDDHHMMSS (e.g. 20260810093000); period_seconds sets the bucket (60=1min, 300=5min, 3600=1hr, 86400=1day). Needs the real-time quote entitlement.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
end_dateYes
start_dateYes
period_secondsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, and destructiveHint, so the safety profile is covered. The description adds valuable context about the required entitlement and the exact date/period formats, which are behavioral requirements not inferable from annotations.

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, front-loaded with the main purpose, and every clause adds useful information. No redundancy or filler.

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 data retrieval tool with an output schema and good annotations, the description provides all necessary operational details: parameter formats, period options, and entitlement requirement. Complete and sufficient.

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 description coverage is 0%, but the description compensates by explaining the date format with an example and mapping period_seconds values (60=1min, etc.). Symbol is self-explanatory, so the main non-obvious parameters are well described.

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 'Get OHLC candles within an explicit range', which is a specific verb+resource+scope. It distinguishes from siblings like get_daily_candles and get_intraday_candles by emphasizing the explicit range and configurable period_seconds.

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?

The description gives clear context: it is for fetching OHLC data in a specified range with a chosen bucket size. It also notes the real-time quote entitlement prerequisite. However, it does not explicitly mention alternatives or when not to use this tool, so it falls short of a 5.

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/simoneb/directa-mcp'

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