Skip to main content
Glama
florinel-chis

oanda-mcp

get_latest_candles

Read-only

Retrieve the most recent candle for each requested instrument, granularity, and price side. Get OHLC data, volume, and completeness status.

Instructions

Get the most recent candle for each requested instrument/granularity.

Returns {"latest_candles": [...]} with one entry per specification: instrument, granularity, and candles — each candle carries time (RFC3339), complete (false means the candle is still forming), volume (number of price ticks), and an o/h/l/ c object per requested price side (bid/mid/ask) with prices as decimal strings.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
candle_specificationsYesCandle specifications, each formatted INSTRUMENT:GRANULARITY:PRICE, e.g. 'EUR_USD:M10:BM'. Granularity is one of S5, S10, S15, S30, M1, M2, M4, M5, M10, M15, M30, H1, H2, H3, H4, H6, H8, H12, D, W, M. Price is a combination of M (mid), B (bid), A (ask).

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=true, and the description adds useful context: it explains the 'complete' field semantics (false = still forming), that prices are decimal strings, and the structure per requested price side. This goes beyond the schema and annotations, though it does not cover rate limits or other operational traits.

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 concise and front-loaded: a single, clear purpose sentence followed by an efficient return-format example. Every sentence adds value without redundancy.

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?

Given the tool's moderate complexity, the description is complete. It details both the request shape (implicitly via schema) and response shape, including field semantics. The presence of an output schema reduces the need to explain return structure, and the description fills the remaining semantic gaps.

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?

The input schema contains a detailed description of the candle_specifications parameter, including the exact format and allowed values, so schema coverage is 100%. The tool description does not add extra parameter semantics, so 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?

The description opens with 'Get the most recent candle for each requested instrument/granularity', which is a specific verb+resource+scope. It clearly distinguishes from siblings like get_candles by focusing on 'latest' and the per-specification response structure.

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 implies usage (when you need the latest candle) but does not explicitly state when to use this tool versus alternatives like get_candles. No exclusions or comparisons are provided, so it stops at implied usage rather than clear guidance.

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/florinel-chis/oanda-mcp'

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