Health
Calculate the Wells score to estimate clinical probability of pulmonary embolism (PE). Components: clinical signs/symptoms of DVT (+3), PE is the most likely diagnosis (+3), heart rate >100 (+1.5), immobilization ≥3 days or surgery in last 4 weeks (+1.5), previous objectively diagnosed DVT/PE (+1.5), hemoptysis (+1), active malignancy (+1). Reports BOTH endorsed interpretations: three-tier (low <2 ~1.3%, moderate 2–6 ~16.2%, high >6 ~37.5%) and dichotomized two-tier (PE unlikely ≤4 ~12.1% — a negative D-dimer can rule out; PE likely >4 ~37.5% — imaging required). Derived from Wells 2001 (Ann Intern Med), ACEP 2018 clinical policy, and the ESC 2019 PE guideline. Pair with PERC and D-dimer. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/wells-pe-score' \
-H 'Content-Type: application/json' \
-d '{"dvtSigns":false,"peMostLikely":true,"tachycardia":true,"immobilization":false,"previousVte":false,"hemoptysis":true,"malignancy":false}'Send a POST request with your inputs as JSON. File parameters require a separate upload first.
POST http://127.0.0.1:3003/en/api/tools/wells-pe-score| Name | Type | Required | Description |
|---|---|---|---|
| dvtSigns | checkbox | No | Leg swelling and pain with palpation of the deep veins. +3. |
| peMostLikely | checkbox | No | PE is the #1 or equally likely diagnosis (alternative diagnosis less likely than PE). +3. |
| tachycardia | checkbox | No | Heart rate > 100 beats/min. +1.5. |
| immobilization | checkbox | No | Recent immobilization ≥3 days or surgery within the last 4 weeks. +1.5. |
| previousVte | checkbox |
Add this tool to your Model Context Protocol server so AI agents can list and call it.
Add this block to your MCP client configuration:
{
"mcpServers": {
"elysiatools-wells-pe-score": {
"name": "wells-pe-score",
"description": "Calculate the Wells score to estimate clinical probability of pulmonary embolism (PE). Components: clinical signs/symptoms of DVT (+3), PE is the most likely diagnosis (+3), heart rate >100 (+1.5), immobilization ≥3 days or surgery in last 4 weeks (+1.5), previous objectively diagnosed DVT/PE (+1.5), hemoptysis (+1), active malignancy (+1). Reports BOTH endorsed interpretations: three-tier (low <2 ~1.3%, moderate 2–6 ~16.2%, high >6 ~37.5%) and dichotomized two-tier (PE unlikely ≤4 ~12.1% — a negative D-dimer can rule out; PE likely >4 ~37.5% — imaging required). Derived from Wells 2001 (Ann Intern Med), ACEP 2018 clinical policy, and the ESC 2019 PE guideline. Pair with PERC and D-dimer. Not medical advice.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=wells-pe-score",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}After connecting to the SSE endpoint, list the exposed tools:
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Invoke the tool by its id, passing arguments built from its parameters:
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "wells-pe-score",
"arguments": {
"dvtSigns": false,
"peMostLikely": true,
"tachycardia": true,
"immobilization": false,
"previousVte": false,
"hemoptysis": true,
"malignancy": false
}
}
}| Previous objectively diagnosed DVT or PE. +1.5. |
| hemoptysis | checkbox | No | Hemoptysis. +1. |
| malignancy | checkbox | No | Active malignancy (treatment ongoing, palliative, or within last 6 months). +1. |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Questions or issues? Contact [email protected]