tool_apply_grade
Apply grades to student submissions by setting rubric items, point adjustments, and comments within the Gradescope grading system.
Instructions
Apply a grade to a student's question submission.
Can apply/remove rubric items, set point adjustments, and add comments.
**WARNING**: This modifies student grades.
Args:
course_id: The Gradescope course ID.
question_id: The question ID.
submission_id: The question submission ID.
rubric_item_ids: List of rubric item IDs to apply (checked). Items NOT
in this list will be unchecked. Pass None to keep unchanged.
point_adjustment: Submission-specific point adjustment. Pass None to keep.
comment: Grader comment. Pass None to keep unchanged.
confidence: Agent's self-assessed grading confidence (0.0-1.0).
Below 0.6 = rejected. 0.6-0.8 = warning. Above 0.8 = OK.
Pass None to skip confidence gating (manual mode).
confirm_write: Must be True to save the grade.
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_id": "<course_id>",
"question_id": "<question_id>",
"submission_id": "<submission_id>"
},
"name": "tool_apply_grade"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| course_id | Yes | ||
| question_id | Yes | ||
| submission_id | Yes | ||
| rubric_item_ids | No | ||
| point_adjustment | No | ||
| comment | No | ||
| confidence | No | ||
| confirm_write | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |