Health
Glasgow 昏迷评分(GCS)= 睁眼 E(1-4) + 言语 V(1-5) + 运动 M(1-6),总分 3-15。睁眼:自动 4 / 呼之 3 / 疼痛 2 / 无 1;言语:定向 5 / 混乱 4 / 不切题 3 / 难理解 2 / 无 1;运动:遵嘱 6 / 疼痛定位 5 / 逃避 4 / 去皮质 3 / 去脑强直 2 / 无 1。插管/失语者 V 记 1 分(标 1t),建议同时报告 E_M_V 分项。严重度:13-15 轻、9-12 中、3-8 重(常需插管)。来源 Teasdale & Jennett Lancet 1974、Lancet Neurol 2014/2024 更新。不构成医疗建议。
用三种语言从你的代码中调用此工具。
curl -X POST 'https://api.elysiatools.com/zh/api/tools/gcs-calculator' \
-H 'Content-Type: application/json' \
-d '{"eye":"4","verbal":"5","motor":"6"}'以 JSON 形式 POST 提交输入参数。文件类型参数需先单独上传。
POST https://api.elysiatools.com/zh/api/tools/gcs-calculator| 参数名 | 类型 | 必填 | 说明 |
|---|---|---|---|
| eye | select | 是 | Best eye opening response. 4=spontaneous, 3=to sound, 2=to pressure, 1=none. |
| verbal | select | 是 | Best verbal response. 5=oriented, 4=confused, 3=inappropriate words, 2=incomprehensible sounds, 1=none. Intubated/untestable counts as 1 (annotated 1t). |
| motor | select | 是 | Best motor response. 6=obeys commands, 5=localizes pain, 4=normal flexion (withdrawal), 3=abnormal flexion (decorticate), 2=extension (decerebrate), 1=none. |
JSON 结果
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}将此工具加入你的 Model Context Protocol 服务,让 AI 智能体可以列出并调用它。
将以下内容加入你的 MCP 客户端配置:
{
"mcpServers": {
"elysiatools-gcs-calculator": {
"name": "gcs-calculator",
"description": "Glasgow 昏迷评分(GCS)= 睁眼 E(1-4) + 言语 V(1-5) + 运动 M(1-6),总分 3-15。睁眼:自动 4 / 呼之 3 / 疼痛 2 / 无 1;言语:定向 5 / 混乱 4 / 不切题 3 / 难理解 2 / 无 1;运动:遵嘱 6 / 疼痛定位 5 / 逃避 4 / 去皮质 3 / 去脑强直 2 / 无 1。插管/失语者 V 记 1 分(标 1t),建议同时报告 E_M_V 分项。严重度:13-15 轻、9-12 中、3-8 重(常需插管)。来源 Teasdale & Jennett Lancet 1974、Lancet Neurol 2014/2024 更新。不构成医疗建议。",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=gcs-calculator",
"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": "gcs-calculator",
"arguments": {
"eye": "4",
"verbal": "5",
"motor": "6"
}
}
}有问题或反馈?请联系 [email protected]