Skip to main content
Glama
HostMT5 MCP server

HostMT5 MCP server

trade_history

Retrieve closed deals from the last 30 days for a specified MetaTrader 5 account, including deposits, opens, closes, and profit for performance review.

Instructions

Closed deals of the last 30 days (deposits, opens, closes with profit).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "account_id": "<account_id>"
    },
    "name": "trade_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
account_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
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 does add genuine behavioral context by stating the 30-day fixed window and that only closed deals are returned, including deposits and profit — that scopes the data meaningfully. It omits anything about account isolation, ordering, pagination or result size, which matter for a history endpoint.

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?

A single short sentence with no padding, and the scoping constraint is front-loaded. Some of the brevity costs clarity, since the parenthetical is ambiguous rather than informative.

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?

For a simple read tool with no output schema, it should say something about the shape of the result (list of deals, fields, ordering) and confirm the per-account scope. It covers the temporal window and record type but stops short of these, leaving a real gap for an agent composing a call.

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?

Schema description coverage is 0% and there is one required parameter (account_id) that the description never mentions. Unlike a zero-parameter tool, the description should clarify that history is per-account, but it leaves that entirely to the bare schema title 'Account Id'.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names the resource (closed deals) and a scope (last 30 days), which lets an agent distinguish it from price_history or account_state. However, it uses no verb and the parenthetical '(deposits, opens, closes with profit)' is internally confusing — 'opens' are not closed deals — so the exact content of the result set is ambiguous.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no statement of when to use this versus other history-type siblings such as price_history or account_state, and no prerequisites or exclusions. Only the implicit 'last 30 days' framing hints at a use case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.