Skip to main content
Glama

Rule-Based Trade Grade (alias)

council_grade
Read-onlyIdempotent

FREE rule-based trade grade. Trade postmortem & MFE/MAE excursion expectancy analyzer: scores entry/exit efficiency, stop-loss placement vs empirical symbol ATR/MFE/MAE benchmarks, R-multiple capture, and rule compliance (rollover window, stop floor, time-stop) using fixed rules (no AI model calls). Informational only, not financial advice.

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": {
      "symbol": "<symbol>",
      "side": "<side>",
      "entry_price": "<entry_price>"
    },
    "name": "council_grade"
  }
}

Input Schema

NameRequiredDescriptionDefault
lotsNoPosition size in lots (optional)
sideYesTrade direction: buy/long or sell/short
symbolYesInstrument symbol, e.g. JP225, NAS100, US30, SPX500, DE30, XAUUSD, EURUSD, GBPUSD, USDJPY, AUS200
bars_heldNoNumber of bars held (optional)
stop_lossNoInitial stop-loss price (optional)
exit_priceNoRealized exit fill price (optional)
mae_pointsNoMaximum Adverse Excursion in points (optional)
mfe_pointsNoMaximum Favorable Excursion in points (optional)
entry_priceYesEntry fill price
take_profitNoInitial take-profit price (optional)
account_sizeNoAccount equity in USD for risk-% check (optional)
minutes_heldNoDuration held in minutes (optional)
stop_distanceNoInitial stop distance in price points (optional alternative to stop_loss)
entry_utc_hourNoUTC hour of entry 0-23 (optional; checks rollover/reset toxicity)
low_water_priceNoLowest price reached while trade was open (optional)
high_water_priceNoHighest price reached while trade was open (optional)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuinely useful non-schema context — deterministic "fixed rules (no AI model calls)", "FREE", and the informational/no-advice stance — but it never says how partial inputs degrade the grade or what the response looks like, which matters for a 16-parameter tool with no output schema.

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?

The leading sentence is well front-loaded, but the remainder is a single dense colon-list heavy with jargon (MFE/MAE, R-multiple capture, stop floor) that an agent must parse in one pass. For a tool with 16 parameters, bullet-style or check-by-check structure would have been more scannable; nothing is strictly wasted, but the density costs readability.

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 16-parameter analytical tool with no output schema, the description should convey what comes back (grade scale, sub-scores, verdict) and how missing optional inputs are handled. It covers the analysis dimensions well but leaves the return shape and input-degradation behavior entirely undisclosed, which is a material gap given there is no structured output definition to lean on.

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%, so the baseline is 3, and the description earns above that by tying parameter groups to specific checks: rollover-window toxicity maps to `entry_utc_hour`, stop placement to `stop_loss`/`stop_distance` against ATR/MFE/MAE benchmarks, and time-stop compliance to `minutes_held`/`bars_held`. It stops short of clarifying the `stop_loss` vs `stop_distance` precedence or the relationship between `low_water_price`/`high_water_price` and `mae_points`/`mfe_points`.

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 states a concrete verb and resource ("rule-based trade grade", scoring entry/exit efficiency, stop placement, R-multiples, rule compliance) and enumerates the analytics performed, so an agent knows exactly what the tool computes. It does not, however, differentiate itself from the sibling `trade_postmortem`, which the description's own phrase "Trade postmortem & ... analyzer" seems to overlap with, leaving some ambiguity about which one to pick.

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?

Usage is only implied by the post-trade analysis framing; there is no statement of when to call this versus `trade_postmortem`, no note that at least entry/exit and stop data are needed for the meaningful checks, and no explanation of what happens when the 13 optional fields are omitted. The only explicit qualifier is "informational only, not financial advice", which is a disclaimer rather than selection guidance.

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.