📋 Generating complete MCP tools documentation... === COMPLETE TOOL INVENTORY === ## Tool Statistics - **Total Tools**: 175 - **Public Tools**: 59 (no authentication required) - **Provider Tools**: 113 (provider/EMR authentication required) - **Patient Tools**: 1 (patient portal authentication required) - **Partner Tools**: 1 (partner business authentication required) - **Affiliate Tools**: 1 (affiliate business authentication required) - **Network Tools**: 0 (network business authentication required) ## Functional Distribution - **User Management**: 37 tools (18 public, 19 provider) - **Medical Records**: 22 tools (6 public, 16 provider) - **Appointment Scheduling**: 20 tools (5 public, 15 provider) - **Prescription Management**: 13 tools (11 public, 2 provider) - **Patient Management**: 12 tools (1 public, 11 provider) - **Billing Orders**: 12 tools (2 public, 10 provider) - **Analytics Reports**: 12 tools (9 provider, 1 patient, 1 partner, 1 affiliate) - **Inventory**: 11 tools (8 public, 3 provider) - **Business Operations**: 8 tools (2 public, 6 provider) - **Document Management**: 7 tools (2 public, 5 provider) - **Provider Management**: 5 tools (2 public, 3 provider) - **Undefined**: 5 tools (5 provider) - **Forms Questionnaires**: 4 tools (2 public, 2 provider) - **Messaging**: 4 tools (4 provider) - **Location Management**: 3 tools (3 provider) --- ## Public Tools (59 tools) ### Appointment Scheduling | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_get_appointmentverify` | GET | `/api/appointment/verify/{appointmentId}` | Verify appointment access and redirect | | `public_manage_appointmentParticipant` | ANY | `/api/appointment-participants/{appointmentId}` | Get appointment participants | | `public_manage_getAvailableSlotsData` | ANY | `/api/get-available-slots-data/{practitionerId}/` | Get available appointment slots for practitioner | | `public_manage_getGoogleAvailableSlotsData` | ANY | `/api/get-google-available-slots-data/{practitionerId}/` | Get Google calendar available slots for practitioner | | `public_create_patientBookAppointment` | POST | `/api/patient-book-appointment` | Book appointment for patient | ### User Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_get_generatePermanentToken` | GET | `/api/generate-permanent-token/{userId}` | Generate permanent token for user | | `public_manage_login` | ANY | `/api/login` | Admin panel authentication | | `public_manage_refreshToken` | ANY | `/api/refresh-token` | Refresh authentication token | | `public_manage_userListProfileSkipauth` | ANY | `/api/user-list-profile-skipauth/{id}` | Get user profile by ID without authentication | | `public_create_patientLoginApi` | POST | `/api/patient-login-api` | Patient login API | | `public_get_redirectWithAuth` | GET | `/api/redirect-with-auth/{pid}` | Redirect with authentication | | `public_create_emrsetPassword` | POST | `/api/emr/set-password` | Create password | | `public_create_providerforgotPassword` | POST | `/api/emr/provider/forgot-password` | Provider forgot password | | `public_create_providerresetPassword` | POST | `/api/emr/provider/reset-password` | Provider reset password | | `public_create_patientLoginApi` | POST | `/api/patient-login-api` | Patient login API | | `public_create_loginPartnerApi` | POST | `/api/login-partner-api` | Partner login | | `public_create_affiliateLoginApi` | POST | `/api/affiliate-login-api` | Affiliate login | | `public_create_networklogin` | POST | `/api/network/login` | Network login | | `public_create_adminlogin` | POST | `/api/admin/login` | Super admin login | | `public_create_frontendlogin` | POST | `/api/frontend/login` | Patient portal login | | `public_create_partnerRegisterApi` | POST | `/api/partner-register-api` | Partner registration | | `public_create_affiliateRegisterApi` | POST | `/api/affiliate-register-api` | Affiliate registration | | `public_create_networkregister` | POST | `/api/network/register` | Network registration | ### Forms Questionnaires | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_manage_storeQuestionerFormData` | ANY | `/api/store-questioner-form-data` | Store questioner form data | | `public_manage_storePatientQuestionnaireData` | ANY | `/api/store-patient-questionnaire-data` | Store patient questionnaire data | ### Patient Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_create_registerPatient` | POST | `/api/register-patients` | Register new patient without authentication | ### Billing Orders | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_create_patientOrderCreate` | POST | `/api/patient-order-create` | Create patient order | | `public_manage_getAppointmentOrder` | ANY | `/api/get-appointment-order/{appointment_id}` | Get order details for appointment | ### Business Operations | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_create_emrplansProductSync` | POST | `/api/emr/plans-product-sync` | Sync product plans | | `public_create_emrplansProductUpdate` | POST | `/api/emr/plans-product-update` | Update product on publish | ### Document Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_get_getSignedPatientData` | GET | `/api/get-signed-patient-data/{id}` | Get signed patient data | | `public_get_getdocument` | GET | `/api/emr/get/document/{userId}/{rowId}/{key}` | Create public link for document download | ### Provider Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_create_checkUser` | POST | `/api/check-user` | Check provider user | | `public_create_providerregister` | POST | `/api/emr/provider/register` | Provider registration with complete company and access rights setup | ### Medical Records | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_create_patientssaveDiet` | POST | `/api/emr/patients/save-diet/{patient_id}` | Save diet | | `public_get_patientsgetDiet` | GET | `/api/emr/patients/get-diet/{patient_id}` | Get diet | | `public_create_patientssaveClinicalProfile` | POST | `/api/emr/patients/save-clinical-profile` | Save immunization | | `public_get_patientsgetClinicalProfile` | GET | `/api/emr/patients/get-clinical-profile/{patient_id}` | Get immunization | | `public_get_patientsgetReproductive` | GET | `/api/emr/patients/get-reproductive/{patient_id}` | Get reproductive data | | `public_get_patientsgetMedicalProblem` | GET | `/api/emr/patients/get-medical-problems/{patient_id}` | Get health maintenance | ### Inventory | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_get_emrgetProduct` | GET | `/api/emr/get-products` | Get products | | `public_create_emrsaveProduct` | POST | `/api/emr/save-product` | Save product with actual API parameter names from store.js | | `public_create_emrupdateProduct` | POST | `/api/emr/update-product/{product_id}` | Update product with actual API parameter names from store.js | | `public_delete_emrdeleteProduct` | DELETE | `/api/emr/delete-product/{product_id}` | Delete product | | `public_get_emrgetProductsList` | GET | `/api/emr/get-products-list` | Get products list | | `public_get_emrgetCategorie` | GET | `/api/emr/get-categories` | Get categories | | `public_create_emrsaveCategory` | POST | `/api/emr/save-category` | Save category | | `public_update_emrupdateCategory` | PUT | `/api/emr/update-category/{category_id}` | Update category | ### Prescription Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `public_create_prescriptionstore` | POST | `/api/emr/prescription/store/{patient_id}` | Store medication with actual API parameter names | | `public_get_emrprescription` | GET | `/api/emr/prescriptions/{patient_id}` | Get patient medication data with filters | | `public_update_prescriptionsupdate` | PUT | `/api/emr/prescriptions/update/{prescription_id}` | Update prescription status with actual API parameter names from medicationService.js | | `public_get_emrprescriptionsById` | GET | `/api/emr/prescriptions-by-id/{prescription_id}` | Get medication by ID | | `public_create_saveprescription` | POST | `/api/emr/save/prescription` | Save prescription with actual API parameter names | | `public_update_updateprescription` | PUT | `/api/emr/update/prescription/{prescription_id}` | Update prescription | | `public_get_emrgetPrescriptionList` | GET | `/api/emr/get-prescription-list/{patient_id}` | Get prescription list | | `public_get_emrgetPrescriptionById` | GET | `/api/emr/get-prescription-by-id/{prescription_id}` | Get prescription by ID | | `public_get_prescriptionsstatusHistory` | GET | `/api/emr/prescriptions/status-history/{prescription_id}` | Get prescription history | | `public_update_emrupdatePrescriptionStatu` | PUT | `/api/emr/update-prescription-status/{prescription_id}` | Update prescription status with complete tracking data | | `public_delete_emrprescriptionStatusHistory` | DELETE | `/api/emr/prescription-status-history/{history_id}` | Delete prescription history | --- ## Provider Tools (113 tools) ### User Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_create_setPassword` | POST | `/set-password` | Set patient password | | `provider_create_activateAccount` | POST | `/activate-account` | Activate patient account | | `provider_create_emrrolesCreate` | POST | `/api/emr/roles-create` | Admin get roles save | | `provider_update_emrrolesUpdate` | PUT | `/api/emr/roles-update/{role_id}` | Admin update roles by ID | | `provider_get_emrrole` | GET | `/api/emr/roles` | Admin get roles | | `provider_delete_emrrolesDelete` | DELETE | `/api/emr/roles-delete/{role_id}` | Admin delete roles by ID | | `provider_get_emrrolesById` | GET | `/api/emr/roles-by-id/{role_id}` | Admin get roles by ID | | `provider_get_emrgetRolesList` | GET | `/api/emr/get-roles-list` | Roles list dropdown | | `provider_get_emrpermissionsById` | GET | `/api/emr/permissions-by-id/{role_id}` | Admin get permission role | | `provider_create_emrstorePermission` | POST | `/api/emr/store-permissions` | Admin update permission | | `provider_create_emrrefreshAbilitie` | POST | `/api/emr/refresh-abilities` | Refresh abilities link | | `provider_get_task` | GET | `/api/tasks` | Get task list | | `provider_create_task` | POST | `/api/tasks` | Create new task | | `provider_update_task` | PUT | `/api/tasks/{id}` | Update task | | `provider_manage_task` | ANY | `/api/tasks/{patient_id}` | Get tasks for patient | | `provider_manage_addTask` | ANY | `/api/add-task/{patient_id}` | Add task for patient | | `provider_get_appsuser` | GET | `/api/apps/users` | Patient list/add/update | | `provider_create_appsuser` | POST | `/api/apps/users` | Add user | | `provider_update_appsuser` | PUT | `/api/apps/users/{user_id}` | Update user | ### Medical Records | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_create_familyHistorystore` | POST | `/api/emr/family-history/store` | Store family history | | `provider_get_familyHistoryget` | GET | `/api/emr/family-history/get/{patient_id}` | Get family history | | `provider_get_familyHistorygetAllergie` | GET | `/api/emr/family-history/get-allergies/{patient_id}` | Get allergies | | `provider_create_familyHistoryallergie` | POST | `/api/emr/family-history/allergies` | Post allergies | | `provider_get_providergetAllPatientLabOrder` | GET | `/api/emr/provider/get-all-patient-lab-orders` | Provider get lab orders | | `provider_update_patientsoapNote` | PUT | `/api/emr/patient/{id}/soap-notes` | Update patient SOAP notes | | `provider_create_patientsstoreFamilyRelationHistory` | POST | `/api/emr/patients/store-family-relation-history/{pid}` | Store family history | | `provider_get_patientsgetFamilyRelationHistory` | GET | `/api/emr/patients/get-family-relation-history/{pid}` | Get clinical history | | `provider_create_patientsstoreReproductive` | POST | `/api/emr/patients/store-reproductive/{pid}` | Store reproductive history | | `provider_create_patientsstoreVital` | POST | `/api/emr/patients/store-vitals/{pid}` | Add patient vitals | | `provider_get_emrgetVital` | GET | `/api/emr/get-vital/{pid}` | Get patient vitals | | `provider_get_medicalProblem` | GET | `/api/medical-problems/{puuid}` | Get medical problems for patient | | `provider_create_medicalProblemsStore` | POST | `/api/medical-problems-store/{puuid}` | Store medical problem for patient | | `provider_update_medicalProblemsUpdate` | PUT | `/api/medical-problems-update/{muuid}` | Update medical problem | | `provider_manage_addVital` | ANY | `/api/add-vital/{patientId}` | Add vital signs for patient | | `provider_manage_editVital` | ANY | `/api/edit-vital/{id}` | Edit vital signs | ### Document Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_create_emrstoreDocument` | POST | `/api/emr/store-document` | Add document | | `provider_get_patientsprofileImage` | GET | `/api/emr/patients/profile-image/{patient_id}` | Get patient avatar | | `provider_create_patientsstoreDocument` | POST | `/api/emr/patients/store-document/{pid}` | Store patient document | | `provider_get_patientsgetDocument` | GET | `/api/emr/patients/get-document/{pid}` | Get patient documents | | `provider_get_emrdocument` | GET | `/api/emr/document/{did}` | Download document (public with signed URL) | ### Patient Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_tags` | GET | `/api/emr/tags/list/{patient_id}` | Patient tags | | `provider_create_tagsstore` | POST | `/api/emr/tags/store` | Update tags | | `provider_create_emrregisterPatient` | POST | `/api/emr/register-patients` | Register new patient | | `provider_get_emrpatientsList` | GET | `/api/emr/patients-list` | Get patient list with search and pagination | | `provider_get_emrpatientData` | GET | `/api/emr/patient-data/{id}` | Get detailed patient data including medical history | | `provider_create_emrupdatePatient` | POST | `/api/emr/update-patient/{id}` | Update patient information | | `provider_manage_registerPatient` | ANY | `/api/register-patient` | Register new patient (authenticated) | | `provider_get_patient` | GET | `/api/patient/{patient_id}` | Get patient | | `provider_get_emrgetPatientData` | GET | `/api/emr/get-patient-data/{patient_id}` | Get single patient data by ID | | `provider_get_getPatient` | GET | `/api/get-patient/{patient_id}` | Get patient by ID | | `provider_get_patient` | GET | `/api/patient/{patient_id}` | Get patient | ### Forms Questionnaires | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_emrgetPatientSubmittedIntakeData` | GET | `/api/emr/get-patient-submitted-intake-data/{form_id}/{type}` | Get patient submitted intake data | | `provider_get_emrgetConsentForm` | GET | `/api/emr/get-consent-forms` | Get consent forms | ### Billing Orders | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_create_emrinvoiceCreate` | POST | `/api/emr/invoice-create` | Add invoice with complete billing data | | `provider_get_emrinvoice` | GET | `/api/emr/invoice/{invoice_id}` | Invoice get by ID | | `provider_get_emrinvoice` | GET | `/api/emr/invoice/{invoice_id}` | Invoice get by ID | | `provider_update_emrinvoiceUpdate` | PUT | `/api/emr/invoice-update/{invoice_id}` | Update invoice with complete billing data | | `provider_create_emrinvoicePayment` | POST | `/api/emr/invoice-payment` | Pay invoice | | `provider_get_emrinvoiceStat` | GET | `/api/emr/invoice-stats` | Invoice state | | `provider_create_emrsavePaymentMethod` | POST | `/api/emr/save-payment-method` | Save payment method | | `provider_get_emrgetStoredMethod` | GET | `/api/emr/get-stored-methods/{patient_id}` | Get stored card | | `provider_get_insurancePlan` | GET | `/api/insurance-plans` | Get insurance plans | | `provider_create_patientinsurance` | POST | `/api/patient/{id}/insurance` | Add patient insurance | ### Appointment Scheduling | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_appointment` | GET | `/api/appointments` | Get appointments list | | `provider_create_appointment` | POST | `/api/appointments` | Create new appointment | | `provider_update_appointment` | PUT | `/api/appointments/{id}` | Update appointment | | `provider_get_getAppointment` | GET | `/api/get-appointments/{patient_id}` | Get appointments with DataTable server-side parameters | | `provider_get_getAppointmentListDate` | GET | `/api/get-appointment-list-date` | Get filtered appointments | | `provider_create_bookAppointment` | POST | `/api/book-appointment` | Store new appointment | | `provider_create_editBookAppointment` | POST | `/api/edit-book-appointment/{appointment_id}` | Update appointment | | `provider_create_cancelAppointment` | POST | `/api/cancel-appointment/{appointment_id}` | Cancel appointment | | `provider_update_appointmentStatu` | PUT | `/api/appointment-status/{appointment_id}` | Update appointment status | | `provider_get_providerAvailabilityList` | GET | `/api/provider-availability-list/{provider_id}` | Get provider availability | | `provider_create_providerAddAvailability` | POST | `/api/provider-add-availability` | Add availability | | `provider_update_editProviderAvailability` | PUT | `/api/edit-provider-availability/{availability_id}` | Update availability | | `provider_delete_deleteProviderAvailability` | DELETE | `/api/delete-provider-availability/{availability_id}` | Delete availability | | `provider_get_getProviderSlot` | GET | `/api/get-provider-slots/{provider_id}` | Get provider slots | | `provider_create_getAvailableSlotsData` | POST | `/api/get-available-slots-data/{provider_id}` | Get available slots with timezone support | ### Prescription Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_prescription` | GET | `/api/prescriptions` | Get prescriptions list | | `provider_create_prescription` | POST | `/api/prescriptions` | Create new prescription | ### Messaging | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_message` | GET | `/api/messages` | Get messages | | `provider_create_message` | POST | `/api/messages` | Send new message | | `provider_manage_getMessageList` | ANY | `/api/get-message-list/{patient_id}` | Get message list for patient | | `provider_create_addMessage` | POST | `/api/add-message/{patient_id}` | Add message for patient | ### Analytics Reports | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_reportsappointment` | GET | `/api/reports/appointments` | Get appointment analytics | | `provider_get_reportspatient` | GET | `/api/reports/patients` | Get patient analytics | | `provider_create_dashboardState` | POST | `/api/dashboard-states` | Dashboard states with date range | | `provider_create_last-30DaysAppointmentsData` | POST | `/api/last-30-days-appointments-data` | Appointment report | | `provider_get_frontendlast-30DaysAppointmentsData` | GET | `/api/frontend/last-30-days-appointments-data` | Patient dashboard portal | | `provider_get_partnergetPartnerDashboardStat` | GET | `/api/partner/get-partner-dashboard-stats` | Partner dashboard stats | | `provider_get_affiliategetAffiliateDashboardStat` | GET | `/api/affiliate/get-affiliate-dashboard-stats` | Affiliate dashboard stats | | `provider_create_getProviderStat` | POST | `/api/get-provider-stats` | Provider stats | | `provider_get_patientProviderData` | GET | `/api/patient-provider-data` | Patient report | ### Location Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_manage_location` | ANY | `/api/locations` | Get locations list | | `provider_manage_addLocation` | ANY | `/api/add-location` | Add new location | | `provider_manage_updateLocation` | ANY | `/api/update-location/{id}` | Update location | ### Inventory | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_manage_inventory` | ANY | `/api/inventory` | Get inventory list | | `provider_manage_addInventory` | ANY | `/api/add-inventory` | Add new inventory item | | `provider_manage_updateInventory` | ANY | `/api/update-inventory/{id}` | Update inventory item | ### Business Operations | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_create_setting` | POST | `/api/settings` | Get application settings | | `provider_get_getState` | GET | `/api/get-states` | Get states list | | `provider_get_getCitie` | GET | `/api/get-cities/{state_id}` | Get cities by state | | `provider_get_getTimezone` | GET | `/api/get-timezones` | Get timezones | | `provider_get_getCountrie` | GET | `/api/get-countries` | Get countries | | `provider_get_getService` | GET | `/api/get-services` | Get services list | ### Provider Management | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_getSpecialtie` | GET | `/api/get-specialties` | Get specialties | | `provider_get_getProvider` | GET | `/api/get-providers` | Get providers list | | `provider_get_getProviderDetail` | GET | `/api/get-provider-details/{provider_id}` | Get provider details | ### Undefined | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `provider_get_getInsurancePlan` | GET | `/api/get-insurance-plans` | Get insurance plans | | `provider_create_validateInsurance` | POST | `/api/validate-insurance` | Validate insurance | | `provider_create_sendNotification` | POST | `/api/send-notification` | Send notification | | `provider_get_getNotification` | GET | `/api/get-notifications` | Get notifications | | `provider_update_markNotificationRead` | PUT | `/api/mark-notification-read/{notification_id}` | Mark notification as read | --- ## Patient Tools (1 tools) ### Analytics Reports | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `patient_get_frontendlast-30DaysAppointmentsData` | GET | `/api/frontend/last-30-days-appointments-data` | Patient dashboard portal | --- ## Partner Tools (1 tools) ### Analytics Reports | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `partner_get_partnergetPartnerDashboardStat` | GET | `/api/partner/get-partner-dashboard-stats` | Partner dashboard stats | --- ## Affiliate Tools (1 tools) ### Analytics Reports | Tool Name | Method | Endpoint | Description | | --------- | ------ | -------- | ----------- | | `affiliate_get_affiliategetAffiliateDashboardStat` | GET | `/api/affiliate/get-affiliate-dashboard-stats` | Affiliate dashboard stats | --- === DOCUMENTATION GENERATED === Copy the output above to update the MCP-TOOLS-REFERENCE.md file