Skip to main content
Glama

Rafid Intelligence Network

trade_log_analysis

Read-onlyIdempotent

Analyze supplied raw trade records for deterministic performance, execution quality, grouping, streaks, data-quality issues and risk patterns. When: Use when an agent needs structured statistics and findings from a trading log or execution history. Selection: supporting; prefer for Use when an agent needs structured statistics and findings from a trading log or execution history.. Input is a strict JSON object; see the schema. Price: $0.30 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

NameRequiredDescriptionDefault
recordsYes
accountEquityNo
duplicateTradeIdPolicyNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "anomalies": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "behavioralPatterns": {
      +        "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"
      +      },
      +      "executionMetrics": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completeRecords": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "duplicateTradeIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "malformedRecords": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missingPrices": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "outOfOrderTimestamps": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "completeRecords",
      +          "malformedRecords",
      +          "duplicateTradeIds",
      +          "outOfOrderTimestamps",
      +          "missingPrices"
      +        ],
      +        "type": "object"
      +      },
      +      "performanceBySession": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "performanceByStrategy": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "performanceBySymbol": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "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"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "averageHoldingDurationSeconds": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "closedTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "fees": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "losses": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxLosingStreak": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxWinningStreak": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "netPnl": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "openTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "totalTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "wins": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "totalTrades",
      +          "closedTrades",
      +          "openTrades",
      +          "wins",
      +          "losses",
      +          "netPnl",
      +          "fees",
      +          "maxWinningStreak",
      +          "maxLosingStreak",
      +          "averageHoldingDurationSeconds"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "summary",
      +      "performanceBySymbol",
      +      "performanceByStrategy",
      +      "performanceBySession",
      +      "executionMetrics",
      +      "behavioralPatterns",
      +      "anomalies",
      +      "riskFlags",
      +      "dataQuality"
      +    ],
      +    "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"
      +  }
      +]
    • removedOutput schema / properties
      Removed value: -{
      -  "anomalies": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "behavioralPatterns": {
      -    "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"
      -  },
      -  "executionMetrics": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completeRecords": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "duplicateTradeIds": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "malformedRecords": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "missingPrices": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "outOfOrderTimestamps": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "completeRecords",
      -      "malformedRecords",
      -      "duplicateTradeIds",
      -      "outOfOrderTimestamps",
      -      "missingPrices"
      -    ],
      -    "type": "object"
      -  },
      -  "performanceBySession": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "fees": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "losses": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "netPnl": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "trades": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "winRate": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "trades",
      -        "wins",
      -        "losses",
      -        "netPnl",
      -        "fees",
      -        "winRate"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "performanceByStrategy": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "fees": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "losses": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "netPnl": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "trades": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "winRate": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "trades",
      -        "wins",
      -        "losses",
      -        "netPnl",
      -        "fees",
      -        "winRate"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "performanceBySymbol": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "fees": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "losses": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "netPnl": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "trades": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "winRate": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "trades",
      -        "wins",
      -        "losses",
      -        "netPnl",
      -        "fees",
      -        "winRate"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "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"
      -  },
      -  "summary": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "averageHoldingDurationSeconds": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "closedTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "fees": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "losses": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "maxLosingStreak": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "maxWinningStreak": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "netPnl": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "openTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "totalTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "wins": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "totalTrades",
      -      "closedTrades",
      -      "openTrades",
      -      "wins",
      -      "losses",
      -      "netPnl",
      -      "fees",
      -      "maxWinningStreak",
      -      "maxLosingStreak",
      -      "averageHoldingDurationSeconds"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "summary",
      -  "performanceBySymbol",
      -  "performanceByStrategy",
      -  "performanceBySession",
      -  "executionMetrics",
      -  "behavioralPatterns",
      -  "anomalies",
      -  "riskFlags",
      -  "dataQuality"
      -]
  2. Changed4 schema fields changed
    • addedOutput schema / additionalProperties
      Added value: +false
    • removedOutput schema / anyOf
      Removed value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "anomalies": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "behavioralPatterns": {
      -        "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"
      -      },
      -      "executionMetrics": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "completeRecords": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "duplicateTradeIds": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "malformedRecords": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missingPrices": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "outOfOrderTimestamps": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "completeRecords",
      -          "malformedRecords",
      -          "duplicateTradeIds",
      -          "outOfOrderTimestamps",
      -          "missingPrices"
      -        ],
      -        "type": "object"
      -      },
      -      "performanceBySession": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fees": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "losses": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "netPnl": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "trades": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "winRate": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "wins": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "trades",
      -            "wins",
      -            "losses",
      -            "netPnl",
      -            "fees",
      -            "winRate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "performanceByStrategy": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fees": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "losses": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "netPnl": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "trades": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "winRate": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "wins": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "trades",
      -            "wins",
      -            "losses",
      -            "netPnl",
      -            "fees",
      -            "winRate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "performanceBySymbol": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fees": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "losses": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "netPnl": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "trades": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "winRate": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "wins": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "trades",
      -            "wins",
      -            "losses",
      -            "netPnl",
      -            "fees",
      -            "winRate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "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"
      -      },
      -      "summary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "averageHoldingDurationSeconds": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "closedTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "fees": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "losses": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "maxLosingStreak": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "maxWinningStreak": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "netPnl": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "openTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "totalTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "wins": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "totalTrades",
      -          "closedTrades",
      -          "openTrades",
      -          "wins",
      -          "losses",
      -          "netPnl",
      -          "fees",
      -          "maxWinningStreak",
      -          "maxLosingStreak",
      -          "averageHoldingDurationSeconds"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "summary",
      -      "performanceBySymbol",
      -      "performanceByStrategy",
      -      "performanceBySession",
      -      "executionMetrics",
      -      "behavioralPatterns",
      -      "anomalies",
      -      "riskFlags",
      -      "dataQuality"
      -    ],
      -    "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"
      -  }
      -]
    • addedOutput schema / properties
      Added value: +{
      +  "anomalies": {
      +    "items": {
      +      "type": "string"
      +    },
      +    "type": "array"
      +  },
      +  "behavioralPatterns": {
      +    "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"
      +  },
      +  "executionMetrics": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "completeRecords": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "duplicateTradeIds": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "malformedRecords": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "missingPrices": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "outOfOrderTimestamps": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "completeRecords",
      +      "malformedRecords",
      +      "duplicateTradeIds",
      +      "outOfOrderTimestamps",
      +      "missingPrices"
      +    ],
      +    "type": "object"
      +  },
      +  "performanceBySession": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "fees": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "key": {
      +          "type": "string"
      +        },
      +        "losses": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "netPnl": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "trades": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "winRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "wins": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "key",
      +        "trades",
      +        "wins",
      +        "losses",
      +        "netPnl",
      +        "fees",
      +        "winRate"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "performanceByStrategy": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "fees": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "key": {
      +          "type": "string"
      +        },
      +        "losses": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "netPnl": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "trades": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "winRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "wins": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "key",
      +        "trades",
      +        "wins",
      +        "losses",
      +        "netPnl",
      +        "fees",
      +        "winRate"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "performanceBySymbol": {
      +    "items": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "fees": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "key": {
      +          "type": "string"
      +        },
      +        "losses": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "netPnl": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "trades": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        },
      +        "winRate": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "wins": {
      +          "maximum": 9007199254740991,
      +          "minimum": 0,
      +          "type": "integer"
      +        }
      +      },
      +      "required": [
      +        "key",
      +        "trades",
      +        "wins",
      +        "losses",
      +        "netPnl",
      +        "fees",
      +        "winRate"
      +      ],
      +      "type": "object"
      +    },
      +    "type": "array"
      +  },
      +  "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"
      +  },
      +  "summary": {
      +    "additionalProperties": false,
      +    "properties": {
      +      "averageHoldingDurationSeconds": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "closedTrades": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "fees": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "losses": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "maxLosingStreak": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "maxWinningStreak": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "netPnl": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "openTrades": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "totalTrades": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      },
      +      "wins": {
      +        "maximum": 9007199254740991,
      +        "minimum": 0,
      +        "type": "integer"
      +      }
      +    },
      +    "required": [
      +      "totalTrades",
      +      "closedTrades",
      +      "openTrades",
      +      "wins",
      +      "losses",
      +      "netPnl",
      +      "fees",
      +      "maxWinningStreak",
      +      "maxLosingStreak",
      +      "averageHoldingDurationSeconds"
      +    ],
      +    "type": "object"
      +  }
      +}
    • addedOutput schema / required
      Added value: +[
      +  "summary",
      +  "performanceBySymbol",
      +  "performanceByStrategy",
      +  "performanceBySession",
      +  "executionMetrics",
      +  "behavioralPatterns",
      +  "anomalies",
      +  "riskFlags",
      +  "dataQuality"
      +]
  3. Changed1 schema field changed
    • changedOutput schema / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "anomalies": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "behavioralPatterns": {
      -        "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"
      -      },
      -      "executionMetrics": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "completeRecords": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "duplicateTradeIds": {
      -            "items": {
      -              "type": "string"
      -            },
      -            "type": "array"
      -          },
      -          "malformedRecords": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "missingPrices": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "outOfOrderTimestamps": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "completeRecords",
      -          "malformedRecords",
      -          "duplicateTradeIds",
      -          "outOfOrderTimestamps",
      -          "missingPrices"
      -        ],
      -        "type": "object"
      -      },
      -      "performanceBySession": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fees": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "losses": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "netPnl": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "trades": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "winRate": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "wins": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "trades",
      -            "wins",
      -            "losses",
      -            "netPnl",
      -            "fees",
      -            "winRate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "performanceByStrategy": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fees": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "losses": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "netPnl": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "trades": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "winRate": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "wins": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "trades",
      -            "wins",
      -            "losses",
      -            "netPnl",
      -            "fees",
      -            "winRate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "performanceBySymbol": {
      -        "items": {
      -          "additionalProperties": false,
      -          "properties": {
      -            "fees": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "key": {
      -              "type": "string"
      -            },
      -            "losses": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "netPnl": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "trades": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            },
      -            "winRate": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "wins": {
      -              "maximum": 9007199254740991,
      -              "minimum": 0,
      -              "type": "integer"
      -            }
      -          },
      -          "required": [
      -            "key",
      -            "trades",
      -            "wins",
      -            "losses",
      -            "netPnl",
      -            "fees",
      -            "winRate"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "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"
      -      },
      -      "summary": {
      -        "additionalProperties": false,
      -        "properties": {
      -          "averageHoldingDurationSeconds": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "closedTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "fees": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "losses": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "maxLosingStreak": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "maxWinningStreak": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "netPnl": {
      -            "type": [
      -              "number",
      -              "null"
      -            ]
      -          },
      -          "openTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "totalTrades": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          },
      -          "wins": {
      -            "maximum": 9007199254740991,
      -            "minimum": 0,
      -            "type": "integer"
      -          }
      -        },
      -        "required": [
      -          "totalTrades",
      -          "closedTrades",
      -          "openTrades",
      -          "wins",
      -          "losses",
      -          "netPnl",
      -          "fees",
      -          "maxWinningStreak",
      -          "maxLosingStreak",
      -          "averageHoldingDurationSeconds"
      -        ],
      -        "type": "object"
      -      }
      -    },
      -    "required": [
      -      "summary",
      -      "performanceBySymbol",
      -      "performanceByStrategy",
      -      "performanceBySession",
      -      "executionMetrics",
      -      "behavioralPatterns",
      -      "anomalies",
      -      "riskFlags",
      -      "dataQuality"
      -    ],
      -    "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": {
      +      "anomalies": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "behavioralPatterns": {
      +        "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"
      +      },
      +      "executionMetrics": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completeRecords": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "duplicateTradeIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "malformedRecords": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missingPrices": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "outOfOrderTimestamps": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "completeRecords",
      +          "malformedRecords",
      +          "duplicateTradeIds",
      +          "outOfOrderTimestamps",
      +          "missingPrices"
      +        ],
      +        "type": "object"
      +      },
      +      "performanceBySession": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "performanceByStrategy": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "performanceBySymbol": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "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"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "averageHoldingDurationSeconds": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "closedTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "fees": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "losses": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxLosingStreak": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxWinningStreak": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "netPnl": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "openTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "totalTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "wins": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "totalTrades",
      +          "closedTrades",
      +          "openTrades",
      +          "wins",
      +          "losses",
      +          "netPnl",
      +          "fees",
      +          "maxWinningStreak",
      +          "maxLosingStreak",
      +          "averageHoldingDurationSeconds"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "summary",
      +      "performanceBySymbol",
      +      "performanceByStrategy",
      +      "performanceBySession",
      +      "executionMetrics",
      +      "behavioralPatterns",
      +      "anomalies",
      +      "riskFlags",
      +      "dataQuality"
      +    ],
      +    "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"
      +  }
      +]
  4. Changed4 schema fields changed
    • removedOutput schema / additionalProperties
      Removed value: -false
    • addedOutput schema / anyOf
      Added value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "anomalies": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "behavioralPatterns": {
      +        "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"
      +      },
      +      "executionMetrics": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "completeRecords": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "duplicateTradeIds": {
      +            "items": {
      +              "type": "string"
      +            },
      +            "type": "array"
      +          },
      +          "malformedRecords": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "missingPrices": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "outOfOrderTimestamps": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "completeRecords",
      +          "malformedRecords",
      +          "duplicateTradeIds",
      +          "outOfOrderTimestamps",
      +          "missingPrices"
      +        ],
      +        "type": "object"
      +      },
      +      "performanceBySession": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "performanceByStrategy": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "performanceBySymbol": {
      +        "items": {
      +          "additionalProperties": false,
      +          "properties": {
      +            "fees": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "key": {
      +              "type": "string"
      +            },
      +            "losses": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "netPnl": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "trades": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            },
      +            "winRate": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "wins": {
      +              "maximum": 9007199254740991,
      +              "minimum": 0,
      +              "type": "integer"
      +            }
      +          },
      +          "required": [
      +            "key",
      +            "trades",
      +            "wins",
      +            "losses",
      +            "netPnl",
      +            "fees",
      +            "winRate"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "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"
      +      },
      +      "summary": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "averageHoldingDurationSeconds": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "closedTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "fees": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "losses": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxLosingStreak": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "maxWinningStreak": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "netPnl": {
      +            "type": [
      +              "number",
      +              "null"
      +            ]
      +          },
      +          "openTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "totalTrades": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          },
      +          "wins": {
      +            "maximum": 9007199254740991,
      +            "minimum": 0,
      +            "type": "integer"
      +          }
      +        },
      +        "required": [
      +          "totalTrades",
      +          "closedTrades",
      +          "openTrades",
      +          "wins",
      +          "losses",
      +          "netPnl",
      +          "fees",
      +          "maxWinningStreak",
      +          "maxLosingStreak",
      +          "averageHoldingDurationSeconds"
      +        ],
      +        "type": "object"
      +      }
      +    },
      +    "required": [
      +      "summary",
      +      "performanceBySymbol",
      +      "performanceByStrategy",
      +      "performanceBySession",
      +      "executionMetrics",
      +      "behavioralPatterns",
      +      "anomalies",
      +      "riskFlags",
      +      "dataQuality"
      +    ],
      +    "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: -{
      -  "anomalies": {
      -    "items": {
      -      "type": "string"
      -    },
      -    "type": "array"
      -  },
      -  "behavioralPatterns": {
      -    "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"
      -  },
      -  "executionMetrics": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "completeRecords": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "duplicateTradeIds": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "malformedRecords": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "missingPrices": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "outOfOrderTimestamps": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "completeRecords",
      -      "malformedRecords",
      -      "duplicateTradeIds",
      -      "outOfOrderTimestamps",
      -      "missingPrices"
      -    ],
      -    "type": "object"
      -  },
      -  "performanceBySession": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "fees": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "losses": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "netPnl": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "trades": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "winRate": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "trades",
      -        "wins",
      -        "losses",
      -        "netPnl",
      -        "fees",
      -        "winRate"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "performanceByStrategy": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "fees": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "losses": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "netPnl": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "trades": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "winRate": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "trades",
      -        "wins",
      -        "losses",
      -        "netPnl",
      -        "fees",
      -        "winRate"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "performanceBySymbol": {
      -    "items": {
      -      "additionalProperties": false,
      -      "properties": {
      -        "fees": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "key": {
      -          "type": "string"
      -        },
      -        "losses": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "netPnl": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "trades": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        },
      -        "winRate": {
      -          "type": [
      -            "number",
      -            "null"
      -          ]
      -        },
      -        "wins": {
      -          "maximum": 9007199254740991,
      -          "minimum": 0,
      -          "type": "integer"
      -        }
      -      },
      -      "required": [
      -        "key",
      -        "trades",
      -        "wins",
      -        "losses",
      -        "netPnl",
      -        "fees",
      -        "winRate"
      -      ],
      -      "type": "object"
      -    },
      -    "type": "array"
      -  },
      -  "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"
      -  },
      -  "summary": {
      -    "additionalProperties": false,
      -    "properties": {
      -      "averageHoldingDurationSeconds": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "closedTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "fees": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "losses": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "maxLosingStreak": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "maxWinningStreak": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "netPnl": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "openTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "totalTrades": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      },
      -      "wins": {
      -        "maximum": 9007199254740991,
      -        "minimum": 0,
      -        "type": "integer"
      -      }
      -    },
      -    "required": [
      -      "totalTrades",
      -      "closedTrades",
      -      "openTrades",
      -      "wins",
      -      "losses",
      -      "netPnl",
      -      "fees",
      -      "maxWinningStreak",
      -      "maxLosingStreak",
      -      "averageHoldingDurationSeconds"
      -    ],
      -    "type": "object"
      -  }
      -}
    • removedOutput schema / required
      Removed value: -[
      -  "summary",
      -  "performanceBySymbol",
      -  "performanceByStrategy",
      -  "performanceBySession",
      -  "executionMetrics",
      -  "behavioralPatterns",
      -  "anomalies",
      -  "riskFlags",
      -  "dataQuality"
      -]
  5. Changed1 schema field changed
    • 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"
      +}
  6. Added

TDQS

B3.4/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world semantics, so the safety profile is settled. The description adds genuinely non-structured context: paid per call at $0.30 via x402, and an unpaid call returns payment instructions rather than failing opaquely. It also flags 'deterministic' processing, which is meaningful for reproducibility expectations.

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?

Front-loaded with the capability, which is good, but the 'Selection' sentence is a verbatim duplicate of the 'When' sentence and earns nothing. The pricing sentences are wordy but information-bearing; the duplication is the main structural defect.

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

Completeness4/5

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

With an output schema present, return values need no explanation, and the description covers capability scope, usage context, input format, and the payment model for a 3-parameter analysis tool. The remaining gap is parameter semantics, which is scored separately.

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 0%, so the description must carry parameter meaning, and it does not — it only says 'Input is a strict JSON object; see the schema.' Nothing explains records, accountEquity, or the duplicateTradeIdPolicy enum, even though dedup behavior relates to the advertised data-quality checks.

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 (analyze) and resource (raw trade records) and enumerates the analyzed dimensions: performance, execution quality, grouping, streaks, data-quality issues, risk patterns. It does not name any sibling, so an agent must infer its distinction from trade_risk_score or strategy_performance_analysis, but the analytics scope is clear on its own.

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

Usage Guidelines3/5

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

The 'When' clause gives real context (structured statistics from a trading log or execution history), but the 'Selection: supporting; prefer for...' sentence just repeats the When clause verbatim, so it provides no alternative or exclusion. No sibling is named and no when-not condition is given.

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.