Skip to main content
Glama

Rafid Intelligence Network

strategy_performance_analysis

Read-onlyIdempotent

Calculate historical trade-level strategy performance metrics from supplied records, including P&L, win/loss statistics and supported drawdown metrics; this is historical analysis, not a forecast. When: Use when an agent needs deterministic historical performance analysis for a supplied trading strategy or trade set. Selection: specialized; prefer for Use when an agent needs deterministic historical performance analysis for a supplied trading strategy or trade set.. Input is a strict JSON object; see the schema. Price: $0.35 USD per call. No free preview is advertised for this capability. Full execution is paid per call via x402; an unpaid MCP call returns payment instructions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
periodNo
tradesYes
riskPerTradeNo
accountEquityNo
initialEquityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "calculationAssumptions": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "dataQuality": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "completeTradeCount": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "incompleteTradeCount": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "warnings": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "completeTradeCount",
      -          "incompleteTradeCount",
      -          "warnings"
      -        ],
      -        "type": "object"
      -      },
      -      "methodology": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "metrics": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "averageHoldingPeriodSeconds": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "averageLosingTrade": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "averageRMultiple": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "averageWinningTrade": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "bestTradingDay": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          },
      -          "breakevenTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "cumulativeReturn": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "currentDrawdown": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "expectancyPerTrade": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "grossLoss": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "grossProfit": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "largestLoser": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "largestWinner": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "losingTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "lossRate": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "maxConsecutiveLosses": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "maxConsecutiveWins": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "maximumDrawdown": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "maximumDrawdownR": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "netPnl": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "profitFactor": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "recoveryFactor": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "sharpeRatio": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "sortinoRatio": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "totalR": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "totalTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "volatility": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "winRate": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "winningTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "worstTradingDay": {
      -            "type": [
      -              "string",
      -              "null"
      -            ]
      -          }
      -        },
      -        "required": [
      -          "totalTrades",
      -          "winningTrades",
      -          "losingTrades",
      -          "breakevenTrades",
      -          "winRate",
      -          "lossRate",
      -          "grossProfit",
      -          "grossLoss",
      -          "netPnl",
      -          "averageWinningTrade",
      -          "averageLosingTrade",
      -          "largestWinner",
      -          "largestLoser",
      -          "profitFactor",
      -          "expectancyPerTrade",
      -          "averageRMultiple",
      -          "cumulativeReturn",
      -          "maximumDrawdown",
      -          "currentDrawdown",
      -          "recoveryFactor",
      -          "sharpeRatio",
      -          "sortinoRatio",
      -          "volatility",
      -          "averageHoldingPeriodSeconds",
      -          "bestTradingDay",
      -          "worstTradingDay",
      -          "maxConsecutiveWins",
      -          "maxConsecutiveLosses"
      -        ],
      -        "type": "object"
      -      },
      -      "performanceSummary": {
      -        "type": "string"
      -      },
      -      "riskFlags": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "sourceTraceability": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "notes": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "portfolioExposure": {
      -            "enum": [
      -              "GROK",
      -              "SIGNALFLOW",
      -              "MERGED",
      -              "NEW"
      -            ],
      -            "type": "string"
      -          },
      -          "strategyPerformance": {
      -            "enum": [
      -              "GROK",
      -              "SIGNALFLOW",
      -              "MERGED",
      -              "NEW"
      -            ],
      -            "type": "string"
      -          },
      -          "tradeLog": {
      -            "enum": [
      -              "GROK",
      -              "SIGNALFLOW",
      -              "MERGED",
      -              "NEW"
      -            ],
      -            "type": "string"
      -          },
      -          "tradeRisk": {
      -            "enum": [
      -              "GROK",
      -              "SIGNALFLOW",
      -              "MERGED",
      -              "NEW"
      -            ],
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "strategyPerformance",
      -          "tradeRisk",
      -          "portfolioExposure",
      -          "tradeLog",
      -          "notes"
      -        ],
      -        "type": "object"
      -      },
      -      "strengths": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "weaknesses": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "metrics",
      -      "performanceSummary",
      -      "strengths",
      -      "weaknesses",
      -      "riskFlags",
      -      "dataQuality",
      -      "calculationAssumptions"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "nextAction": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "instruction": {
      -            "type": "string"
      -          },
      -          "target": {
      -            "const": "x402_endpoint",
      -            "type": "string"
      -          },
      -          "type": {
      -            "const": "pay_and_retry",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "type",
      -          "target",
      -          "instruction"
      -        ],
      -        "type": "object"
      -      },
      -      "payment": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "endpoint": {
      -            "type": "string"
      -          },
      -          "method": {
      -            "const": "POST",
      -            "type": "string"
      -          },
      -          "retrySameBody": {
      -            "const": true,
      -            "type": "boolean"
      -          }
      -        },
      -        "required": [
      -          "endpoint",
      -          "method",
      -          "retrySameBody"
      -        ],
      -        "type": "object"
      -      },
      -      "preview": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "fullResultAvailable": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "inputAccepted": {
      -            "const": true,
      -            "type": "boolean"
      -          },
      -          "summary": {
      -            "type": "string"
      -          },
      -          "useCases": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          }
      -        },
      -        "required": [
      -          "inputAccepted",
      -          "fullResultAvailable",
      -          "summary",
      -          "useCases"
      -        ],
      -        "type": "object"
      -      },
      -      "price": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "amount": {
      -            "minimum": 0,
      -            "type": "number"
      -          },
      -          "currency": {
      -            "type": "string"
      -          },
      -          "protocol": {
      -            "const": "x402",
      -            "type": "string"
      -          }
      -        },
      -        "required": [
      -          "amount",
      -          "currency",
      -          "protocol"
      -        ],
      -        "type": "object"
      -      },
      -      "requestId": {
      -        "type": "string"
      -      },
      -      "status": {
      -        "const": "payment_required",
      -        "type": "string"
      -      },
      -      "tool": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "status",
      -      "tool",
      -      "requestId",
      -      "price",
      -      "preview",
      -      "payment",
      -      "nextAction"
      -    ],
      -    "type": "object"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "calculationAssumptions": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "dataQuality": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completeTradeCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "incompleteTradeCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "warnings": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "completeTradeCount",
      +          "incompleteTradeCount",
      +          "warnings"
      +        ],
      +        "type": "object"
      +      },
      +      "methodology": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "metrics": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "averageHoldingPeriodSeconds": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "averageLosingTrade": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "averageRMultiple": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "averageWinningTrade": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "bestTradingDay": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "breakevenTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "cumulativeReturn": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "currentDrawdown": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "expectancyPerTrade": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "grossLoss": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "grossProfit": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "largestLoser": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "largestWinner": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "losingTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "lossRate": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "maxConsecutiveLosses": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxConsecutiveWins": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maximumDrawdown": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "maximumDrawdownR": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "netPnl": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "profitFactor": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "recoveryFactor": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "sharpeRatio": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "sortinoRatio": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "totalR": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "totalTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "volatility": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "winRate": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "winningTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "worstTradingDay": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "totalTrades",
      +          "winningTrades",
      +          "losingTrades",
      +          "breakevenTrades",
      +          "winRate",
      +          "lossRate",
      +          "grossProfit",
      +          "grossLoss",
      +          "netPnl",
      +          "averageWinningTrade",
      +          "averageLosingTrade",
      +          "largestWinner",
      +          "largestLoser",
      +          "profitFactor",
      +          "expectancyPerTrade",
      +          "averageRMultiple",
      +          "cumulativeReturn",
      +          "maximumDrawdown",
      +          "currentDrawdown",
      +          "recoveryFactor",
      +          "sharpeRatio",
      +          "sortinoRatio",
      +          "volatility",
      +          "averageHoldingPeriodSeconds",
      +          "bestTradingDay",
      +          "worstTradingDay",
      +          "maxConsecutiveWins",
      +          "maxConsecutiveLosses"
      +        ],
      +        "type": "object"
      +      },
      +      "performanceSummary": {
      +        "type": "string"
      +      },
      +      "riskFlags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "sourceTraceability": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "notes": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "portfolioExposure": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          },
      +          "strategyPerformance": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          },
      +          "tradeLog": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          },
      +          "tradeRisk": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "strategyPerformance",
      +          "tradeRisk",
      +          "portfolioExposure",
      +          "tradeLog",
      +          "notes"
      +        ],
      +        "type": "object"
      +      },
      +      "strengths": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "weaknesses": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "metrics",
      +      "performanceSummary",
      +      "strengths",
      +      "weaknesses",
      +      "riskFlags",
      +      "dataQuality",
      +      "calculationAssumptions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "nextAction": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "instruction": {
      +            "type": "string"
      +          },
      +          "target": {
      +            "enum": [
      +              "x402_endpoint",
      +              "mcp_credits_endpoint",
      +              "payment_endpoint",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          },
      +          "type": {
      +            "enum": [
      +              "pay_and_retry",
      +              "authorize_and_use_mcp_credits",
      +              "payment_unavailable"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "target",
      +          "instruction"
      +        ],
      +        "type": "object"
      +      },
      +      "payment": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "endpoint": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "method": {
      +            "const": "POST",
      +            "type": "string"
      +          },
      +          "retrySameBody": {
      +            "const": true,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "endpoint",
      +          "method",
      +          "retrySameBody"
      +        ],
      +        "type": "object"
      +      },
      +      "paymentGuidance": {},
      +      "preview": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fullResultAvailable": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "inputAccepted": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "useCases": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "inputAccepted",
      +          "fullResultAvailable",
      +          "summary",
      +          "useCases"
      +        ],
      +        "type": "object"
      +      },
      +      "price": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amount": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "currency": {
      +            "type": "string"
      +          },
      +          "protocol": {
      +            "enum": [
      +              "x402",
      +              "api_credits",
      +              "subscription",
      +              "l402",
      +              "mpp",
      +              "unavailable"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "amount",
      +          "currency",
      +          "protocol"
      +        ],
      +        "type": "object"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "payment_required",
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "tool",
      +      "requestId",
      +      "price",
      +      "preview",
      +      "payment",
      +      "nextAction"
      +    ],
      +    "type": "object"
      +  }
      +]
  2. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "calculationAssumptions": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "dataQuality": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completeTradeCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "incompleteTradeCount": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "warnings": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "completeTradeCount",
      +          "incompleteTradeCount",
      +          "warnings"
      +        ],
      +        "type": "object"
      +      },
      +      "methodology": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "metrics": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "averageHoldingPeriodSeconds": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "averageLosingTrade": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "averageRMultiple": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "averageWinningTrade": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "bestTradingDay": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          },
      +          "breakevenTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "cumulativeReturn": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "currentDrawdown": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "expectancyPerTrade": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "grossLoss": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "grossProfit": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "largestLoser": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "largestWinner": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "losingTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "lossRate": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "maxConsecutiveLosses": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxConsecutiveWins": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maximumDrawdown": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "maximumDrawdownR": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "netPnl": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "profitFactor": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "recoveryFactor": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "sharpeRatio": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "sortinoRatio": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "totalR": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "totalTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "volatility": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "winRate": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "winningTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "worstTradingDay": {
      +            "type": [
      +              "string",
      +              "null"
      +            ]
      +          }
      +        },
      +        "required": [
      +          "totalTrades",
      +          "winningTrades",
      +          "losingTrades",
      +          "breakevenTrades",
      +          "winRate",
      +          "lossRate",
      +          "grossProfit",
      +          "grossLoss",
      +          "netPnl",
      +          "averageWinningTrade",
      +          "averageLosingTrade",
      +          "largestWinner",
      +          "largestLoser",
      +          "profitFactor",
      +          "expectancyPerTrade",
      +          "averageRMultiple",
      +          "cumulativeReturn",
      +          "maximumDrawdown",
      +          "currentDrawdown",
      +          "recoveryFactor",
      +          "sharpeRatio",
      +          "sortinoRatio",
      +          "volatility",
      +          "averageHoldingPeriodSeconds",
      +          "bestTradingDay",
      +          "worstTradingDay",
      +          "maxConsecutiveWins",
      +          "maxConsecutiveLosses"
      +        ],
      +        "type": "object"
      +      },
      +      "performanceSummary": {
      +        "type": "string"
      +      },
      +      "riskFlags": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "sourceTraceability": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "notes": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "portfolioExposure": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          },
      +          "strategyPerformance": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          },
      +          "tradeLog": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          },
      +          "tradeRisk": {
      +            "enum": [
      +              "GROK",
      +              "SIGNALFLOW",
      +              "MERGED",
      +              "NEW"
      +            ],
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "strategyPerformance",
      +          "tradeRisk",
      +          "portfolioExposure",
      +          "tradeLog",
      +          "notes"
      +        ],
      +        "type": "object"
      +      },
      +      "strengths": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "weaknesses": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      }
      +    },
      +    "required": [
      +      "metrics",
      +      "performanceSummary",
      +      "strengths",
      +      "weaknesses",
      +      "riskFlags",
      +      "dataQuality",
      +      "calculationAssumptions"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "nextAction": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "instruction": {
      +            "type": "string"
      +          },
      +          "target": {
      +            "const": "x402_endpoint",
      +            "type": "string"
      +          },
      +          "type": {
      +            "const": "pay_and_retry",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "type",
      +          "target",
      +          "instruction"
      +        ],
      +        "type": "object"
      +      },
      +      "payment": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "endpoint": {
      +            "type": "string"
      +          },
      +          "method": {
      +            "const": "POST",
      +            "type": "string"
      +          },
      +          "retrySameBody": {
      +            "const": true,
      +            "type": "boolean"
      +          }
      +        },
      +        "required": [
      +          "endpoint",
      +          "method",
      +          "retrySameBody"
      +        ],
      +        "type": "object"
      +      },
      +      "preview": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "fullResultAvailable": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "inputAccepted": {
      +            "const": true,
      +            "type": "boolean"
      +          },
      +          "summary": {
      +            "type": "string"
      +          },
      +          "useCases": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          }
      +        },
      +        "required": [
      +          "inputAccepted",
      +          "fullResultAvailable",
      +          "summary",
      +          "useCases"
      +        ],
      +        "type": "object"
      +      },
      +      "price": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "amount": {
      +            "minimum": 0,
      +            "type": "number"
      +          },
      +          "currency": {
      +            "type": "string"
      +          },
      +          "protocol": {
      +            "const": "x402",
      +            "type": "string"
      +          }
      +        },
      +        "required": [
      +          "amount",
      +          "currency",
      +          "protocol"
      +        ],
      +        "type": "object"
      +      },
      +      "requestId": {
      +        "type": "string"
      +      },
      +      "status": {
      +        "const": "payment_required",
      +        "type": "string"
      +      },
      +      "tool": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "status",
      +      "tool",
      +      "requestId",
      +      "price",
      +      "preview",
      +      "payment",
      +      "nextAction"
      +    ],
      +    "type": "object"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "calculationAssumptions": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "dataQuality": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completeTradeCount": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "incompleteTradeCount": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "warnings": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      }
      -    },
      -    "required": [
      -      "completeTradeCount",
      -      "incompleteTradeCount",
      -      "warnings"
      -    ],
      -    "type": "object"
      -  },
      -  "methodology": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "metrics": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "averageHoldingPeriodSeconds": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "averageLosingTrade": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "averageRMultiple": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "averageWinningTrade": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "bestTradingDay": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      },
      -      "breakevenTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "cumulativeReturn": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "currentDrawdown": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "expectancyPerTrade": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "grossLoss": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "grossProfit": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "largestLoser": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "largestWinner": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "losingTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "lossRate": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "maxConsecutiveLosses": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "maxConsecutiveWins": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "maximumDrawdown": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "maximumDrawdownR": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "netPnl": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "profitFactor": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "recoveryFactor": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "sharpeRatio": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "sortinoRatio": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalR": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "volatility": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "winRate": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "winningTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "worstTradingDay": {
      -        "type": [
      -          "string",
      -          "null"
      -        ]
      -      }
      -    },
      -    "required": [
      -      "totalTrades",
      -      "winningTrades",
      -      "losingTrades",
      -      "breakevenTrades",
      -      "winRate",
      -      "lossRate",
      -      "grossProfit",
      -      "grossLoss",
      -      "netPnl",
      -      "averageWinningTrade",
      -      "averageLosingTrade",
      -      "largestWinner",
      -      "largestLoser",
      -      "profitFactor",
      -      "expectancyPerTrade",
      -      "averageRMultiple",
      -      "cumulativeReturn",
      -      "maximumDrawdown",
      -      "currentDrawdown",
      -      "recoveryFactor",
      -      "sharpeRatio",
      -      "sortinoRatio",
      -      "volatility",
      -      "averageHoldingPeriodSeconds",
      -      "bestTradingDay",
      -      "worstTradingDay",
      -      "maxConsecutiveWins",
      -      "maxConsecutiveLosses"
      -    ],
      -    "type": "object"
      -  },
      -  "performanceSummary": {
      -    "type": "string"
      -  },
      -  "riskFlags": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "sourceTraceability": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "notes": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "portfolioExposure": {
      -        "enum": [
      -          "GROK",
      -          "SIGNALFLOW",
      -          "MERGED",
      -          "NEW"
      -        ],
      -        "type": "string"
      -      },
      -      "strategyPerformance": {
      -        "enum": [
      -          "GROK",
      -          "SIGNALFLOW",
      -          "MERGED",
      -          "NEW"
      -        ],
      -        "type": "string"
      -      },
      -      "tradeLog": {
      -        "enum": [
      -          "GROK",
      -          "SIGNALFLOW",
      -          "MERGED",
      -          "NEW"
      -        ],
      -        "type": "string"
      -      },
      -      "tradeRisk": {
      -        "enum": [
      -          "GROK",
      -          "SIGNALFLOW",
      -          "MERGED",
      -          "NEW"
      -        ],
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "strategyPerformance",
      -      "tradeRisk",
      -      "portfolioExposure",
      -      "tradeLog",
      -      "notes"
      -    ],
      -    "type": "object"
      -  },
      -  "strengths": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "weaknesses": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "metrics",
      -  "performanceSummary",
      -  "strengths",
      -  "weaknesses",
      -  "riskFlags",
      -  "dataQuality",
      -  "calculationAssumptions"
      -]
  3. Changed10 schema fields changed
    • addedInput schema / properties / trades / items / properties / confidence
      Added value: +{
      +  "maximum": 100,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / trades / items / properties / exitReason
      Added value: +{
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / trades / items / properties / marketRegime
      Added value: +{
      +  "maxLength": 40,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / trades / items / properties / source
      Added value: +{
      +  "maxLength": 80,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / trades / items / properties / takeProfits
      Added value: +{
      +  "items": {
      +    "exclusiveMinimum": 0,
      +    "type": "number"
      +  },
      +  "maxItems": 20,
      +  "type": "array"
      +}
    • addedInput schema / properties / trades / items / properties / timeframe
      Added value: +{
      +  "maxLength": 30,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedOutput schema / properties / methodology
      Added value: +{
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / metrics / properties / maximumDrawdownR
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / metrics / properties / totalR
      Added value: +{
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / sourceTraceability
      Added value: +{
      +  "additionalProperties": false,
      +  "properties": {
      +    "notes": {
      +      "items": {
      +        "type": "string"
      +      },
      +      "type": "array"
      +    },
      +    "portfolioExposure": {
      +      "enum": [
      +        "GROK",
      +        "SIGNALFLOW",
      +        "MERGED",
      +        "NEW"
      +      ],
      +      "type": "string"
      +    },
      +    "strategyPerformance": {
      +      "enum": [
      +        "GROK",
      +        "SIGNALFLOW",
      +        "MERGED",
      +        "NEW"
      +      ],
      +      "type": "string"
      +    },
      +    "tradeLog": {
      +      "enum": [
      +        "GROK",
      +        "SIGNALFLOW",
      +        "MERGED",
      +        "NEW"
      +      ],
      +      "type": "string"
      +    },
      +    "tradeRisk": {
      +      "enum": [
      +        "GROK",
      +        "SIGNALFLOW",
      +        "MERGED",
      +        "NEW"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "strategyPerformance",
      +    "tradeRisk",
      +    "portfolioExposure",
      +    "tradeLog",
      +    "notes"
      +  ],
      +  "type": "object"
      +}
  4. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.