Skip to main content
Glama

FiveSocket MT5 MCP Server

List historical orders

list_historical_orders
Read-onlyIdempotent

Read one bounded page of raw historical MT5 orders with explicit coverage and cursor state.

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": {
      "accountId": "<accountId>",
      "query": "<query>"
    },
    "name": "list_historical_orders"
  }
}

Input Schema

NameRequiredDescriptionDefault
queryYes
accountIdYes

Output Schema

NameRequiredDescriptionDefault
dataYes
loginYes
serverYes
accountIdYes
latencyMsYes
nextCursorYes
observedAtYes
historyStateNo
historySyncedYes
settledThroughNo
serverClockOffsetSourceNo
serverClockOffsetSecondsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds that reads are bounded pages and that coverage plus cursor state are explicit, which is useful but vague; it does not disclose page size limits, cursor lifetime, or what happens when a window is unbounded.

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 front-loaded sentence with no wasted words. It is efficient, though the closing phrase 'explicit coverage and cursor state' is jargon-heavy and could be sharper.

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?

An output schema exists, so return values need not be explained. However, for a tool with a nested query object and several undocumented parameters, the description leaves the agent without guidance on sibling selection or on the semantics of limit, cursor, and requireSynced.

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 reported at 0%, so the description must carry the load, and it does not. It never mentions accountId, limit (max 200), cursor, or requireSynced, and 'cursor state' is the only gesture toward parameter meaning.

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

Purpose4/5

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

The description names a specific verb and resource: read one bounded page of raw historical MT5 orders. The word 'orders' implicitly distinguishes it from siblings like list_deals and list_closed_trades, but it never explicitly states how it differs from those adjacent tools.

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?

No when-to-use guidance is given. The phrase 'explicit coverage and cursor state' hints at windowed reads but does not say when an agent should pick this over list_deals, list_closed_trades, or export_history_page, nor does it state prerequisites or exclusions.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.