Teachworks MCP by usefulapi
v1.32.1Read 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.
| Parameter | Type | Description |
|---|---|---|
customer_id | Only students of this customer/family id. | |
direction | string | Sort by id ascending (default) or descending (newest first). |
email | string | Search by email. |
first_name | string | Search by first name. |
grade | string | Search by grade. |
last_name | string | Search by last name. |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
phone_number | string | Search by phone number. |
school | string | Search by school. |
status | string | |
subject | string | Search by subject. |
type | string | family = 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}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
city | string | |
country | string | |
direction | string | Sort by id ascending (default) or descending (newest first). |
email | string | Search by email. |
first_name | string | Search by first name. |
last_name | string | Search by last name. |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
phone_number | string | Search by phone number. |
state | string | |
status | string | |
type | string | family or independent. |
zip | string |
teachworks_get_customer Get customer
Retrieve one customer (family or independent student) with contact details and custom fields. GET /customers/{id}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
city | string | |
direction | string | Sort by id ascending (default) or descending (newest first). |
email | string | Search by email. |
first_name | string | Search by first name. |
last_name | string | Search by last name. |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
state | string | |
status | string | |
subject | string | Search by subject taught. |
zip | string |
teachworks_get_employee Get employee
Retrieve one employee (teacher or staff): contact details, subjects, wage type, bio, permissions. GET /employees/{id}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
employee_id * | Employee id. | |
date_from | string | Lessons starting on or after this date. |
date_to | string | Lessons starting on or before this date. |
status | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
id * | The student, customer or employee id. | |
kind * | string | Whose lessons to total. |
date_from | string | Lessons starting on or after this date. |
date_to | string | Lessons starting on or before this date. |
measure | string | count (default), duration (minutes) or earnings (employees only). |
status | string | Only 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.
| Parameter | Type | Description |
|---|---|---|
custom_status | string | Search by custom status (Custom Statuses add-on). |
date_from | string | Lessons starting on or after this date. |
date_to | string | Lessons starting on or before this date. |
direction | string | Sort by id ascending (default) or descending (newest first). |
employee_id | Only lessons taught by this teacher (employee id). | |
from_date | string | Lessons starting on exactly this date. |
include_deleted | boolean | true = include deleted lessons. |
joinable | boolean | true = only lessons marked joinable. |
location_id | Only lessons at this location (exact). | |
location_or_parent_location_id | Lessons at this location or any of its sub-locations. | |
name | string | Search by lesson name. |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
series_id | Only lessons of this repeating series. | |
service_id | Only lessons of this service. | |
status | string | |
student_id | Only 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}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
date_from | string | Events starting on or after this date. |
date_to | string | Events starting on or before this date. |
direction | string | Sort by id ascending (default) or descending (newest first). |
employee_id | Only events of this employee. | |
from_date | string | Events starting on exactly this date. |
location_id | Only events at this location. | |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
series_id | Only 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.
| Parameter | Type | Description |
|---|---|---|
day | integer | Day of week, Sunday = 0 … Saturday = 6. |
direction | string | Sort by id ascending (default) or descending (newest first). |
employee_id | Only this teacher's availability. | |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records 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.
| Parameter | Type | Description |
|---|---|---|
customer_id | Only invoices of this customer. | |
date_from | string | Invoice date on or after. |
date_to | string | Invoice date on or before. |
direction | string | Sort by id ascending (default) or descending (newest first). |
due_from | string | Due date on or after. |
due_to | string | Due date on or before (e.g. today, to find overdue invoices together with status Approved). |
number | Invoice number. | |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
status | string |
teachworks_get_invoice Get invoice
Retrieve one invoice with its line items (lessons, charges), taxes and totals. GET /invoices/{id}.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
customer_id | Only payments of this customer. | |
date_from | string | Payment date on or after. |
date_to | string | Payment date on or before. |
direction | string | Sort by id ascending (default) or descending (newest first). |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records 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}.
| Parameter | Type | Description |
|---|---|---|
payment_id * | Payment id. |
teachworks_list_locations List locations
List locations and sub-locations (rooms) where lessons take place. GET /locations.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort by id ascending (default) or descending (newest first). |
name | string | Search by name. |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records 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.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort by id ascending (default) or descending (newest first). |
name | string | Search by name. |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records per page (default 20, max 50). |
teachworks_list_subjects List subjects
List standard subjects (used on student and teacher profiles). GET /subjects.
| Parameter | Type | Description |
|---|---|---|
direction | string | Sort by id ascending (default) or descending (newest first). |
name | string | Search by name (partial match). |
page | integer | Page number (1-based, default 1). |
per_page | integer | Records 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.
| Parameter | Type | Description |
|---|---|---|
first_name * | string | Parent first name(s), e.g. 'Frank & Tina'. |
last_name * | string | Family last name. |
additional_notes | string | |
address | string | |
city | string | |
country | string | |
email | string | Primary email (notifications, user account). |
home_phone | string | |
mobile_phone | string | |
state | string | |
status | string | Defaults to Active; use Prospective for leads. |
zip | string |
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.
| Parameter | Type | Description |
|---|---|---|
customer_id * | The family (customer) id the student belongs to. | |
first_name * | string | |
last_name * | string | |
additional_notes | string | |
birth_date | string | |
default_location_id | ||
default_service_ids | array | Default service ids. |
default_teacher_ids | array | Default teacher (employee) ids. |
email | string | |
grade | string | |
mobile_phone | string | |
school | string | |
standard_subject_ids | array | Subject ids. |
start_date | string | |
status | string |
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.
| Parameter | Type | Description |
|---|---|---|
employee_id * | Teacher (employee) id. | |
from_date * | string | Start date. |
from_time * | string | Start time, e.g. 16:00. |
service_id * | Service id (sets the default cost and wage). | |
student_ids * | array | Student ids attending. |
to_time * | string | End time, e.g. 17:00. |
description | string | |
location_id | Location id. | |
name | string | Lesson name (defaults per Teachworks settings). |
spaces | integer | Number of student spaces (group lessons). |
time_zone | string | Rails time zone name, e.g. 'Eastern Time (US & Canada)' (defaults to the account's). |
to_date | string | End 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.
| Parameter | Type | Description |
|---|---|---|
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.
| Parameter | Type | Description |
|---|---|---|
amount * | number | Amount paid. |
customer_id * | Customer that paid. | |
date * | string | Payment date. |
description | string | Details, e.g. 'Payment for INV-0216'. |
payment_method | string |