Rank class
rank_classRanks a class by total term score, assigns tied positions, and lists students with missing scores as unranked with their missing subjects.
Instructions
Rank a class by total score for a term. Ties share a position (1, 2, 2, 4). Students with any missing score are listed separately as unranked, with the missing subjects.
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": {
"classId": "<classId>"
},
"name": "rank_class"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | No | Term ID such as '2026-T1'. Defaults to the current term. | |
| classId | Yes | Class ID from list_classes, e.g. 'sch_demo_a_c3'. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | ||
| class | Yes | ||
| ranked | Yes | ||
| unranked | Yes |