calculate_non_hdl_cholesterol
Calculate non-HDL cholesterol (total − HDL) and the atherogenic ratios TC/HDL, LDL/HDL and TG/HDL. LDL and triglycerides are optional and enable their respective ratios.
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": {
"total": "<total>",
"hdl": "<hdl>"
},
"name": "calculate_non_hdl_cholesterol"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hdl | Yes | HDL cholesterol in mg/dl | |
| ldl | No | LDL cholesterol in mg/dl (optional, enables the LDL/HDL ratio) | |
| total | Yes | Total cholesterol in mg/dl | |
| triglycerides | No | Triglycerides in mg/dl (optional, enables the TG/HDL ratio) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nonHdl | Yes | Non-HDL cholesterol (total − HDL) | |
| tcHdlRatio | Yes | Total cholesterol / HDL ratio | |
| tgHdlRatio | Yes | Triglycerides / HDL ratio (null if no triglycerides) | |
| ldlHdlRatio | Yes | LDL / HDL ratio (null if no LDL) |