project_grade
Calculates course grade projections and target-letter averages from Canvas scores and syllabus weights/drop rules, flagging unknown or future work to keep projections accurate.
Instructions
Current percentage and the average needed to reach each letter cutoff (UW scale by default). Work is graded, remaining, or unknown (done or past due but score hidden/ungraded/missing; never counted as remaining). Canvas drop rules apply; weighted groups with nothing posted count as remaining. Supply syllabus policy Canvas lacks with future_work, group_weights and group_rules; duplicates of Canvas work are rejected. Present letters as definitive only when projection_complete is true; with unknown scores, needed_average_on_unscored_percent replaces needed_average_on_remaining_percent.
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": {
"course": "<course>"
},
"name": "project_grade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course | Yes | Course id, code (e.g. 'CHEM 343', 'CS 252') or part of its name | |
| targets | No | Optional letter -> cutoff percent, e.g. {"A": 92} | |
| future_work | No | Work not in Canvas yet. {name, points, group} adds an assignment to an existing group (drop rules then apply); {name, points} a new group in unweighted courses; {name, weight} a new weighted group (percent). | |
| group_rules | No | Syllabus drop rules, e.g. {"Assignments": {"drop_lowest": 1}} | |
| group_weights | No | Syllabus weights per group, e.g. {"Exams": 75, "Assignments": 25} |