# magent MIPI Calculator (Hoster 2008 Simplified)

> magent MIPI Calculator (Hoster 2008 Simplified) 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-13).

Computes the simplified Mantle Cell Lymphoma International Prognostic Index (MIPI) score and risk group from age, ECOG status, LDH/ULN ratio, and WBC count

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mipi
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-mipi-calculator-hoster-2008-simplified-2a81aeef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tedyd3tbyjpwC1AN1zOFy

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-mipi-calculator-hoster-2008-simplified-2a81aeef
```

Example prompt: Calculate the simplified MIPI score for a 67-year-old MCL patient with ECOG 1, LDH/ULN ratio of 1.3, and WBC of 9,500 cells/µL — tell me the total score and whether they're low, intermediate, or high risk.

## When to prefer this

Use this endpoint when you need the Hoster 2008 four-variable simplified MIPI (not the continuous MIPI or MIPI-c) for advanced-stage mantle cell lymphoma risk stratification. Prefer this over general oncology scoring tools when the specific simplified MIPI with its three discrete risk groups (low/intermediate/high) is required for clinical documentation, trial eligibility, or treatment planning. Do not use for diagnosing MCL or when the continuous MIPI formula is required.

## Known failure modes

- Missing required parameter (age, ecog, or ldh_uln_ratio) returns validation error
- Both wbc_ul and wbc_k_ul supplied simultaneously returns error
- Age outside 18–120 range rejected
- ECOG value outside 0–4 range rejected
- LDH/ULN ratio outside 0.1–20 range rejected
- WBC value outside allowed range rejected
- Payment not provided or insufficient (x402 protocol) results in 402 response

## How this service works

Hoster 2008 simplified MIPI for advanced-stage mantle cell lymphoma: age (<50 0, 50–59 1, 60–69 2, ≥70 3), ECOG (0–1 0, 2–4 2), LDH/ULN (<0.67 0, 0.67–<1 1, 1–<1.5 2, ≥1.5 3), WBC ×10^9/L (<6.7 0, 6.7–<10 1, 10–<15 2, ≥15 3); max 11. Low 0–3, intermediate 4–5, high 6–11. Deterministic published score with citation; not a lymphoma diagnosis; not continuous MIPI; not MIPI-c. magent does not assay LDH or WBC.

## Output

Returns the total simplified MIPI score (integer 0–11), individual component subscores for age, ECOG, LDH/ULN, and WBC, and the corresponding risk classification: low (0–3), intermediate (4–5), or high (6–11), per Hoster 2008.

## 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": [
      "age",
      "ecog",
      "ldh_uln_ratio"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (18-120). <50 scores 0; 50–59 scores 1; 60–69 scores 2; ≥70 scores 3 (Hoster 2008 simplified MIPI). 50 and 59 score 1; 60 and 69 score 2; 70 scores 3."
      },
      "ecog": {
       "type": "integer",
       "description": "ECOG performance status 0-4 as assigned by the caller (Hoster 2008 simplified MIPI). 0–1 scores 0; 2–4 scores 2. magent does not assign ECOG."
      },
      "wbc_ul": {
       "type": "number",
       "description": "WBC in cells/µL (same as cells/mm^3). Provide wbc_k_ul or wbc_ul, not both. Range 10-500000. Converted to ×10^9/L (= wbc_ul/1000): <6.7 scores 0; 6.7–<10 scores 1; 10–<15 scores 2; ≥15 scores 3 (6.7 scores 1; 9.999 scores 1; 10 scores 2; 14.999 scores 2; 15 scores 3)."
      },
      "wbc_k_ul": {
       "type": "number",
       "description": "WBC in 10^3/µL (same as 10^9/L). Provide wbc_k_ul or wbc_ul, not both. Range 0.01-500. Converted to ×10^9/L: <6.7 scores 0; 6.7–<10 scores 1; 10–<15 scores 2; ≥15 scores 3 (6.7 scores 1; 9.999 scores 1; 10 scores 2; 14.999 scores 2; 15 scores 3)."
      },
      "ldh_uln_ratio": {
       "type": "number",
       "description": "Serum LDH divided by the laboratory ULN (0.1-20). <0.67 scores 0; 0.67–<1.0 scores 1; 1.0–<1.5 scores 2; ≥1.5 scores 3 (0.67 scores 1; 0.99 scores 1; 1.0 scores 2; 1.49 scores 2; 1.5 scores 3). magent does not assay LDH."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-mipi-calculator-hoster-2008-simplified-2a81aeef/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)
