Elo rating change
elo_rating_changeCalculate the Elo rating change for one or more games: expected score, points gained or lost, and the new rating. Uses the standard Elo formula with a K-factor (FIDE uses 40 for new/junior players, 20 for most players, 10 for players who have reached 2400).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"rating": "<rating>",
"games": "<games>"
},
"name": "elo_rating_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| games | Yes | Games played. Each has the opponent rating and your result. | |
| rating | Yes | Your current rating, e.g. 1500. | |
| k_factor | No | K-factor. Default 20. | |
| fide_400_point_rule | No | Count rating gaps above 400 as 400 (FIDE rule). Default true. |