Orah MCP by usefulapi

v1.6.1
io.usefulapi/orah Checked 1 day ago Published 7 hours ago

Read students, rolls and attendance; create and update students, contacts and houses in Orah.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

orah_list_students

List students with optional filters (house, group, year level, student type, deactivated). Without filters it returns all active students; set page_size to page the list. Orah route: POST /open-api/student/list.

ParameterTypeDescription
deactivatedbooleantrue lists deactivated students (default false).
group_idsarrayOrah ids (any of them).
group_sis_idsarraySIS ids (any of them).
house_idsarrayOrah ids (any of them).
house_sis_idsarraySIS ids (any of them).
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
sort_orderstringSort by student id when paging (default ASC).
student_typesarray
year_levelsarrayExact year level values, e.g. 'Year 11'.

orah_get_student

Get one student with contact-relevant fields, house and dietary or medical notes. Give the Orah id or the SIS id. Orah route: POST /open-api/student/get-single.

ParameterTypeDescription
idintegerOrah id.
sis_idstringSIS id from the school's student information system.

orah_list_houses

List all houses (student groupings) at the school. Use the ids in the student filters. Orah route: POST /open-api/house/list.

orah_list_student_contacts

List the contacts (parents, guardians) of one student. Give the student's Orah id or SIS id. Orah route: POST /open-api/contact/list-by-student.

ParameterTypeDescription
student_idintegerOrah id.
student_sis_idstringSIS id from the school's student information system.

orah_list_groups

List groups: academic classes, advisories, athletics, activities and more. Filter by type, e.g. 'Academics', to find classes. Orah route: POST /open-api/group/list.

ParameterTypeDescription
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
typesarrayGroup types, e.g. ['Academics']. Values combine with OR.

orah_list_reason_codes

List the school's attendance reason codes (for example 'Tardy Unexcused'). Use them to read reasons on attendance and roll records. Orah route: POST /open-api/reason-code/list.

ParameterTypeDescription
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
reason_typesarray
sis_idsarraySIS ids (any of them).

orah_list_locations

List the school's location tree (zones, buildings, rooms, floors, outdoor facilities) with each location's state (on grounds, off grounds, home). Orah route: POST /open-api/location/tree.

ParameterTypeDescription
nestedbooleantrue nests child locations; false returns a flat list.

orah_list_current_locations

List the current location record of each student (one per student; a new student may have none). Limit to some students with ids or SIS ids. Orah route: POST /open-api/location-record/get-current.

ParameterTypeDescription
student_idsarrayOrah ids (any of them).
student_sis_idsarraySIS ids (any of them).

orah_list_location_records

List check-in and in-transit location records in time order, for all students or one student, within an optional time range. Paged. Orah route: POST /open-api/location-record/timeline.

ParameterTypeDescription
end_datestringExclusive upper bound. Default: now.
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
start_datestringISO 8601 date-time, e.g. 2026-11-01T00:00:00.000Z.
student_idintegerOrah id.
student_sis_idstringSIS id from the school's student information system.

orah_list_pastoral

List pastoral entries (discipline, merit, health and other student events written by staff), in date order, for all students or one student. Sensitive entries show only to staff with extra rights. Paged. Orah route: POST /open-api/pastoral/timeline.

ParameterTypeDescription
end_datestringExclusive upper bound. Default: now.
nested_categorybooleantrue nests the parent category under the category.
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
start_datestringInclusive lower bound.
student_idintegerOrah id.
student_sis_idstringSIS id from the school's student information system.
updated_sincestringOnly entries created or changed since this time.

orah_list_roll_types

List roll types (Daily, Emergency, Attendance) with whether each is manual or automatic and active. Orah route: POST /open-api/roll-type/list.

ParameterTypeDescription
is_activeboolean
typestring

orah_list_rolls

List rolls (completed by default) in a time range, without per-student marks. Use orah_get_roll for one roll's marks. Paged. Orah route: POST /open-api/roll/timeline.

ParameterTypeDescription
end_datestringExclusive upper bound. Default: now.
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
start_datestringISO 8601 date-time, e.g. 2026-11-01T00:00:00.000Z.
statusstringLife-cycle status (default Complete).

orah_get_roll

Get one roll with its codes and every student's mark, reason and note. Orah route: POST /open-api/roll/get-single.

ParameterTypeDescription
roll_id *integerOrah roll id (from orah_list_rolls).

orah_list_daily_attendance

List the daily attendance status per student for a date window (the same status the Orah dashboards show). The window is required: start_date is inclusive, end_date is exclusive and optional (omit it for one day). Maximum 12 months. Orah route: POST /open-api/daily-attendance/timeline.

ParameterTypeDescription
start_date *stringDate, yyyy-mm-dd.
attendance_codesarrayOnly these daily codes (any of them), e.g. ['Unexcused Absent'].
end_datestringDate, yyyy-mm-dd.
page_indexintegerZero-based page number (default 0). Keep paging while full pages return.
page_sizeintegerRecords per page (1-1000, default 200).
student_idsarrayOrah ids (any of them).
student_sis_idsarraySIS ids (any of them).

orah_list_scheduled_classes

List the scheduled class attendance items for one UTC date, optionally for one staff member, group or student. Orah route: POST /open-api/classes/scheduled.

ParameterTypeDescription
date *stringUTC date, yyyy-mm-dd.
group_idinteger
staff_idinteger
student_idinteger

orah_list_staff

List staff members. Set deactivated to true to list suspended staff. Orah route: POST /open-api/staff/list.

ParameterTypeDescription
deactivatedboolean

orah_get_staff

Get one staff member by Orah id or SIS id. Orah route: POST /open-api/staff/get-single.

ParameterTypeDescription
idintegerOrah id.
sis_idstringSIS id from the school's student information system.

orah_list_leave_types

List the active leave types (for example absence categories) and their short codes. Orah route: POST /open-api/leave-type/list.

orah_get_leave

Get one leave record (a student's planned or past absence) with its time, status, type, location and note. Orah route: POST /open-api/leave/get-single.

ParameterTypeDescription
leave_id *integerOrah leave id.

orah_create_student

Create a student record. first_name and last_name are required. Creates a real student in the school's Orah. Orah route: POST /open-api/student/create.

ParameterTypeDescription
first_name *string
last_name *string
alt_namestringPreferred name.
bed_numberstring
birth_datestringDate, yyyy-mm-dd.
deactivatedbooleantrue deactivates the student (hides them from active lists). This server does not offer deletes.
diet_infostring
emailstring
genderstring
home_numberstring
house_idOrah house id, or null for no house.
house_sis_idstringHouse SIS id.
is_internationalboolean
medical_infostring
mobile_numberstring
reference_idstringThe school's human-known student id.
room_numberstring
sis_idstring
student_typestring
year_levelstring

orah_update_student

Update a student's fields (names, year level, house, dietary or medical notes, contact details). Find the student by student_id or current_sis_id; sis_id sets a new SIS id. To hide a student from active lists, set deactivated to true. This server does not offer Orah's student delete route. Orah route: POST /open-api/student/update.

ParameterTypeDescription
alt_namestringPreferred name.
bed_numberstring
birth_datestringDate, yyyy-mm-dd.
current_sis_idstringSIS id from the school's student information system.
deactivatedbooleantrue deactivates the student (hides them from active lists). This server does not offer deletes.
diet_infostring
emailstring
first_namestring
genderstring
home_numberstring
house_idOrah house id, or null for no house.
house_sis_idstringHouse SIS id.
is_internationalboolean
last_namestring
medical_infostring
mobile_numberstring
reference_idstringThe school's human-known student id.
room_numberstring
sis_idstring
student_idintegerOrah id.
student_typestring
year_levelstring

orah_create_contact

Create a contact (parent or guardian) for one student. Give the student's Orah id or SIS id. Orah route: POST /open-api/contact/create.

ParameterTypeDescription
first_name *string
last_name *string
addressstring
emailstring
home_numberstring
mobile_numberstring
relationshipstringRelationship to the student, e.g. Mother.
sis_idstring
student_idintegerOrah id.
student_sis_idstringSIS id from the school's student information system.
titlestringFormal title, e.g. Mr. or Mrs.

orah_update_contact

Update a contact's details. Give the contact's Orah id, or its SIS id together with the student's id or SIS id. Orah route: POST /open-api/contact/update.

ParameterTypeDescription
addressstring
contact_idinteger
contact_sis_idstring
emailstring
first_namestring
home_numberstring
last_namestring
mobile_numberstring
relationshipstringRelationship to the student, e.g. Mother.
sis_idstring
student_idintegerOrah id.
student_sis_idstringSIS id from the school's student information system.
titlestringFormal title, e.g. Mr. or Mrs.

orah_create_house

Create a house (a student grouping). Orah route: POST /open-api/house/create.

ParameterTypeDescription
name *string
sis_idstring

orah_update_house

Rename a house or change its SIS id. Give the house's Orah id or SIS id. Orah route: POST /open-api/house/update.

ParameterTypeDescription
house_idinteger
house_sis_idstring
namestring
sis_idstring