Get Results
results_getHow a school, department, year group or class is doing: average grade and percentage per cohort (one subject, one year group), the change since the previous assessment, strongest and weakest skills, and every class. With no filters it is also the overview — the academic years, the assessment points (data drops) and the cohorts and the teachers, with the ids the filters and the pupil tools take. For anything the single filters cannot say — several classes, everything except one class, one teacher's marking, a pupil by name — use filters, the dashboard's own filter builder. Over 12 cohorts (a whole school) it returns each cohort's headline only (detail: summary); narrow by subject or year_group for classes and skills. Grades are written as the dashboard writes them (a group's average to one decimal, e.g. 4.6). Read-only. Quote these figures rather than recomputing them, and share dashboard_url so the teacher can open the same view.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "results_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | "department" (default) is the widest view the caller may see: the whole school for a school admin, their department for a head of department. Anyone else is given their own marking, and the answer says so. "mine" is always the caller's own marking. | department |
| filters | No | The dashboard's full filter builder, for anything the single arguments above cannot say. Every condition must hold (AND); the values inside one condition are alternatives (OR). Combines with the arguments above. Properties: "subject" (e.g. "english"), "class" (class_id), "teacher" (teacher_id from results_get's teachers: the teacher whose marking it is), "assessmentPoint" (assessment point id), "yearGroup" (e.g. "11"), "pupil" (a name or part of one). Operators: "is" and "is_not" take one value; "is_one_of" and "is_none_of" take a list. "pupil" instead takes "is", "contains" or "does_not_contain", with one value. Example, every Year 11 class except one, marked by one teacher: [{"property":"yearGroup","operator":"is","values":["11"]},{"property":"class","operator":"is_not","values":["<class_id>"]},{"property":"teacher","operator":"is","values":["<teacher_id>"]}]. A value matching nothing the caller can see is ignored and listed in filters_dropped. | |
| subject | No | Narrow to one subject. | |
| class_id | No | Narrow to one class. Ids come from results_get. | |
| year_group | No | Narrow to one year group, exactly as results_get returns it in cohorts[].year_group: usually its number, "11" for Year 11. | |
| academic_year_id | No | An academic year id (from results_get), or "all" for every year including marking filed under no assessment. Omit for the current year. | |
| assessment_point_id | No | Narrow to one assessment point (a school's data drop, e.g. 'Y11 Mock 1'). Ids come from results_get. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | ||
| scope | Yes | ||
| years | Yes | ||
| detail | Yes | "summary" when there were more than 12 cohorts: each cohort's classes and skills are left out (empty). Narrow by subject or year_group for them. | |
| cohorts | Yes | ||
| heading | Yes | What this is, e.g. 'English' or 'Your marking'. | |
| teachers | Yes | The teachers whose marking is in view, with the ids the teacher filter takes. Pupils counts ignore any teacher filter, so every teacher stays choosable. | |
| scope_note | Yes | Why the caller got less than they asked for, if they did. | |
| dashboard_url | Yes | ||
| filter_advice | Yes | When the filters leave too few pupils to average: which one to remove, and what removing it gives back. | |
| filters_applied | Yes | ||
| filters_dropped | Yes | Filters that matched nothing the caller can see and were NOT applied. | |
| unfiled_scripts | Yes | Marked scripts filed under no assessment point, outside every year. Ask again with academic_year_id 'all' to include them. | |
| assessment_points | Yes |