Skip to main content
Glama
mukul8896

trading-mcp-server

by mukul8896

fetch_historical_data

Retrieve historical OHLCV candle data for any symbol with configurable timeframe, date range, and maximum rows. Supports minute, hour, and day intervals.

Instructions

Historical OHLCV candles. timeframe: ONE_MINUTE|FIVE_MINUTE|FIFTEEN_MINUTE| THIRTY_MINUTE|ONE_HOUR|ONE_DAY. Dates ISO format (optional).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
symbolYes
timeframeNoONE_DAY
start_dateNo
end_dateNo
max_rowsNo
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions returning OHLCV candles and optional date ranges but omits important traits such as max_rows limit, data ordering, handling of out-of-range dates, or whether results are inclusive of start/end dates. This is insufficient for safe tool invocation.

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?

The description is very concise, using two simple sentences. It front-loads the purpose and then lists key details. While it omits some information, the structure is efficient and easy to parse, making it appropriate for quick comprehension.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has 5 parameters, no output schema, and a large sibling group, the description lacks completeness. It does not mention output format, pagination, or max_rows behavior. Additionally, it fails to differentiate itself from similar data-fetching siblings, leaving the agent with gaps in understanding.

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 0%, so the description must add meaning. It explains timeframe values and date format for start_date/end_date, which helps. However, it does not describe the 'symbol' parameter's expected format or 'max_rows' default/limit, leaving some ambiguity. The description adds value but is incomplete.

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 clearly states 'Historical OHLCV candles,' which conveys the core function of retrieving historical price data. It lists timeframe options and date format, further clarifying what data is available. However, it does not explicitly differentiate from sibling tools like fetch_live_price, though 'historical' implies non-real-time data.

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 description specifies valid timeframe values and ISO date format, providing some guidance on parameter usage. It does not, however, explain when to use this tool over siblings such as fetch_live_price or fetch_symbol_metadata, nor does it mention prerequisites or typical use cases.

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/mukul8896/trading-mcp-server'

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