Teachworks MCP by usefulapi

v1.32.1
io.usefulapi/teachworks Checked 1 day ago Published 9 hours ago

Read Teachworks students, families, tutors, lessons, invoices and payments; book lessons.

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

teachworks_list_students List students

List or search students (child students of families and independent students) with their school, grade, subjects, status, billing method and default teachers. GET /students.

ParameterTypeDescription
customer_idOnly students of this customer/family id.
directionstringSort by id ascending (default) or descending (newest first).
emailstringSearch by email.
first_namestringSearch by first name.
gradestringSearch by grade.
last_namestringSearch by last name.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).
phone_numberstringSearch by phone number.
schoolstringSearch by school.
statusstring
subjectstringSearch by subject.
typestringfamily = child students, independent = independent students.

teachworks_get_student Get student

Retrieve one student profile: contact details, school/grade, billing, custom fields, default teachers/services. GET /students/{id}.

ParameterTypeDescription
student_id *Student id.

teachworks_list_customers List customers

List or search customers — the billed profiles: families (with child students) and independent students. Returns contact details, status and last invoice date. GET /customers.

ParameterTypeDescription
citystring
countrystring
directionstringSort by id ascending (default) or descending (newest first).
emailstringSearch by email.
first_namestringSearch by first name.
last_namestringSearch by last name.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).
phone_numberstringSearch by phone number.
statestring
statusstring
typestringfamily or independent.
zipstring

teachworks_get_customer Get customer

Retrieve one customer (family or independent student) with contact details and custom fields. GET /customers/{id}.

ParameterTypeDescription
customer_id *Customer id.

teachworks_list_employees List employees

List or search employees — teachers/tutors and administrative staff — with subjects, status and wage settings. GET /employees.

ParameterTypeDescription
citystring
directionstringSort by id ascending (default) or descending (newest first).
emailstringSearch by email.
first_namestringSearch by first name.
last_namestringSearch by last name.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).
statestring
statusstring
subjectstringSearch by subject taught.
zipstring

teachworks_get_employee Get employee

Retrieve one employee (teacher or staff): contact details, subjects, wage type, bio, permissions. GET /employees/{id}.

ParameterTypeDescription
employee_id *Employee id.

teachworks_get_employee_earnings Get employee earnings

Total earnings of one employee (lessons, other events, other compensation, total) for an optional lesson status and date range. GET /employees/{id}/earnings.

ParameterTypeDescription
employee_id *Employee id.
date_fromstringLessons starting on or after this date.
date_tostringLessons starting on or before this date.
statusstringOnly lessons with this status.

teachworks_get_lesson_totals Get lesson totals

Lesson totals for one student, customer or employee: count (default), duration in minutes, or (employees only) earnings, broken down by status, for an optional status and date range. GET /{students|customers|employees}/{id}/lesson_totals.

ParameterTypeDescription
id *The student, customer or employee id.
kind *stringWhose lessons to total.
date_fromstringLessons starting on or after this date.
date_tostringLessons starting on or before this date.
measurestringcount (default), duration (minutes) or earnings (employees only).
statusstringOnly lessons with this status.

teachworks_list_lessons List lessons

List lessons (the calendar) with teacher, service, location, start/end, duration, status and participants. Filter by teacher, student, location, service, status and date range. GET /lessons.

ParameterTypeDescription
custom_statusstringSearch by custom status (Custom Statuses add-on).
date_fromstringLessons starting on or after this date.
date_tostringLessons starting on or before this date.
directionstringSort by id ascending (default) or descending (newest first).
employee_idOnly lessons taught by this teacher (employee id).
from_datestringLessons starting on exactly this date.
include_deletedbooleantrue = include deleted lessons.
joinablebooleantrue = only lessons marked joinable.
location_idOnly lessons at this location (exact).
location_or_parent_location_idLessons at this location or any of its sub-locations.
namestringSearch by lesson name.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).
series_idOnly lessons of this repeating series.
service_idOnly lessons of this service.
statusstring
student_idOnly lessons with this student.

teachworks_get_lesson Get lesson

Retrieve one lesson with its participants (students, statuses, charges, notes), teacher, wage and cost. GET /lessons/{id}.

ParameterTypeDescription
lesson_id *Lesson id.

teachworks_list_other_events List other events

List non-lesson calendar events (meetings, open houses, staff work) with location, times and participants. GET /other_events.

ParameterTypeDescription
date_fromstringEvents starting on or after this date.
date_tostringEvents starting on or before this date.
directionstringSort by id ascending (default) or descending (newest first).
employee_idOnly events of this employee.
from_datestringEvents starting on exactly this date.
location_idOnly events at this location.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).
series_idOnly events of this repeating series.

teachworks_list_availabilities List teacher availability

List teachers' weekly availability slots (day of week + start/end time). Use before scheduling a lesson. GET /availabilities.

ParameterTypeDescription
dayintegerDay of week, Sunday = 0 … Saturday = 6.
directionstringSort by id ascending (default) or descending (newest first).
employee_idOnly this teacher's availability.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).

teachworks_list_invoices List invoices

List invoices with customer, number, dates, status (Saved, Approved, Paid, Void) and totals. Filter by customer, status, invoice date or due date range. GET /invoices.

ParameterTypeDescription
customer_idOnly invoices of this customer.
date_fromstringInvoice date on or after.
date_tostringInvoice date on or before.
directionstringSort by id ascending (default) or descending (newest first).
due_fromstringDue date on or after.
due_tostringDue date on or before (e.g. today, to find overdue invoices together with status Approved).
numberInvoice number.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).
statusstring

teachworks_get_invoice Get invoice

Retrieve one invoice with its line items (lessons, charges), taxes and totals. GET /invoices/{id}.

ParameterTypeDescription
invoice_id *Invoice id.

teachworks_list_payments List payments

List customer payments (amount, method, date, refunds, invoice allocations). Filter by customer and date range. GET /payments.

ParameterTypeDescription
customer_idOnly payments of this customer.
date_fromstringPayment date on or after.
date_tostringPayment date on or before.
directionstringSort by id ascending (default) or descending (newest first).
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).

teachworks_get_payment Get payment

Retrieve one payment with its refunds and the invoices it is allocated to. GET /payments/{id}.

ParameterTypeDescription
payment_id *Payment id.

teachworks_list_locations List locations

List locations and sub-locations (rooms) where lessons take place. GET /locations.

ParameterTypeDescription
directionstringSort by id ascending (default) or descending (newest first).
namestringSearch by name.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).

teachworks_list_services List services

List services (lesson types such as 'Math Tutoring') with their default cost and wage. GET /services.

ParameterTypeDescription
directionstringSort by id ascending (default) or descending (newest first).
namestringSearch by name.
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).

teachworks_list_subjects List subjects

List standard subjects (used on student and teacher profiles). GET /subjects.

ParameterTypeDescription
directionstringSort by id ascending (default) or descending (newest first).
namestringSearch by name (partial match).
pageintegerPage number (1-based, default 1).
per_pageintegerRecords per page (default 20, max 50).

teachworks_create_family Create family

WRITE: create a family customer (the billed parent profile that child students belong to). Add children afterwards with teachworks_create_child_student. POST /customers/family.

ParameterTypeDescription
first_name *stringParent first name(s), e.g. 'Frank & Tina'.
last_name *stringFamily last name.
additional_notesstring
addressstring
citystring
countrystring
emailstringPrimary email (notifications, user account).
home_phonestring
mobile_phonestring
statestring
statusstringDefaults to Active; use Prospective for leads.
zipstring

teachworks_create_child_student Create child student

WRITE: create a child student under an existing family (the family is billed for their lessons). POST /students.

ParameterTypeDescription
customer_id *The family (customer) id the student belongs to.
first_name *string
last_name *string
additional_notesstring
birth_datestring
default_location_id
default_service_idsarrayDefault service ids.
default_teacher_idsarrayDefault teacher (employee) ids.
emailstring
gradestring
mobile_phonestring
schoolstring
standard_subject_idsarraySubject ids.
start_datestring
statusstring

teachworks_create_lesson Create lesson

WRITE: schedule a single lesson on the calendar for one or more students with a teacher, service and location. Check teachworks_list_availabilities and teachworks_list_lessons first to avoid conflicts. POST /lessons.

ParameterTypeDescription
employee_id *Teacher (employee) id.
from_date *stringStart date.
from_time *stringStart time, e.g. 16:00.
service_id *Service id (sets the default cost and wage).
student_ids *arrayStudent ids attending.
to_time *stringEnd time, e.g. 17:00.
descriptionstring
location_idLocation id.
namestringLesson name (defaults per Teachworks settings).
spacesintegerNumber of student spaces (group lessons).
time_zonestringRails time zone name, e.g. 'Eastern Time (US & Canada)' (defaults to the account's).
to_datestringEnd date (defaults to from_date).

teachworks_add_student_to_lesson Add student to lesson

WRITE: add a student to an existing lesson (the lesson must still be Scheduled). PUT /lessons/{id}/add_student.

ParameterTypeDescription
lesson_id *Lesson id.
student_id *Student id to add.

teachworks_create_payment Record payment

WRITE: record a payment received from a customer (bookkeeping only — it does not charge a card). POST /payments.

ParameterTypeDescription
amount *numberAmount paid.
customer_id *Customer that paid.
date *stringPayment date.
descriptionstringDetails, e.g. 'Payment for INV-0216'.
payment_methodstring