Health
Calculate the PaO₂/FiO₂ ratio and classify ARDS severity per the Berlin Definition (2012). Derived from ARDS Definition Task Force JAMA 2012, LITFL, and Rice 2007. Not medical advice.
Call this tool from your code in three languages.
curl -X POST 'http://127.0.0.1:3003/en/api/tools/pao2-fio2-ratio' \
-H 'Content-Type: application/json' \
-d '{"pao2":60,"fio2":"1.00","decimalPlaces":0}'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/pao2-fio2-ratio| Name | Type | Required | Description |
|---|---|---|---|
| pao2 | number | Yes | Arterial partial pressure of oxygen (mmHg) from ABG. |
| fio2 | select | Yes | — |
| decimalPlaces | number | No | — |
JSON result
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}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-pao2-fio2-ratio": {
"name": "pao2-fio2-ratio",
"description": "Calculate the PaO₂/FiO₂ ratio and classify ARDS severity per the Berlin Definition (2012). Derived from ARDS Definition Task Force JAMA 2012, LITFL, and Rice 2007. Not medical advice.",
"baseUrl": "http://127.0.0.1:3003/mcp/sse?toolId=pao2-fio2-ratio",
"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": "pao2-fio2-ratio",
"arguments": {
"pao2": 60,
"fio2": "1.00",
"decimalPlaces": 0
}
}
}Questions or issues? Contact [email protected]