{
  "notice": "bxzxxr MCP archive: a record of what public MCP servers declared when we listed them (we never call their tools). It is data, not a rating: nothing here says a server is safe, secure, verified or trustworthy, and a server can change after we looked. Secrets we detected are redacted; redacted tool lists are withheld and only their hash is shown.",
  "infrastructure": {
    "host": "teachworks.usefulapi.io",
    "site": "usefulapi.io",
    "addresses": [
      {
        "address": "104.21.62.184",
        "endpoints": 1098,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "104.21.32.0/19",
          "country": "US"
        }
      },
      {
        "address": "172.67.138.37",
        "endpoints": 1098,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "172.67.128.0/20",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3032::6815:3eb8",
        "endpoints": 1098,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3032::/48",
          "country": "US"
        }
      },
      {
        "address": "2606:4700:3030::ac43:8a25",
        "endpoints": 1098,
        "shared_infrastructure": true,
        "network": {
          "asn": 13335,
          "name": "CLOUDFLARENET - Cloudflare, Inc.",
          "prefix": "2606:4700:3030::/48",
          "country": "US"
        }
      }
    ],
    "addresses_recorded": true,
    "address_history": [
      {
        "addresses": [
          "104.21.62.184",
          "172.67.138.37",
          "2606:4700:3032::6815:3eb8",
          "2606:4700:3030::ac43:8a25"
        ],
        "first_seen": "2026-11-22T22:32:01.558Z",
        "last_seen": "2026-11-22T22:32:01.558Z",
        "checks": 1
      }
    ],
    "hosting": [
      {
        "value": "Cloudflare",
        "evidence": "Server header \"cloudflare\""
      }
    ],
    "software": [],
    "server_info": {
      "name": "teachworks-mcp",
      "version": "1.31.4",
      "protocol_version": "2025-06-18"
    },
    "headers": {
      "server": "cloudflare"
    },
    "auth": null
  },
  "related": {
    "same_address": {
      "total": 1097,
      "sample": [
        {
          "id": "22186",
          "url": "https://mcp.easyscribe.guide/mcp",
          "server_name": "guide.easyscribe/easy-scribe",
          "last_state": "listed",
          "last_checked_at": "2026-11-22T17:59:02.319Z"
        },
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        }
      ]
    },
    "same_site": {
      "total": 1103,
      "sample": [
        {
          "id": "42087",
          "url": "https://17track.usefulapi.io/mcp",
          "server_name": "io.usefulapi/17track",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:37:00.117Z"
        },
        {
          "id": "42088",
          "url": "https://a2x-accounting.usefulapi.io/mcp",
          "server_name": "io.usefulapi/a2x-accounting",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:38:01.144Z"
        },
        {
          "id": "42089",
          "url": "https://abacus-pos.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abacus-pos",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:39:01.150Z"
        },
        {
          "id": "42090",
          "url": "https://abaninja.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abaninja",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:40:04.827Z"
        },
        {
          "id": "42091",
          "url": "https://ablesign.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ablesign",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:41:00.510Z"
        },
        {
          "id": "42092",
          "url": "https://ably.usefulapi.io/mcp",
          "server_name": "io.usefulapi/ably",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:42:01.406Z"
        },
        {
          "id": "42093",
          "url": "https://abra-flexi.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abra-flexi",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:43:00.718Z"
        },
        {
          "id": "42094",
          "url": "https://absence-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/absence-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:44:09.505Z"
        },
        {
          "id": "42095",
          "url": "https://abstract-api.usefulapi.io/mcp",
          "server_name": "io.usefulapi/abstract-api",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:45:03.727Z"
        },
        {
          "id": "42096",
          "url": "https://academy-of-mine.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academy-of-mine",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:46:00.640Z"
        },
        {
          "id": "42097",
          "url": "https://academyocean.usefulapi.io/mcp",
          "server_name": "io.usefulapi/academyocean",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:47:00.764Z"
        },
        {
          "id": "42098",
          "url": "https://accelo.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accelo",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:48:07.939Z"
        },
        {
          "id": "42099",
          "url": "https://accredible.usefulapi.io/mcp",
          "server_name": "io.usefulapi/accredible",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:49:01.212Z"
        },
        {
          "id": "42100",
          "url": "https://action1.usefulapi.io/mcp",
          "server_name": "io.usefulapi/action1",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:50:02.305Z"
        },
        {
          "id": "42101",
          "url": "https://acube.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acube",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:51:00.623Z"
        },
        {
          "id": "42102",
          "url": "https://acuity-scheduling.usefulapi.io/mcp",
          "server_name": "io.usefulapi/acuity-scheduling",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:52:00.408Z"
        },
        {
          "id": "42103",
          "url": "https://adafruit-io.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adafruit-io",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:53:01.972Z"
        },
        {
          "id": "42104",
          "url": "https://addevent.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addevent",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:54:01.697Z"
        },
        {
          "id": "42105",
          "url": "https://addressfinder.usefulapi.io/mcp",
          "server_name": "io.usefulapi/addressfinder",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:55:02.861Z"
        },
        {
          "id": "42106",
          "url": "https://adminpulse.usefulapi.io/mcp",
          "server_name": "io.usefulapi/adminpulse",
          "last_state": "listed",
          "last_checked_at": "2026-11-23T01:56:00.432Z"
        }
      ]
    },
    "same_tool_list": {
      "total": 0,
      "sample": []
    },
    "same_publisher": {
      "publisher": "io.usefulapi",
      "total": 1103,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "same_repository": {
      "repository_url": "https://github.com/m190/usefulapi-mcp",
      "total": 1103,
      "sample": [
        {
          "name": "io.usefulapi/17track",
          "title": "17TRACK MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/a2x-accounting",
          "title": "A2X MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abacus-pos",
          "title": "Abacus POS MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abaninja",
          "title": "AbaNinja MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ablesign",
          "title": "AbleSign MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/ably",
          "title": "Ably MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abra-flexi",
          "title": "ABRA Flexi MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/absence-io",
          "title": "absence.io MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/abstract-api",
          "title": "Abstract API MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academy-of-mine",
          "title": "Academy of Mine MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/academyocean",
          "title": "AcademyOcean MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accelo",
          "title": "Accelo MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/accredible",
          "title": "Accredible MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/action1",
          "title": "Action1 MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acube",
          "title": "A-Cube MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/acuity-scheduling",
          "title": "Acuity Scheduling MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adafruit-io",
          "title": "Adafruit IO MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addevent",
          "title": "AddEvent MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/addressfinder",
          "title": "Addressfinder MCP by usefulapi"
        },
        {
          "name": "io.usefulapi/adminpulse",
          "title": "AdminPulse MCP by usefulapi"
        }
      ]
    },
    "note": "Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators."
  },
  "endpoint": {
    "id": "43028",
    "server_name": "io.usefulapi/teachworks",
    "url": "https://teachworks.usefulapi.io/mcp",
    "host": "teachworks.usefulapi.io",
    "transport": "streamable-http",
    "last_checked_at": "2026-11-22T22:32:01.558Z",
    "last_state": "listed",
    "last_detail": null,
    "consecutive_failures": 0,
    "current_sha": "89df9ec1d024a6ae5ed4aaae370181f3526df09651b72ebf2ddd6cd55231852b",
    "first_listed_at": "2026-11-22T22:32:01.558Z",
    "created_at": "2026-11-21T12:45:11.840Z",
    "resolved_addresses": [
      "104.21.62.184",
      "172.67.138.37",
      "2606:4700:3032::6815:3eb8",
      "2606:4700:3030::ac43:8a25"
    ]
  },
  "server": {
    "name": "io.usefulapi/teachworks",
    "title": "Teachworks MCP by usefulapi",
    "description": "Read Teachworks students, families, tutors, lessons, invoices and payments; book lessons.",
    "version": "1.31.4",
    "registry_status": "active",
    "repository_url": "https://github.com/m190/usefulapi-mcp",
    "website_url": "https://usefulapi.io/teachworks/",
    "published_at": "2026-11-18T11:02:07.956Z",
    "updated_at": "2026-11-18T11:02:07.956Z",
    "first_seen": "2026-11-21T12:45:11.190Z"
  },
  "other_endpoints": [],
  "intel": {
    "capabilities": [
      "takes-payment"
    ],
    "evm_addresses": [],
    "chains": [],
    "tokens": [],
    "computed_at": "2026-11-22T22:32:14.675Z"
  },
  "operator": {
    "key": "usefulapi.io",
    "name": "usefulapi.io",
    "platform": false,
    "marketplace": false
  },
  "needs_sign_in": false,
  "reachability": {
    "window_days": 30,
    "checks": 1,
    "answered": 1,
    "answered_percent": 100,
    "avg_listing_latency_ms": 298,
    "first_check_in_window": "2026-11-22T22:32:01.558Z",
    "consecutive_failures_now": 0,
    "days": [
      {
        "day": "2026-11-22",
        "checks": 1,
        "answered": 1,
        "last_state": "listed"
      }
    ]
  },
  "tool_list": {
    "sha256": "89df9ec1d024a6ae5ed4aaae370181f3526df09651b72ebf2ddd6cd55231852b",
    "tools": 24,
    "resources": 0,
    "prompts": 7,
    "first_seen": "2026-11-22T22:32:01.876Z",
    "tool_names": [
      "teachworks_list_students",
      "teachworks_get_student",
      "teachworks_list_customers",
      "teachworks_get_customer",
      "teachworks_list_employees",
      "teachworks_get_employee",
      "teachworks_get_employee_earnings",
      "teachworks_get_lesson_totals",
      "teachworks_list_lessons",
      "teachworks_get_lesson",
      "teachworks_list_other_events",
      "teachworks_list_availabilities",
      "teachworks_list_invoices",
      "teachworks_get_invoice",
      "teachworks_list_payments",
      "teachworks_get_payment",
      "teachworks_list_locations",
      "teachworks_list_services",
      "teachworks_list_subjects",
      "teachworks_create_family",
      "teachworks_create_child_student",
      "teachworks_create_lesson",
      "teachworks_add_student_to_lesson",
      "teachworks_create_payment"
    ],
    "declared": {
      "tools": [
        {
          "name": "teachworks_list_students",
          "title": "List students",
          "description": "List or search students (child students of families and independent students) with their school, grade, subjects, status, billing method and default teachers. GET /students.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "type": {
                "enum": [
                  "family",
                  "independent"
                ],
                "type": "string",
                "description": "family = child students, independent = independent students."
              },
              "email": {
                "type": "string",
                "description": "Search by email."
              },
              "grade": {
                "type": "string",
                "description": "Search by grade."
              },
              "school": {
                "type": "string",
                "description": "Search by school."
              },
              "status": {
                "enum": [
                  "Active",
                  "Inactive",
                  "Prospective"
                ],
                "type": "string"
              },
              "subject": {
                "type": "string",
                "description": "Search by subject."
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "last_name": {
                "type": "string",
                "description": "Search by last name."
              },
              "first_name": {
                "type": "string",
                "description": "Search by first name."
              },
              "customer_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only students of this customer/family id."
              },
              "phone_number": {
                "type": "string",
                "description": "Search by phone number."
              }
            }
          },
          "annotations": {
            "title": "List students",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_student",
          "title": "Get student",
          "description": "Retrieve one student profile: contact details, school/grade, billing, custom fields, default teachers/services. GET /students/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "student_id"
            ],
            "properties": {
              "student_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Student id."
              }
            }
          },
          "annotations": {
            "title": "Get student",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_customers",
          "title": "List customers",
          "description": "List or search customers — the billed profiles: families (with child students) and independent students. Returns contact details, status and last invoice date. GET /customers.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "zip": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "type": {
                "enum": [
                  "family",
                  "independent"
                ],
                "type": "string",
                "description": "family or independent."
              },
              "email": {
                "type": "string",
                "description": "Search by email."
              },
              "state": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Active",
                  "Inactive",
                  "Prospective"
                ],
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "last_name": {
                "type": "string",
                "description": "Search by last name."
              },
              "first_name": {
                "type": "string",
                "description": "Search by first name."
              },
              "phone_number": {
                "type": "string",
                "description": "Search by phone number."
              }
            }
          },
          "annotations": {
            "title": "List customers",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_customer",
          "title": "Get customer",
          "description": "Retrieve one customer (family or independent student) with contact details and custom fields. GET /customers/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id"
            ],
            "properties": {
              "customer_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Customer id."
              }
            }
          },
          "annotations": {
            "title": "Get customer",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_employees",
          "title": "List employees",
          "description": "List or search employees — teachers/tutors and administrative staff — with subjects, status and wage settings. GET /employees.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "zip": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "email": {
                "type": "string",
                "description": "Search by email."
              },
              "state": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Active",
                  "Inactive",
                  "Prospective"
                ],
                "type": "string"
              },
              "subject": {
                "type": "string",
                "description": "Search by subject taught."
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "last_name": {
                "type": "string",
                "description": "Search by last name."
              },
              "first_name": {
                "type": "string",
                "description": "Search by first name."
              }
            }
          },
          "annotations": {
            "title": "List employees",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_employee",
          "title": "Get employee",
          "description": "Retrieve one employee (teacher or staff): contact details, subjects, wage type, bio, permissions. GET /employees/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "employee_id"
            ],
            "properties": {
              "employee_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Employee id."
              }
            }
          },
          "annotations": {
            "title": "Get employee",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_employee_earnings",
          "title": "Get employee earnings",
          "description": "Total earnings of one employee (lessons, other events, other compensation, total) for an optional lesson status and date range. GET /employees/{id}/earnings.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "employee_id"
            ],
            "properties": {
              "status": {
                "enum": [
                  "Scheduled",
                  "Attended",
                  "Cancelled",
                  "Missed"
                ],
                "type": "string",
                "description": "Only lessons with this status."
              },
              "date_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on or before this date."
              },
              "date_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on or after this date."
              },
              "employee_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Employee id."
              }
            }
          },
          "annotations": {
            "title": "Get employee earnings",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_lesson_totals",
          "title": "Get lesson totals",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "kind",
              "id"
            ],
            "properties": {
              "id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "The student, customer or employee id."
              },
              "kind": {
                "enum": [
                  "student",
                  "customer",
                  "employee"
                ],
                "type": "string",
                "description": "Whose lessons to total."
              },
              "status": {
                "enum": [
                  "Scheduled",
                  "Attended",
                  "Cancelled",
                  "Missed"
                ],
                "type": "string",
                "description": "Only lessons with this status."
              },
              "date_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on or before this date."
              },
              "measure": {
                "enum": [
                  "count",
                  "duration",
                  "earnings"
                ],
                "type": "string",
                "description": "count (default), duration (minutes) or earnings (employees only)."
              },
              "date_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on or after this date."
              }
            }
          },
          "annotations": {
            "title": "Get lesson totals",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_lessons",
          "title": "List lessons",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "description": "Search by lesson name."
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "status": {
                "enum": [
                  "Scheduled",
                  "Attended",
                  "Cancelled",
                  "Missed"
                ],
                "type": "string"
              },
              "date_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on or before this date."
              },
              "joinable": {
                "type": "boolean",
                "description": "true = only lessons marked joinable."
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "date_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on or after this date."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "from_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Lessons starting on exactly this date."
              },
              "series_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only lessons of this repeating series."
              },
              "service_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only lessons of this service."
              },
              "student_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only lessons with this student."
              },
              "employee_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only lessons taught by this teacher (employee id)."
              },
              "location_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only lessons at this location (exact)."
              },
              "custom_status": {
                "type": "string",
                "description": "Search by custom status (Custom Statuses add-on)."
              },
              "include_deleted": {
                "type": "boolean",
                "description": "true = include deleted lessons."
              },
              "location_or_parent_location_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Lessons at this location or any of its sub-locations."
              }
            }
          },
          "annotations": {
            "title": "List lessons",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_lesson",
          "title": "Get lesson",
          "description": "Retrieve one lesson with its participants (students, statuses, charges, notes), teacher, wage and cost. GET /lessons/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "lesson_id"
            ],
            "properties": {
              "lesson_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Lesson id."
              }
            }
          },
          "annotations": {
            "title": "Get lesson",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_other_events",
          "title": "List other events",
          "description": "List non-lesson calendar events (meetings, open houses, staff work) with location, times and participants. GET /other_events.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "date_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Events starting on or before this date."
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "date_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Events starting on or after this date."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "from_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Events starting on exactly this date."
              },
              "series_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only events of this repeating series."
              },
              "employee_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only events of this employee."
              },
              "location_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only events at this location."
              }
            }
          },
          "annotations": {
            "title": "List other events",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_availabilities",
          "title": "List teacher availability",
          "description": "List teachers' weekly availability slots (day of week + start/end time). Use before scheduling a lesson. GET /availabilities.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "day": {
                "type": "integer",
                "maximum": 6,
                "minimum": 0,
                "description": "Day of week, Sunday = 0 … Saturday = 6."
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "employee_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only this teacher's availability."
              }
            }
          },
          "annotations": {
            "title": "List teacher availability",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_invoices",
          "title": "List invoices",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "due_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Due date on or before (e.g. today, to find overdue invoices together with status Approved)."
              },
              "number": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "minimum": -9007199254740991
                  },
                  {
                    "type": "string"
                  }
                ],
                "description": "Invoice number."
              },
              "status": {
                "enum": [
                  "Saved",
                  "Approved",
                  "Paid",
                  "Void"
                ],
                "type": "string"
              },
              "date_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Invoice date on or before."
              },
              "due_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Due date on or after."
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "date_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Invoice date on or after."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "customer_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only invoices of this customer."
              }
            }
          },
          "annotations": {
            "title": "List invoices",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_invoice",
          "title": "Get invoice",
          "description": "Retrieve one invoice with its line items (lessons, charges), taxes and totals. GET /invoices/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "invoice_id"
            ],
            "properties": {
              "invoice_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Invoice id."
              }
            }
          },
          "annotations": {
            "title": "Get invoice",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_payments",
          "title": "List payments",
          "description": "List customer payments (amount, method, date, refunds, invoice allocations). Filter by customer and date range. GET /payments.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "date_to": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Payment date on or before."
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "date_from": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Payment date on or after."
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              },
              "customer_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Only payments of this customer."
              }
            }
          },
          "annotations": {
            "title": "List payments",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_get_payment",
          "title": "Get payment",
          "description": "Retrieve one payment with its refunds and the invoices it is allocated to. GET /payments/{id}.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "payment_id"
            ],
            "properties": {
              "payment_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Payment id."
              }
            }
          },
          "annotations": {
            "title": "Get payment",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_locations",
          "title": "List locations",
          "description": "List locations and sub-locations (rooms) where lessons take place. GET /locations.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "description": "Search by name."
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              }
            }
          },
          "annotations": {
            "title": "List locations",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_services",
          "title": "List services",
          "description": "List services (lesson types such as 'Math Tutoring') with their default cost and wage. GET /services.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "description": "Search by name."
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              }
            }
          },
          "annotations": {
            "title": "List services",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_list_subjects",
          "title": "List subjects",
          "description": "List standard subjects (used on student and teacher profiles). GET /subjects.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "properties": {
              "name": {
                "type": "string",
                "description": "Search by name (partial match)."
              },
              "page": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Page number (1-based, default 1).",
                "exclusiveMinimum": 0
              },
              "per_page": {
                "type": "integer",
                "maximum": 50,
                "description": "Records per page (default 20, max 50).",
                "exclusiveMinimum": 0
              },
              "direction": {
                "enum": [
                  "asc",
                  "desc"
                ],
                "type": "string",
                "description": "Sort by id ascending (default) or descending (newest first)."
              }
            }
          },
          "annotations": {
            "title": "List subjects",
            "readOnlyHint": true
          }
        },
        {
          "name": "teachworks_create_family",
          "title": "Create family",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "first_name",
              "last_name"
            ],
            "properties": {
              "zip": {
                "type": "string"
              },
              "city": {
                "type": "string"
              },
              "email": {
                "type": "string",
                "description": "Primary email (notifications, user account)."
              },
              "state": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Active",
                  "Inactive",
                  "Prospective"
                ],
                "type": "string",
                "description": "Defaults to Active; use Prospective for leads."
              },
              "address": {
                "type": "string"
              },
              "country": {
                "type": "string"
              },
              "last_name": {
                "type": "string",
                "minLength": 1,
                "description": "Family last name."
              },
              "first_name": {
                "type": "string",
                "minLength": 1,
                "description": "Parent first name(s), e.g. 'Frank & Tina'."
              },
              "home_phone": {
                "type": "string"
              },
              "mobile_phone": {
                "type": "string"
              },
              "additional_notes": {
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Create family",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "teachworks_create_child_student",
          "title": "Create child student",
          "description": "WRITE: create a child student under an existing family (the family is billed for their lessons). POST /students.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id",
              "first_name",
              "last_name"
            ],
            "properties": {
              "email": {
                "type": "string"
              },
              "grade": {
                "type": "string"
              },
              "school": {
                "type": "string"
              },
              "status": {
                "enum": [
                  "Active",
                  "Inactive",
                  "Prospective"
                ],
                "type": "string"
              },
              "last_name": {
                "type": "string",
                "minLength": 1
              },
              "birth_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              },
              "first_name": {
                "type": "string",
                "minLength": 1
              },
              "start_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
              },
              "customer_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "The family (customer) id the student belongs to."
              },
              "mobile_phone": {
                "type": "string"
              },
              "additional_notes": {
                "type": "string"
              },
              "default_location_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ]
              },
              "default_service_ids": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "string",
                      "pattern": "^\\d+$"
                    }
                  ]
                },
                "description": "Default service ids."
              },
              "default_teacher_ids": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "string",
                      "pattern": "^\\d+$"
                    }
                  ]
                },
                "description": "Default teacher (employee) ids."
              },
              "standard_subject_ids": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "string",
                      "pattern": "^\\d+$"
                    }
                  ]
                },
                "description": "Subject ids."
              }
            }
          },
          "annotations": {
            "title": "Create child student",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "teachworks_create_lesson",
          "title": "Create lesson",
          "description": "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.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "employee_id",
              "student_ids",
              "service_id",
              "from_date",
              "from_time",
              "to_time"
            ],
            "properties": {
              "name": {
                "type": "string",
                "description": "Lesson name (defaults per Teachworks settings)."
              },
              "spaces": {
                "type": "integer",
                "maximum": 9007199254740991,
                "description": "Number of student spaces (group lessons).",
                "exclusiveMinimum": 0
              },
              "to_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "End date (defaults to from_date)."
              },
              "to_time": {
                "type": "string",
                "pattern": "^\\d{1,2}:\\d{2}(:\\d{2})?$",
                "description": "End time, e.g. 17:00."
              },
              "from_date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Start date."
              },
              "from_time": {
                "type": "string",
                "pattern": "^\\d{1,2}:\\d{2}(:\\d{2})?$",
                "description": "Start time, e.g. 16:00."
              },
              "time_zone": {
                "type": "string",
                "description": "Rails time zone name, e.g. 'Eastern Time (US & Canada)' (defaults to the account's)."
              },
              "service_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Service id (sets the default cost and wage)."
              },
              "description": {
                "type": "string"
              },
              "employee_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Teacher (employee) id."
              },
              "location_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Location id."
              },
              "student_ids": {
                "type": "array",
                "items": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "string",
                      "pattern": "^\\d+$"
                    }
                  ]
                },
                "minItems": 1,
                "description": "Student ids attending."
              }
            }
          },
          "annotations": {
            "title": "Create lesson",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "teachworks_add_student_to_lesson",
          "title": "Add student to lesson",
          "description": "WRITE: add a student to an existing lesson (the lesson must still be Scheduled). PUT /lessons/{id}/add_student.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "lesson_id",
              "student_id"
            ],
            "properties": {
              "lesson_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Lesson id."
              },
              "student_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Student id to add."
              }
            }
          },
          "annotations": {
            "title": "Add student to lesson",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        },
        {
          "name": "teachworks_create_payment",
          "title": "Record payment",
          "description": "WRITE: record a payment received from a customer (bookkeeping only — it does not charge a card). POST /payments.",
          "inputSchema": {
            "type": "object",
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "required": [
              "customer_id",
              "amount",
              "date"
            ],
            "properties": {
              "date": {
                "type": "string",
                "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
                "description": "Payment date."
              },
              "amount": {
                "type": "number",
                "description": "Amount paid.",
                "exclusiveMinimum": 0
              },
              "customer_id": {
                "anyOf": [
                  {
                    "type": "integer",
                    "maximum": 9007199254740991,
                    "exclusiveMinimum": 0
                  },
                  {
                    "type": "string",
                    "pattern": "^\\d+$"
                  }
                ],
                "description": "Customer that paid."
              },
              "description": {
                "type": "string",
                "description": "Details, e.g. 'Payment for INV-0216'."
              },
              "payment_method": {
                "enum": [
                  "Cash",
                  "Check",
                  "Credit Card",
                  "Debit Card",
                  "Bank Transfer",
                  "PayPal",
                  "Other"
                ],
                "type": "string"
              }
            }
          },
          "annotations": {
            "title": "Record payment",
            "readOnlyHint": false,
            "openWorldHint": true,
            "idempotentHint": false,
            "destructiveHint": true
          }
        }
      ],
      "tools_omitted": 0,
      "resources": [],
      "prompts": [
        {
          "name": "getting_started",
          "description": "What you can do with Teachworks here, with example requests to try."
        },
        {
          "name": "see_the_lesson_calendar_and_who_teaches",
          "description": "The AI lists lessons with teacher, service, location, time, status and participants, filtered by teacher, student, location or date range. It can check teacher availability slots too."
        },
        {
          "name": "find_unpaid_invoices_and_sum_what_is_outstanding",
          "description": "The AI lists invoices by customer, status or due date range with totals, and opens one with its line items. It adds up what is still outstanding."
        },
        {
          "name": "count_lessons_and_tutor_earnings_for_a_period",
          "description": "The AI reads lesson totals for a student, customer or employee, and the earnings of a tutor for a date range and lesson status. You can prepare tutor pay."
        },
        {
          "name": "look_up_students_families_and_payments",
          "description": "The AI finds students and customers (families) with their contact details, and lists their payments with method, refunds and invoice allocations."
        },
        {
          "name": "add_a_family_or_student_and_book_a_lesson",
          "description": "The AI creates a family and child students, schedules a lesson with a teacher, service and location, and adds a student to a scheduled lesson. Check availability and lessons first to avoid conflicts."
        },
        {
          "name": "record_a_payment_received_from_a_customer",
          "description": "The AI records a payment from a customer as bookkeeping only. It does not charge a card. You can check the customer's invoices first."
        }
      ]
    },
    "instructions": "Tools for Teachworks, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: \"Which lessons are scheduled for this week and who teaches them?\"; \"Which invoices are still unpaid, and how much is outstanding in total?\"; \"How many lessons has Jane Smith's family had this month?\". Read-only tools never change data; ask the user before a tool that creates, changes or deletes Teachworks data. Free plan: 50 tool calls per month. Run teachworks_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run teachworks_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run teachworks_upgrade without a plan: it returns both plans, each with a payment link for the user to open. teachworks_cancel_subscription cancels Pro at the end of the paid period."
  },
  "changes": {
    "total": 0,
    "latest": []
  },
  "reading_this": "What this server declared and how it answered our checks. Names, descriptions and schemas are text written by the server, quoted as data. Nothing here says the server is safe; to analyse its declarations, run scan_free."
}