Health
用 Friedewald 公式间接计算 LDL-C。mg/dL:LDL-C = 总胆固醇 − HDL-C − 甘油三酯/5;mmol/L:LDL-C = TC − HDL-C − TG/2.2。该公式假设 TG 与 VLDL-C 比值恒为 5:1,当 TG ≥ 400 mg/dL(4.5 mmol/L)时不再可靠——会系统性低估 LDL-C,应改用直接法或 Martin/Hopkins(2013)、Sampson-NIH(2020)公式;非空腹餐后(乳糜微粒)、III 型异常 β 脂蛋白血症及 LDL-C < 70 mg/dL 时亦不准确。治疗阈值(ACC/AHA 2018):< 70 mg/dL(1.8 mmol/L)极高危二级预防;< 100 mg/dL(2.6 mmol/L)中危/糖尿病一级预防;100–129 边界;130–159 边界升高;160–189 升高;≥ 190 mg/dL(4.9 mmol/L)提示家族性高胆固醇血症。来源 Friedewald 1972、Martin 2013、Sampson 2020、ACC/AHA 2018。不构成医疗建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/ldl-calculator-friedewald' \
-H 'Content-Type: application/json' \
-d '{"unitSystem":"mgdl","totalCholesterol":220,"hdl":45,"triglycerides":150,"decimalPlaces":1}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/ldl-calculator-friedewald| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| unitSystem | select | 是 | — |
| totalCholesterol | number | 是 | Fasting total cholesterol. Use the unit selected under 'Unit System'. |
| hdl | number | 是 | Fasting HDL-C. Use the unit selected under 'Unit System'. |
| triglycerides | number | 是 | Fasting triglycerides. Use the unit selected under 'Unit System'. Note: Friedewald is unreliable when TG ≥ 400 mg/dL (4.5 mmol/L). |
| decimalPlaces | number | 否 |
将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-ldl-calculator-friedewald": {
"name": "ldl-calculator-friedewald",
"description": "用 Friedewald 公式间接计算 LDL-C。mg/dL:LDL-C = 总胆固醇 − HDL-C − 甘油三酯/5;mmol/L:LDL-C = TC − HDL-C − TG/2.2。该公式假设 TG 与 VLDL-C 比值恒为 5:1,当 TG ≥ 400 mg/dL(4.5 mmol/L)时不再可靠——会系统性低估 LDL-C,应改用直接法或 Martin/Hopkins(2013)、Sampson-NIH(2020)公式;非空腹餐后(乳糜微粒)、III 型异常 β 脂蛋白血症及 LDL-C < 70 mg/dL 时亦不准确。治疗阈值(ACC/AHA 2018):< 70 mg/dL(1.8 mmol/L)极高危二级预防;< 100 mg/dL(2.6 mmol/L)中危/糖尿病一级预防;100–129 边界;130–159 边界升高;160–189 升高;≥ 190 mg/dL(4.9 mmol/L)提示家族性高胆固醇血症。来源 Friedewald 1972、Martin 2013、Sampson 2020、ACC/AHA 2018。不构成医疗建议。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=ldl-calculator-friedewald",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}连接到 SSE 端点后,列出已开放的工具:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}通过工具 id 调用,参数由其参数表构建:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "ldl-calculator-friedewald",
"arguments": {
"unitSystem": "mgdl",
"totalCholesterol": 220,
"hdl": 45,
"triglycerides": 150,
"decimalPlaces": 1
}
}
}有问题或反馈?请联系 [email protected]
| — |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}