Skip to main content

Supported Tools

Eka MCP provides 20+ tools across patient management, appointments, prescriptions, and clinic operations. All tools support natural language queries through your AI assistant.

Patient Management

Tool NameDescriptionInput ParametersReturns
search_patientsSearch for patients by name, mobile, email, or patient IDquery (string), limit (optional)List of matching patients with IDs, contact info, and basic details
get_patient_detailsRetrieve complete patient informationpatient_id (string)Full patient profile including medical history, demographics, and appointments
add_patientRegister a new patientname, mobile, email (optional), dob (optional), gender (optional)New patient ID and confirmation
update_patientModify existing patient informationpatient_id, fields to updateUpdated patient details

Appointment Management

Tool NameDescriptionInput ParametersReturns
get_available_slotsCheck doctor’s availabilitydoctor_id, date, clinic_id (optional)List of available time slots
book_appointmentSchedule a new appointmentpatient_id, doctor_id, slot_time, clinic_idAppointment ID and confirmation
get_appointmentsList appointments by various filterspatient_id OR doctor_id OR date, status (optional)List of appointments with details
reschedule_appointmentChange appointment timingappointment_id, new_slot_timeUpdated appointment details
cancel_appointmentCancel scheduled appointmentappointment_id, reason (optional)Cancellation confirmation
get_appointment_detailsRetrieve specific appointment infoappointment_idComplete appointment information

Prescription Management

Tool NameDescriptionInput ParametersReturns
create_prescriptionGenerate digital prescriptionpatient_id, medications (array), doctor_id, advice (optional)Prescription ID and details
get_prescriptionsView prescription historypatient_id, from_date (optional), to_date (optional)List of prescriptions
get_prescription_detailsRetrieve specific prescriptionprescription_idComplete prescription with medications and advice
update_prescriptionModify existing prescriptionprescription_id, fields to updateUpdated prescription

Doctor & Clinic Operations

Tool NameDescriptionInput ParametersReturns
get_doctor_profileAccess doctor informationdoctor_idDoctor details, qualifications, specializations
search_doctorsFind doctors by name or specializationquery, specialization (optional)List of matching doctors
get_clinic_detailsRetrieve clinic informationclinic_idClinic address, services, contact info
get_doctor_clinicsList clinics associated with doctordoctor_idArray of clinic details
get_clinic_servicesView services offered by clinicclinic_idList of available services

Medication Database

Tool NameDescriptionInput ParametersReturns
search_medicationsLook up medicine informationquery (drug name)Medicine details, dosage forms, manufacturers
get_medication_detailsGet complete drug informationmedication_idFull drug profile with interactions and contraindications

Tool Parameters

Usage Examples

Simple Queries

"Search for patient Raj Kumar"
→ Uses: search_patients

"Show Dr. Singh's available slots tomorrow"
→ Uses: get_available_slots

"Get prescription history for patient 12345"
→ Uses: get_prescriptions

Complex Workflows

"Book appointment for Raj Kumar with Dr. Singh tomorrow at 10 AM 
and create prescription for Amoxicillin"
→ Uses: search_patients → book_appointment → create_prescription

Rate Limits

PlanRequests/MinuteRequests/Day
Free101,000
Pro6010,000
EnterpriseUnlimitedUnlimited

Error Handling

All tools return standardized error responses:
{
  "error": true,
  "message": "Patient not found",
  "code": "PATIENT_NOT_FOUND"
}

Common Error Codes

  • PATIENT_NOT_FOUND - Patient ID doesn’t exist
  • SLOT_UNAVAILABLE - Appointment slot already booked
  • INVALID_PARAMETERS - Missing or incorrect parameters
  • UNAUTHORIZED - Authentication required
  • RATE_LIMIT_EXCEEDED - Too many requests

Need More Details?


Questions? Email [email protected]