Skip to main content
Glama
florinel-chis

oanda-mcp

list_open_trades

Read-only

Fetch all open positions on your OANDA account with trade details: instrument, entry price, units, unrealized P/L, and attached orders.

Instructions

List every open trade on the configured account.

Returns {"trades": [...], "lastTransactionID": "..."} with the same trade shape as list_trades: id, instrument, price (entry fill, decimal string), openTime (RFC3339), currentUnits (decimal string; positive = long, negative = short), unrealizedPL and marginUsed (decimal strings in the home currency), and any attached takeProfitOrder, stopLossOrder, or trailingStopLossOrder.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMaximum number of trades to return.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior5/5

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

Beyond the readOnlyHint annotation, the description provides rich behavioral detail: the exact response structure, field types, decimal string representations, sign conventions for currentUnits, and attached order fields. This goes well beyond what annotations alone convey.

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 compact yet information-dense. The first sentence states the core purpose, and the second sentence efficiently conveys the return shape and field semantics. Every word earns its place, with no filler or repetition.

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 simplicity (one optional parameter, no nested objects), the description fully covers what the tool does, what it returns, and the format of returned values. The presence of an output schema further reduces the need for return-value enumeration, making this description complete.

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 schema already fully documents the single parameter (limit) with a clear description ('Maximum number of trades to return.'). The tool description adds no additional meaning about the parameter, so the baseline score of 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 starts with a specific verb ('List') and resource ('every open trade on the configured account'), clearly distinguishing it from sibling tools like list_trades or list_open_positions. The scope is unambiguous and immediately understandable.

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 tool's purpose is clear from the name and first sentence, implying use when open trades are needed. However, it does not explicitly contrast itself with alternatives like list_trades or mention when not to use it, so it lacks explicit exclusion 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