calculate_tyg
Calculate the TyG (triglyceride-glucose) index, a surrogate marker of insulin resistance: Ln[triglycerides(mg/dL) × glucose(mg/dL) / 2]. Use when the user provides fasting triglycerides and fasting glucose; values in mmol/L are converted to mg/dL.
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": {
"triglycerides": "<triglycerides>",
"glucose": "<glucose>",
"triglyceridesUnit": "<triglyceridesUnit>",
"glucoseUnit": "<glucoseUnit>"
},
"name": "calculate_tyg"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| glucose | Yes | Fasting glucose value | |
| glucoseUnit | Yes | Glucose unit: mg (mg/dL) or mmol (mmol/L) | |
| triglycerides | Yes | Fasting triglycerides value | |
| triglyceridesUnit | Yes | Triglycerides unit: mg (mg/dL) or mmol (mmol/L) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |