Built LMS Help Center
MCP ServerTool Reference

Grade Exam Response

Grade Exam Response MCP tool.

Grade Exam Response

Grade one response from list_exam_grading_queue. points_earned cannot exceed points_possible; omitted feedback keeps existing feedback. The attempt score recalculates once no responses remain ungraded.

Contract

FieldValue
Tool namegrade_exam_response
Domaingrading
Required scopesassessments:write
TitleGrade exam response
Read only hintfalse
Destructive hintfalse
Idempotent hinttrue
Open world hintfalse
Bulk limitnone
Timeout15000ms
Kill switch keygrading.exam_response.grade
REST siblingPOST /api/public/v1/exam-responses/{id}/grade

Input Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
    },
    "points_earned": {
      "type": "number",
      "minimum": 0
    },
    "feedback": {
      "type": "string",
      "maxLength": 10000
    },
    "idempotency_key": {
      "type": "string",
      "minLength": 8,
      "maxLength": 200,
      "pattern": "^[A-Za-z0-9._:-]+$"
    }
  },
  "required": [
    "id",
    "points_earned",
    "idempotency_key"
  ],
  "additionalProperties": false
}

Output Schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "content": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "const": "text"
          },
          "text": {
            "type": "string"
          }
        },
        "required": [
          "type",
          "text"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "content"
  ],
  "additionalProperties": false
}

On this page