# magent mBIG — Khan 2020 Modified Brain Injury Guidelines Calculator

> magent mBIG — Khan 2020 Modified Brain Injury Guidelines 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 a Khan 2020 modified Brain Injury Guidelines (mBIG) tier (1, 2, or 3) for adults with mild TBI and traumatic intracranial hemorrhage based on caller-assigned clinical and imaging findings.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mbig
- 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/magent-mbig-khan-2020-modified-brain-injury-guidelines-calculator-f17f12a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4pye7RpHWp_mTeAp75hqw

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 magent-mbig-khan-2020-modified-brain-injury-guidelines-calculator-f17f12a4
```

Example prompt: Using the Khan 2020 mBIG calculator, score this patient: GCS 14, no focal neuro or pupillary abnormality, on warfarin (anticoagulant), blood alcohol negative, no skull fracture, SDH 3 mm, no IPH, no multiple IPH, scattered SAH pattern with 0 mm thickness, no EDH, no IVH.

## When to prefer this

Use this endpoint when you need to apply the specific Khan 2020 mBIG criteria to adult mild TBI patients with traumatic intracranial hemorrhage and want an automated, auditable tier classification. Prefer this over general TBI scoring tools when the Khan 2020 mBIG tier specifically is required (e.g., for clinical protocol adherence). Note: this endpoint does not read CT images; all imaging findings must be caller-assigned. Not applicable for pediatric patients or for cases outside mild TBI with traumatic ICH.

## Known failure modes

- Missing required query parameters (gcs, edh, ivh, etc.) returns a 400 or validation error
- GCS value outside integer range 3–15 may cause a validation error
- SDH, IPH, or SAH mm values outside allowed range cause input rejection
- Boolean parameters passed as non-boolean types cause parsing errors
- Payment not completed (x402) results in a 402 Payment Required response

## How this service works

Khan 2020 modified Brain Injury Guidelines (mBIG), not original Joseph 2014 BIG. First-match worst-wins tier 3 then 2 then 1 from caller-assigned GCS, focal or pupillary abnormality, anticoagulant or antiplatelet excluding aspirin alone, EtOH >80 mg/dL, skull fracture, SDH mm, IPH mm and multiple IPH, SAH pattern and mm, any EDH, and IVH. Any EDH is mBIG 3. magent does not read CT. Adults with mild TBI and traumatic ICH. Not a diagnosis or neurosurgical plan. Not a medical device.

## Output

Returns the mBIG tier (1, 2, or 3) computed using Khan 2020 first-match worst-wins logic across the submitted clinical and imaging parameters. Tier 3 is the most severe classification. The result is a clinical score only — not a diagnosis or neurosurgical management plan.

## 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": [
      "gcs",
      "focal_neuro_or_pupillary_abnormality",
      "ac_ap_excluding_aspirin",
      "etoh_gt_80",
      "skull_fracture",
      "sdh_mm",
      "iph_mm",
      "multiple_iph",
      "sah_pattern",
      "sah_mm",
      "edh",
      "ivh"
     ],
     "properties": {
      "edh": {
       "type": "boolean",
       "description": "Any epidural hematoma as assigned by the caller. true or false. Any EDH is mBIG 3 (Khan 2020 safety modification versus original BIG size bands). magent does not read CT."
      },
      "gcs": {
       "type": "integer",
       "description": "Caller-assigned Glasgow Coma Scale total, integer 3-15. Khan 2020 methods: GCS of 12 or less is an abnormal neurologic examination and is mBIG 3. magent does not compute eye, verbal, or motor GCS."
      },
      "ivh": {
       "type": "boolean",
       "description": "Intraventricular hemorrhage as assigned by the caller. true or false. true is mBIG 3. magent does not read CT."
      },
      "iph_mm": {
       "type": "number",
       "description": "Largest intraparenchymal hemorrhage size in millimetres as assigned by the caller (0-40). mBIG 1 if <4, mBIG 2 if >=4 and <8, mBIG 3 if >=8. Use 0 when no IPH. magent does not measure IPH or read CT."
      },
      "sah_mm": {
       "type": "number",
       "description": "SAH thickness in millimetres as assigned by the caller (0-20). mBIG 1 if <1, mBIG 2 if 1-3, mBIG 3 if >3. Use 0 when none. Combined with sah_pattern; either scattered pattern or >3 mm is mBIG 3. magent does not measure SAH."
      },
      "sdh_mm": {
       "type": "number",
       "description": "Largest subdural hematoma thickness in millimetres as assigned by the caller (0-40). mBIG 1 if <4, mBIG 2 if >=4 and <8, mBIG 3 if >=8. magent does not measure SDH or read CT."
      },
      "etoh_gt_80": {
       "type": "boolean",
       "description": "Blood alcohol concentration >80 mg/dL as assi
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-mbig-khan-2020-modified-brain-injury-guidelines-calculator-f17f12a4/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)
