Health
Calcule le gradient alvéolo-artériel en O₂ (A-a) pour distinguer les causes d'hypoxémie. Équation alvéolaire : PAO₂ = FiO₂ × (P_atm − 47) − PaCO₂ / 0.8 (QR défaut 0.8) ; A-a = PAO₂ − PaO₂. Normal ≈ (âge + 10) / 4 (air ambiant, jeune <15 mmHg, +3 mmHg par décennie). A-a normal : hypoventilation ou altitude (PaCO₂ élevé) ; élevé : déséquilibre V/Q, shunt, trouble de diffusion ou faible O₂ veineux. P_atm défaut 760. Sources : StatPearls NBK545153, LITFL, Cornell PICU. Non un avis médical.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/a-a-gradient-calculator' \
-H 'Content-Type: application/json' \
-d '{"pao2":55,"paco2":32,"fio2":"0.21","age":60,"patm":0,"decimalPlaces":1}'Envoyez une requête POST avec vos entrées en JSON. Les paramètres de type fichier nécessitent un upload préalable.
POST https://api.elysiatools.com/fr/api/tools/a-a-gradient-calculator| Nom | Type | Requis | Description |
|---|---|---|---|
| pao2 | number | Oui | Arterial partial pressure of oxygen (mmHg) from ABG. |
| paco2 | number | Oui | Arterial partial pressure of CO₂ (mmHg) from ABG. |
| fio2 | select | Oui | — |
| age | number | Oui | Patient age (years), used for age-adjusted normal A-a gradient. |
| patm | number | Non |
Ajoutez cet outil à votre serveur Model Context Protocol pour que les agents IA puissent le lister et l'appeler.
Ajoutez ce bloc à la configuration de votre client MCP :
{
"mcpServers": {
"elysiatools-a-a-gradient-calculator": {
"name": "a-a-gradient-calculator",
"description": "Calcule le gradient alvéolo-artériel en O₂ (A-a) pour distinguer les causes d'hypoxémie. Équation alvéolaire : PAO₂ = FiO₂ × (P_atm − 47) − PaCO₂ / 0.8 (QR défaut 0.8) ; A-a = PAO₂ − PaO₂. Normal ≈ (âge + 10) / 4 (air ambiant, jeune <15 mmHg, +3 mmHg par décennie). A-a normal : hypoventilation ou altitude (PaCO₂ élevé) ; élevé : déséquilibre V/Q, shunt, trouble de diffusion ou faible O₂ veineux. P_atm défaut 760. Sources : StatPearls NBK545153, LITFL, Cornell PICU. Non un avis médical.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=a-a-gradient-calculator",
"command": "",
"args": [],
"env": {},
"isActive": true,
"type": "sse"
}
}
}Après connexion au point d'accès SSE, listez les outils exposés :
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/list"
}Appelez l'outil par son id ; les arguments sont construits à partir de ses paramètres :
{
"jsonrpc": "2.0",
"id": 2,
"method": "tools/call",
"params": {
"name": "a-a-gradient-calculator",
"arguments": {
"pao2": 55,
"paco2": 32,
"fio2": "0.21",
"age": 60,
"patm": 0,
"decimalPlaces": 1
}
}
}| Atmospheric pressure (mmHg). Default 760 at sea level. Lower at altitude (e.g. Denver ~630). |
| decimalPlaces | number | Non | — |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Des questions ou un problème ? Contactez [email protected]