GPA Calculator
gpa_calculatorComputes credit-weighted GPA with A=4, B=3, C=2, D=1, F=0 and optional common honors +0.5/AP +1.0 bonuses for passing grades; school conventions vary.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"courses": [
{
"grade": "A",
"level": "ap",
"credits": 3
},
{
"grade": "B",
"credits": 4
}
],
"weighted": true
},
"name": "gpa_calculator"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| courses | Yes | ||
| weighted | No | Apply the stated weighting convention; default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||