Health
Évalue la gravité de la maladie chronique du foie/cirrhose et la mortalité périopératoire : bilirubine totale (<2=1, 2-3=2, >3 mg/dL=3, conversion automatique µmol/L ÷17,1), albumine (>3,5=1, 2,8-3,5=2, <2,8 g/dL=3), INR (<1,7=1, 1,7-2,3=2, >2,3=3), ascite (absente=1, modérée contrôlée=2, modérée à sévère=3), encéphalopathie hépatique (aucune=1, grade I-II=2, III-IV=3). Total 5-15 : classe A (5-6) compensée, survie 1 an ~100%/2 ans ~85 % ; B (7-9) altération significative, 1 an ~80%/2 ans ~60 % ; C (10-15) décompensée, 1 an ~45%/2 ans ~35 %. Sources : Pugh 1973 Br J Surg, MDCalc, StatPearls. Non un avis médical.
Appelez cet outil depuis votre code en trois langages.
curl -X POST 'https://api.elysiatools.com/fr/api/tools/child-pugh-score' \
-H 'Content-Type: application/json' \
-d '{"bilirubin":3.5,"bilirubinUnit":"mgdL","albumin":2.5,"inr":2.5,"ascites":"moderate","encephalopathy":"grade34"}'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/child-pugh-score| Nom | Type | Requis | Description |
|---|---|---|---|
| bilirubin | number | Oui | Total serum bilirubin. Select the unit. mg/dL thresholds: <2 (1), 2–3 (2), >3 (3); µmol/L is auto-converted (÷17.1). |
| bilirubinUnit | select | Oui | Unit of the entered bilirubin value. µmol/L is converted to mg/dL (÷17.1) for scoring. |
| albumin | number | Oui | Serum albumin in g/dL. >3.5 (1), 2.8–3.5 (2), <2.8 (3). |
| inr | number | Oui | International normalized ratio (INR) or prothrombin time-derived. <1.7 (1), 1.7–2.3 (2), >2.3 (3). |
| ascites |
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-child-pugh-score": {
"name": "child-pugh-score",
"description": "Évalue la gravité de la maladie chronique du foie/cirrhose et la mortalité périopératoire : bilirubine totale (<2=1, 2-3=2, >3 mg/dL=3, conversion automatique µmol/L ÷17,1), albumine (>3,5=1, 2,8-3,5=2, <2,8 g/dL=3), INR (<1,7=1, 1,7-2,3=2, >2,3=3), ascite (absente=1, modérée contrôlée=2, modérée à sévère=3), encéphalopathie hépatique (aucune=1, grade I-II=2, III-IV=3). Total 5-15 : classe A (5-6) compensée, survie 1 an ~100%/2 ans ~85 % ; B (7-9) altération significative, 1 an ~80%/2 ans ~60 % ; C (10-15) décompensée, 1 an ~45%/2 ans ~35 %. Sources : Pugh 1973 Br J Surg, MDCalc, StatPearls. Non un avis médical.",
"baseUrl": "https://api.elysiatools.com/mcp/sse?toolId=child-pugh-score",
"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": "child-pugh-score",
"arguments": {
"bilirubin": 3.5,
"bilirubinUnit": "mgdL",
"albumin": 2.5,
"inr": 2.5,
"ascites": "moderate",
"encephalopathy": "grade34"
}
}
}| select |
| Oui |
| Absent =1; slight / medically controlled =2; moderate to severe / refractory =3. |
| encephalopathy | select | Oui | None =1; grade I–II (suppressed with therapy) =2; grade III–IV (refractory) =3. |
Résultat JSON
{
"key": {...},
"metadata": {
"key": "value"
},
"error": "Error message (optional)",
"message": "Notification message (optional)"
}Des questions ou un problème ? Contactez [email protected]