calculate_homa_ir
Calculate the HOMA-IR insulin resistance index, HOMA-B% beta-cell function and QUICKI insulin sensitivity index. Use when the user provides fasting glucose and insulin lab values.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"glucose": "<glucose>",
"insulin": "<insulin>",
"glucoseUnit": "<glucoseUnit>",
"insulinUnit": "<insulinUnit>"
},
"name": "calculate_homa_ir"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glucose | Yes | Fasting glucose value | |
| insulin | Yes | Fasting insulin value | |
| glucoseUnit | Yes | Glucose unit: mg (mg/100ml) or mmol (mmol/L) | |
| insulinUnit | Yes | Insulin unit: ul (mIU/L) or pmol (pmol/L) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bResult | Yes | HOMA-B% (beta-cell function); null when glucose <= 63 mg/dL (3.5 mmol/L) | |
| irResult | Yes | HOMA-IR (insulin resistance index) | |
| quickiResult | Yes | QUICKI (insulin sensitivity index); higher = better sensitivity |