Skip to main content
Glama

EA Trade Tester by TrueTest

Check a trading record (MT4/MT5 report, statement or CSV)

check_trading_record
Read-onlyIdempotent

Judges whether a finished trading record's results look real or like luck: reads the trades, applies a luck test that allows for the number of versions tried, checks costs, losing years and grid/martingale signs, and returns a verdict (REAL / PROMISING / LIKELY_LUCK / NO_EVIDENCE / FAIL / HIDDEN_RISK / TOO_FEW) with its reason. Use it for a record of trades already taken or backtested; for strategy code or written rules use test_strategy_code. Nothing is stored: the record is read as data, never run, and discarded after the answer.

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": {
      "record_text": "<record_text>"
    },
    "name": "check_trading_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoOptional name of the strategy or EA
filenameNoThe file's name, e.g. ReportTester.html or trades.csv (helps read the format)trades.csv
is_forwardNoTrue if every trade in the record was taken after the strategy was fixed (a forward or live record)
record_textYesText of an MT4 or MT5 Strategy Tester report (HTML), an MT4/MT5 account statement (HTML), a cTrader, NinjaTrader, TradingView ('List of trades') or Myfxbook CSV export, or any CSV of closed trades (close time + profit); under about 700 KB through this connector; for a bigger file, ask the user to upload it at https://truetest.uk/strategy and give you the assistant code shown with the result, then call get_record_check
versions_triedNoHow many versions, settings or EAs were tried before this one, as stated by the user (it raises the luck bar)

Output Schema

NameRequiredDescriptionDefault
lastYes
moreYes
noteYes
readNowhat was read from the record (trades, net, dates, currency, rows left out)
firstYes
reasonYes
tradesYes
summaryYes
verdictYes
luck_barYes
next_stepNo
worst_dayNoinfo only: the largest daily loss, for scale (never a verdict input)
trade_daysYes
good_pointsNowhat the record does well; it follows the verdict and its reason
losing_yearsYes
luck_counterNo
concentrationNoinfo only: how much of the profit the best few trades made (left out for results stored before 17 Nov 2026)
evidence_scopeNowhat the verdict shows and what it does not show
versions_triedYes
t_day_clusteredNoleft out when the record has no spread of results to measure
hidden_risk_foundYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • addedOutput schema / $defs / Concentration
      Added value: +{
      +  "description": "sales_blockers_a2 item 3: the judge's stored concentration (how much of the profit the best few trades made)",
      +  "properties": {
      +    "avg_without": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "the average result of all the other trades (left out when there are none)",
      +      "title": "Avg Without"
      +    },
      +    "k": {
      +      "description": "how many of the best trades are counted",
      +      "title": "K",
      +      "type": "integer"
      +    },
      +    "share": {
      +      "anyOf": [
      +        {
      +          "type": "number"
      +        },
      +        {
      +          "type": "null"
      +        }
      +      ],
      +      "default": null,
      +      "description": "the part of the total profit those best trades made (left out when the total is 0 or below)",
      +      "title": "Share"
      +    }
      +  },
      +  "required": [
      +    "k"
      +  ],
      +  "title": "Concentration",
      +  "type": "object"
      +}
    • addedOutput schema / $defs / RecordRead / properties / open_drop
      Added value: +{
      +  "default": "",
      +  "description": "the worst drop with open trades counted, beside the closed-trade drop, else \"\"",
      +  "title": "Open Drop",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / RecordRead / properties / quality
      Added value: +{
      +  "default": "",
      +  "description": "how the tester made its prices, from the report's own header, else \"\"",
      +  "title": "Quality",
      +  "type": "string"
      +}
    • addedOutput schema / $defs / RecordRead / properties / quality_caution
      Added value: +{
      +  "default": "",
      +  "description": "a warning when the tester made up most of the prices, else \"\"",
      +  "title": "Quality Caution",
      +  "type": "string"
      +}
    • addedOutput schema / properties / concentration
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/Concentration"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "info only: how much of the profit the best few trades made (left out for results stored before 17 Nov 2026)"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / record_text / description
      Previous value: -"Text of an MT5 Strategy Tester report (HTML), an MT4/MT5 account statement (HTML), a cTrader, NinjaTrader, TradingView ('List of trades') or Myfxbook CSV export, or any CSV of closed trades (close time + profit); under 1 MB"New value: +"Text of an MT4 or MT5 Strategy Tester report (HTML), an MT4/MT5 account statement (HTML), a cTrader, NinjaTrader, TradingView ('List of trades') or Myfxbook CSV export, or any CSV of closed trades (close time + profit); under about 700 KB through this connector; for a bigger file, ask the user to upload it at https://truetest.uk/strategy and give you the assistant code shown with the result, then call get_record_check"
  3. Changed2 schema fields changed
    • addedOutput schema / $defs / RecordRead
      Added value: +{
      +  "description": "upload-formats council 3 (11 Nov 2026, item 7): the same \"what we read\" block the website shows, so the assistant can check the\nrecord is the user's before trusting the verdict. Nothing from the file's own text",
      +  "properties": {
      +    "currency": {
      +      "description": "the account currency where the file states it (a 3-letter code), else \"\"; amounts are never converted",
      +      "title": "Currency",
      +      "type": "string"
      +    },
      +    "date_order": {
      +      "description": "day/month or month/day when the file's dates were slash or dot dates, else \"\"",
      +      "title": "Date Order",
      +      "type": "string"
      +    },
      +    "first": {
      +      "description": "the first close date read (yyyy-mm-dd)",
      +      "title": "First",
      +      "type": "string"
      +    },
      +    "kind": {
      +      "description": "the kind of record read (\"\" when not known)",
      +      "title": "Kind",
      +      "type": "string"
      +    },
      +    "language": {
      +      "description": "the MT5 report language read, else \"\"",
      +      "title": "Language",
      +      "type": "string"
      +    },
      +    "last": {
      +      "description": "the last close date read (yyyy-mm-dd)",
      +      "title": "Last",
      +      "type": "string"
      +    },
      +    "net": {
      +      "description": "their total profit after costs, in the account currency",
      +      "title": "Net",
      +      "type": "number"
      +    },
      +    "net_check": {
      +      "description": "the balance check of a translated MT5 report, else \"\"",
      +      "title": "Net Check",
      +      "type": "string"
      +    },
      +    "note": {
      +      "description": "a fact about the record's costs (for example fees the export leaves out), else \"\"",
      +      "title": "Note",
      +      "type": "string"
      +    },
      +    "parser": {
      +      "description": "the reader version that read the record",
      +      "title": "Parser",
      +      "type": "string"
      +    },
      +    "skipped": {
      +      "description": "rows left out and why, with their line numbers; \"\" when none",
      +      "title": "Skipped",
      +      "type": "string"
      +    },
      +    "time_zone": {
      +      "description": "the time zone the export states, else \"\"",
      +      "title": "Time Zone",
      +      "type": "string"
      +    },
      +    "trades": {
      +      "description": "closed trades read",
      +      "title": "Trades",
      +      "type": "integer"
      +    }
      +  },
      +  "required": [
      +    "trades",
      +    "net",
      +    "first",
      +    "last",
      +    "kind",
      +    "date_order",
      +    "skipped",
      +    "time_zone",
      +    "language",
      +    "net_check",
      +    "currency",
      +    "parser",
      +    "note"
      +  ],
      +  "title": "RecordRead",
      +  "type": "object"
      +}
    • addedOutput schema / properties / read
      Added value: +{
      +  "anyOf": [
      +    {
      +      "$ref": "#/$defs/RecordRead"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "what was read from the record (trades, net, dates, currency, rows left out)"
      +}
  4. Changed6 schema fields changed
    • changedOutput schema / $defs / EvidenceScope / properties / does_not_show / description
      Previous value: -"what it does not cover; tell the user both"New value: +"what the verdict does not cover (shown together with shows)"
    • changedOutput schema / $defs / GoodPoints / properties / context / description
      Previous value: -"say this first: the points are true facts from the record and do not change the verdict"New value: +"the points are true facts from the record and do not change the verdict"
    • changedOutput schema / $defs / GoodPoints / properties / points / description
      Previous value: -"up to 3 things the record does well, computed from its trades; give them AFTER the verdict, never alone"New value: +"up to 3 things the record does well, computed from its trades; they come after the verdict and never replace it"
    • changedOutput schema / $defs / GoodPoints / properties / what_if_note / description
      Previous value: -"always give this with the what-if"New value: +"the condition that belongs with the what-if"
    • changedOutput schema / properties / evidence_scope / description
      Previous value: -"what the verdict shows and does not show; tell the user both"New value: +"what the verdict shows and what it does not show"
    • changedOutput schema / properties / good_points / description
      Previous value: -"what the record does well, after the verdict and its reason; never on its own"New value: +"what the record does well; it follows the verdict and its reason"
  5. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description adds genuinely new behavioral context: the record is read as data, never executed, nothing is stored, and the input is discarded after the answer. It also discloses the internal procedure (luck test adjusted for versions tried, cost checks, losing years, grid/martingale detection), which tells the agent what signals drive the verdict.

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?

Two sentences, front-loaded with the judgment verb and the resource before any procedural detail. The long parenthetical verdict list is dense but earns its place since it is the tool's primary output vocabulary; only minor compression is possible.

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?

For a read-only single-input analyzer with an output schema already covering return shape, the description supplies everything needed: what it judges, the verdict set, the routing alternative, and the data-handling guarantee. No gap remains that would cause a misinvocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the schema itself documents the 700 KB limit and the get_record_check escalation path, so the description need not repeat it. The description does add meaning by tying versions_tried into the analysis logic ("a luck test that allows for the number of versions tried"), clarifying why the agent should ask the user for that number rather than leave the default.

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?

Opens with a specific verb and resource ("Judges whether a finished trading record's results look real or like luck") and enumerates the exact verdict vocabulary the tool returns, so the agent knows precisely what it produces. It also names the sibling it is not (test_strategy_code), making it distinguishable without opening either schema.

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

Usage Guidelines5/5

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

Gives an explicit inclusion rule ("a record of trades already taken or backtested") and an explicit exclusion with the alternative to use instead ("for strategy code or written rules use test_strategy_code"). The routing decision is fully determined from the description alone.

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.