rank_schools
Rank state-funded mainstream schools in England, or in one local authority, on a single published measure. Measures: ks2.rwm_expected_percent (Year 6: expected standard in reading, writing and maths; primary), ks2.rwm_higher_percent (Year 6: higher standard in reading, writing and maths; primary), ks4.attainment8 (GCSE: Attainment 8; secondary), ks4.progress8 (GCSE: Progress 8; secondary), ks4.engmath_grade5_percent (GCSE: grade 5 or above in English and maths; secondary), ks5.alevel_aps_per_entry (A level: average points per entry; secondary), ks5.alevel_value_added (A level: value added; secondary), absence.overall_percent (Attendance: overall absence (lowest first); primary and secondary), absence.persistent_percent (Attendance: persistent absence (lowest first); primary and secondary), admissions.first_preferences_per_offer (Demand: first preferences per place; primary and secondary). A single-measure ranking reflects the pupils a school admits as well as its teaching.
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": {
"measure": "<measure>"
},
"name": "rank_schools"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| town | No | Postal town (such as Huddersfield) with five or more schools; give county too where the name repeats | |
| limit | No | Number of schools from the top, 1 to 100 (default 25) | |
| phase | No | primary or secondary; defaults to the measure's phase | |
| county | No | Ceremonial county (such as West Yorkshire) instead of a local authority | |
| measure | Yes | Measure ID, for example ks4.attainment8 or ks2.rwm_expected_percent | |
| local_authority | No | Local authority name (such as Leeds) or code; leave out for all of England | |
| exclude_selective | No | Leave out grammar schools, which select pupils by ability |