Elo rating change calculator
elo_changeCalculates how many rating points a player wins or loses for a win, draw and loss against an opponent, using the Elo formula. Also returns the expected score.
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>",
"opponent": "<opponent>"
},
"name": "elo_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | No | K-factor (default 20; FIDE uses 40 for new players, 20 normally, 10 above 2400) | |
| rating | Yes | The player's rating | |
| opponent | Yes | The opponent's rating |