Skip to main content
Glama
Yumin-Kim

HTS MetaTrader5 Trading MCP

by Yumin-Kim

open_order

Open a new trading order (market or pending) with support for BUY/SELL and limit/stop types, including optional stop loss and take profit.

Instructions

Open a new trading order (market or pending). Order types explained:

  • BUY/SELL: Market orders execute immediately at current price

  • BUY_LIMIT: Buy BELOW current price (buy when price drops)

  • SELL_LIMIT: Sell ABOVE current price (sell when price rises)

  • BUY_STOP: Buy ABOVE current price (buy on breakout up)

  • SELL_STOP: Sell BELOW current price (sell on breakdown) IMPORTANT: For SELL_STOP, price must be BELOW current market price. (새로운 거래 주문을 생성합니다. SELL_STOP은 현재가 아래에 설정해야 합니다.)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
slNoStop Loss price (optional)
tpNoTake Profit price (optional)
typeYesOrder type: - BUY: Market buy (immediate execution at current ASK price) - SELL: Market sell (immediate execution at current BID price) - BUY_LIMIT: Pending buy order BELOW current price (buy when price drops to limit) - SELL_LIMIT: Pending sell order ABOVE current price (sell when price rises to limit) - BUY_STOP: Pending buy order ABOVE current price (buy when price breaks above stop) - SELL_STOP: Pending sell order BELOW current price (sell when price breaks below stop) Example: Current XAUUSD price=2700. BUY_LIMIT at 2695 (buy if drops), SELL_STOP at 2695 (sell if drops)
magicNoMagic number for order identification (optional)
priceNoPrice for pending orders (required for LIMIT/STOP orders). Not used for market BUY/SELL
symbolYesTrading symbol (e.g., XAUUSD, EURUSD)
volumeYesOrder volume in lots (e.g., 0.01, 0.1, 1.0)
commentNoOrder comment (optional)
Behavior3/5

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

No annotations are provided, so the description carries the full burden. It explains execution behavior (immediate vs pending) and highlights the SELL_STOP constraint, which is useful. Yet it omits side effects (e.g., margin requirements), error conditions, and what the tool returns on success or failure.

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 well-structured with a bulleted list that makes order types scannable. It front-loads the purpose and includes a Korean translation, though it duplicates schema content and the translation is extraneous for many users. Overall, it's efficient but slightly repetitive.

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

Completeness3/5

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

With 8 parameters, no output schema, and no annotations, the description should provide more operational context. It covers order type semantics well but lacks return value details, error behavior, and prerequisites like account status or margin. The schema handles parameter explanations, so the description could have enriched the context further.

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 description coverage is 100%, so the description doesn't need to explain parameters. It adds a bit by emphasizing the SELL_STOP rule, but the rest of the order type details are already in the schema's type description. The description provides minimal added semantic value beyond the schema.

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 'Open a new trading order (market or pending)' with a specific verb and resource. It distinguishes itself from siblings like cancel_order, modify_order, and close_position by focusing on creation, and the order type list further clarifies the scope.

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 opening line clearly indicates when to use this tool (to open a new order), and the order type explanations help choose the right type. However, it does not explicitly state alternatives for modifying or canceling existing orders, though the sibling names make this obvious.

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/Yumin-Kim/hts-mcp-server'

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