# El-Ganzouri Risk Index (EGRI) Calculator

> El-Ganzouri Risk Index (EGRI) Calculator is a paid API for AI agents from api.magentlab.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Computes the El-Ganzouri 1996 simplified airway risk index score (0–12) from seven caller-assigned clinical measurements to flag patients at high risk of difficult intubation.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/egri
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/el-ganzouri-risk-index-egri-calculator-2e78e6ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LtGXlzszim0lm8DJEm5aP

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability el-ganzouri-risk-index-egri-calculator-2e78e6ba
```

Example prompt: Calculate the El-Ganzouri airway risk index for a patient with mouth opening of 3.8 cm, thyromental distance of 6.2 cm, Mallampati class 2, neck movement of 85 degrees, who cannot prognath, weighs 95 kg, and has no prior history of difficult intubation.

## When to prefer this

Use this endpoint when you need a validated, reproducible El-Ganzouri 1996 EGRI score computed from structured clinical inputs. Prefer it over manual calculation to avoid arithmetic errors and to get explicit subscores per variable. It is appropriate for preoperative risk documentation, clinical decision support pipelines, and anesthesia workflow automation where the seven EGRI variables are already available from a patient assessment.

## Known failure modes

- Missing required parameter returns a 400 error (e.g. omitting mouth_opening_cm or mallampati)
- Mallampati class 4 is rejected — only classes 1, 2, or 3 are accepted
- Out-of-range values (e.g. weight_kg outside 1–500, neck_movement_deg outside 0–180) are rejected
- Providing both weight_kg and weight_lb may cause conflict; only one should be supplied
- Network or server errors return 5xx status codes

## How this service works

El-Ganzouri 1996 simplified airway risk index (0/1/2): mouth opening >4 cm=0, <=4=1; thyromental >6.5 cm=0, 6.0-6.5=1, <6.0=2; original Mallampati 1/2/3 = 0/1/2 (class 4 not used); neck >90 deg=0, 80-90=1, <80=2; can prognath true=0, false=1; weight <90 kg=0, 90-110=1, >110=2; intubation history none/questionable/definite = 0/1/2. Max 12. High risk if score >=4. Not an intubation order; magent does not examine the airway.

## Output

Returns the total EGRI score (integer 0–12), the individual subscores for each of the seven variables, and a risk classification indicating whether the patient is at high risk (score ≥ 4) or low risk of difficult intubation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "mouth_opening_cm",
      "thyromental_cm",
      "mallampati",
      "neck_movement_deg",
      "can_prognath",
      "history_difficult_intubation"
     ],
     "properties": {
      "weight_kg": {
       "type": "number",
       "description": "Body weight in kilograms (1-500). Provide weight_kg or weight_lb. El-Ganzouri 1996: <90 kg scores 0; 90-110 inclusive scores 1; >110 kg scores 2. Exactly 90 and 110 score 1."
      },
      "weight_lb": {
       "type": "number",
       "description": "Body weight in pounds (2-1100). Converted as kg = lb × 0.45359237, then the El-Ganzouri 1996 kg bands apply. Provide weight_kg or weight_lb."
      },
      "mallampati": {
       "type": "integer",
       "description": "Original Mallampati class 1, 2, or 3 as assigned by the caller (El-Ganzouri 1996). 1 scores 0; 2 scores 1; 3 scores 2. Samsoon class 4 is not used and is rejected."
      },
      "can_prognath": {
       "type": "boolean",
       "description": "Ability to prognath (jaw protrusion) as assigned by the caller (El-Ganzouri 1996). true scores 0; false scores 1. true or false."
      },
      "thyromental_cm": {
       "type": "number",
       "description": "Thyromental distance in centimetres (2-15) as assigned by the caller. El-Ganzouri 1996: >6.5 cm scores 0; 6.0-6.5 inclusive scores 1; <6.0 cm scores 2. Exactly 6.5 scores 1."
      },
      "mouth_opening_cm": {
       "type": "number",
       "description": "Interincisor gap in centimetres (0.5-10) as assigned by the caller. El-Ganzouri 1996: >4 cm scores 0; <=4 cm scores 1. Exactly 4.0 scores 1. magent does not measure mouth opening."
      },
      "neck_movement_deg": {
       "type": "number",
       "description": "Head and neck range of motion in degrees (0-180) as assigned by the caller. El-Ganzouri 1996: >90 scores 0; 80-90 inclusive scores 1; <80 scores 2. Exactly 90 scores 1. magent does not measure neck motion."
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/el-ganzouri-risk-index-egri-calculator-2e78e6ba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.magentlab.com](https://www.zero.xyz/host/api.magentlab.com/llms.txt)
