health-api
v1.0.6Clinical AI for lab analysis, biomarker scoring, health narratives, and risk insights.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
analyze_lab_results
Analyze lab biomarkers: score each value against reference ranges, flag abnormalities, calculate overall risk score, and return clinical interpretations. Use this when you have structured lab values (name, value, unit, reference ranges).
| Parameter | Type | Description |
|---|---|---|
biomarkers * | array | Array of lab biomarkers to analyze |
normalize_lab_text
Extract and normalize lab biomarkers from raw lab report text (e.g., copy-pasted from a PDF or OCR output). Returns structured biomarker objects with standardized names.
| Parameter | Type | Description |
|---|---|---|
rawText * | string | Raw text from a lab report — can be messy or unstructured |
normalize_biomarkers
Standardize biomarker names and optionally convert units. Maps aliases like 'HbA1c', 'Hemoglobin A1c', 'Glycated Hemoglobin' → 'HbA1c'. Supports mg/dL ↔ mmol/L conversion for glucose, cholesterol, triglycerides.
| Parameter | Type | Description |
|---|---|---|
biomarkers * | array | |
targetUnit | string | Desired output unit for applicable biomarkers (e.g., 'mg/dL' or 'mmol/L') |
generate_clinical_insights
Generate prioritized clinical insights from lab biomarkers. Returns findings ranked by priority (critical → elevated → normal), specific recommendations, and overall risk assessment. Best for powering clinical decision support features.
| Parameter | Type | Description |
|---|---|---|
biomarkers * | array | |
context | string | Additional clinical context (e.g., 'patient has Type 2 diabetes') |
patientAge | number | Patient age in years (optional, improves risk assessment) |
generate_health_narrative
Generate a plain-English health narrative from lab results. Suitable for patient-facing summaries, health reports, or wellness app descriptions. Translates clinical data into clear, actionable language.
| Parameter | Type | Description |
|---|---|---|
biomarkers * | array | |
patientAge | number | Patient age (optional) |
patientName | string | Patient name for personalized narrative (optional) |
get_health_score
Calculate an aggregate health score (0–100) from biomarker data. Breaks down into category scores: metabolic, cardiovascular, kidney, liver, thyroid. Higher score = better health.
| Parameter | Type | Description |
|---|---|---|
biomarkers * | array |
predict_disease_risk
Predict risk for 10 chronic diseases from biomarker data: Diabetes, Cardiovascular, Metabolic Syndrome, Thyroid, Kidney (CKD), Liver/NAFLD, Anemia, Systemic Inflammation, Vitamin D deficiency, and Insulin Resistance. Returns risk score (0-100), tier, confidence, ICD-10 codes, timeline estimates, and personalized recommendations. Costs 15 credits.
| Parameter | Type | Description |
|---|---|---|
biomarkers * | array | Array of lab biomarkers to assess disease risk against |
analyze_biomarker_timeline
Analyze longitudinal trends for one or more biomarkers across multiple time points. Performs linear regression, calculates rate of change, projects values 6 and 12 months forward, and estimates when biomarkers will cross clinical thresholds. Use this when the patient has multiple lab results over time to detect if their health is improving or deteriorating. Costs 10 credits.
| Parameter | Type | Description |
|---|---|---|
timelines * | array | Array of biomarker time series to analyze |
get_api_account
Get your E-Labus API account status: current plan, credit balance, and usage summary. Use this to check how many API credits remain.