Skip to main content
Glama

Calculate Gpa

calculate_gpa
Read-onlyIdempotent

Calculate your GPA on a 4.0 scale from your current Canvas grades, weighted by credit hours. Read-only. Uses the letter grade Canvas shows, or converts the percent (93+ A, 90 A-, 87 B+ and so on).

Instructions

Calculate your GPA on a 4.0 scale from your current Canvas grades, weighted by credit hours. Read-only. Uses the letter grade Canvas shows, or converts the percent (93+ A, 90 A-, 87 B+ and so on). Supports what-if grades and extra points for honors or AP classes. Pass-fail courses are listed as excluded.

Input Schema

NameRequiredDescriptionDefault
creditsNoCredit hours per course, keyed by course ID, name or code, e.g. {"Calculus I": 4, "ENG101": 3}. Courses not listed use default_credits.
what_ifNoPretend grades, keyed by course ID, name or code. Each value is a letter ("B+") or a percent (88), e.g. {"Chemistry": "A-"}.
extra_pointsNoExtra grade points for weighted GPA, keyed like credits, e.g. {"AP Biology": 1, "Honors English": 0.5}. Leave empty for an unweighted GPA.
default_creditsNoCredit hours for courses not in credits. Default 3.
use_final_scoreNoTrue to use the final score, which counts missing work as zero, instead of the current score. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.1.0

TDQS

Score is being calculated.

Deploy Server

Other Tools