GPA from course grades
gpa_calculatorUse this when a student wants their GPA from letter grades and credits, high school (honors +0.5, AP/IB +1.0 on passing grades, weighted and unweighted) or college (credit hours, unweighted). Returns unweighted and weighted GPA with the points of each course. Credits default to 1 (hs) or 3 (college). Do not use it for a single test grade or for a school-specific formula such as UC or LSAC.
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": {
"courses": "<courses>"
},
"name": "gpa_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | hs = high school with weighting (default); college = unweighted. | |
| scale | No | 4.0 (A+ counts 4.0, default) or 4.3 (A+ counts 4.3). | |
| courses | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| link | Yes | Page of calculatorforgrading.com with the same inputs filled in. | |
| mode | Yes | ||
| scale | Yes | ||
| courses | Yes | ||
| credits | Yes | ||
| gpa_weighted | Yes | ||
| gpa_unweighted | Yes |