calculate_normalized_gpa
Normalize a raw grade with the SQL calculate_normalized_gpa function (piecewise band match on a grading-system version), with a TypeScript piecewise fallback when the SQL function is unavailable.
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": {
"raw_grade": "<raw_grade>"
},
"name": "calculate_normalized_gpa"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw_grade | Yes | Raw grade label or number (e.g. 'A', '8.5') | |
| raw_percent | No | Raw percentage (0-100), used for numeric band matching | |
| grading_system_id | No | grading_system_canonical id (resolved to its active version) | |
| grading_system_version_id | No | grading_system_versions id |