Skip to main content
Glama
alikhande70

metatrader5-mcp

by alikhande70

get_rates

Retrieve historical OHLCV price bars for any symbol and timeframe from MetaTrader 5. Control the number of bars and starting index.

Instructions

Get OHLCV bars for symbol on timeframe (e.g. M1, M15, H1, H4, D1).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
countNo
symbolYes
start_posNo
timeframeYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations provided. Description only mentions output format (OHLCV bars) but no behavioral traits like rate limits, data depth, or side effects. With zero annotation coverage, description carries full burden but lacks detail.

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?

Single sentence, efficient, front-loaded with verb and resource. No redundant words.

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?

Missing parameter details for count and start_pos, no usage guidelines, and limited behavioral transparency. Output schema exists but does not compensate for the gaps in the description.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Description only covers symbol and timeframe with examples, but fails to explain count and start_pos. Schema description coverage is 0%, so description must compensate, which it does not. Two parameters are left undocumented.

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?

Description clearly states the verb 'Get' and resource 'OHLCV bars' with parameters symbol and timeframe. It distinguishes from sibling tools which focus on analysis, orders, and account info.

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?

Provides examples of timeframes but no explicit when-to-use vs alternatives, no when-not or exclusions. Context implies basic data retrieval, but more guidance would help.

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/alikhande70/metatrader5-mcp'

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