Skip to main content
Glama
gtc-fx-mcp

gtc-fx-mcp

by DevDengChao

gtc_list_closed_trades

Read-onlyIdempotent

Retrieve closed trades for a GTC Go trading account within a specified date range, with pagination and optional position filtering.

Instructions

List closed trades for a GTC Go trading account.

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": "<account>",
      "serverId": "<serverId>",
      "from": "<from>",
      "to": "<to>"
    },
    "name": "gtc_list_closed_trades"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesEnd time with timezone
fromYesStart time with timezone
pageNo
accountYesGTC Go trading account number
pageSizeNo
serverIdYes
positionIdNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is fully covered. The description adds nothing beyond that: no indication that a date range is mandatory, no pagination behavior, no note on result ordering or what a 'closed trade' contains.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with zero filler, but it is under-specified rather than efficient — the brevity leaves required inputs and filtering options unexplained.

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

Completeness2/5

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

With 7 parameters, 4 of them required, no output schema, and a mandatory time window, this tool needs a description covering required inputs and pagination. The one-line description leaves an agent without enough information to call it correctly on first attempt.

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 coverage is only 43% (account, from, to documented; serverId, page, pageSize and positionId undocumented). The description names the account context but never mentions the required from/to window or the presence of pagination controls, so it fails to compensate for the coverage gap.

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?

States a specific verb and resource ("List closed trades") plus a scope constraint (a GTC Go trading account), which distinguishes it from position-listing or activity-listing siblings. It stops short of naming an alternative for open vs. closed trades, so differentiation is only implied by the word "closed".

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, no exclusions, and no pointer to alternatives such as activity or position listings. An agent must guess whether closed trades are also covered by gtc_list_activities.

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