# IPSS-R MDS Prognostic Score Calculator (Greenberg 2012)

> IPSS-R MDS Prognostic Score Calculator (Greenberg 2012) 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 revised International Prognostic Scoring System (IPSS-R) total score and risk category for myelodysplastic syndromes using five clinical inputs per Greenberg 2012.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/ipss_r
- 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/ipss-r-mds-prognostic-score-calculator-greenberg-2012-5a7899a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_72vJy8rfLkvMxzKgeTVjm

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 ipss-r-mds-prognostic-score-calculator-greenberg-2012-5a7899a2
```

Example prompt: Calculate the IPSS-R score for my MDS patient: cytogenetics are 'intermediate', bone marrow blasts 4%, hemoglobin 9.2 g/dL, platelets 65 × 10^9/L, and ANC 0.6 × 10^9/L.

## When to prefer this

Use this endpoint when you need a deterministic, citation-backed IPSS-R (Greenberg 2012) score — not IPSS 1997 or IPSS-M — and you have already classified cytogenetics per the Schanz subgroup system. Prefer this over manual calculation to eliminate arithmetic errors and ensure consistent risk-category thresholding.

## Known failure modes

- Missing required query parameter returns validation error
- Out-of-range numeric values (e.g. blasts >30, Hgb <3) may be rejected or produce boundary behavior
- Cytogenetics enum value not matching allowed set (very_good, good, intermediate, poor, very_poor) returns error
- Caller-assigned cytogenetic subgroup is incorrect — endpoint trusts caller input and does not karyotype
- Payment failure (x402) if insufficient USDC balance

## How this service works

Greenberg 2012 IPSS-R for MDS: cytogenetics (very_good 0, good 1, intermediate 2, poor 3, very_poor 4; caller assigns the Schanz subgroup), BM blasts, hemoglobin g/dL, platelets, and ANC; max 10. very_low ≤1.5 through very_high >6. Deterministic published score with citation; not a diagnosis or transplant listing; not IPSS 1997 or IPSS-M. magent does not karyotype.

## Output

Returns the computed IPSS-R numeric total score (0–10 scale) and the corresponding risk category string (very_low ≤1.5, low, intermediate, high, very_high >6) per Greenberg 2012 thresholds, along with a citation. Does not provide a diagnosis or transplant listing recommendation.

## 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": [
      "cytogenetics",
      "blasts_percent",
      "hemoglobin_g_dl",
      "platelets_10e9_l",
      "anc_10e9_l"
     ],
     "properties": {
      "anc_10e9_l": {
       "type": "number",
       "description": "Absolute neutrophil count in 10^9/L (0-50). Greenberg 2012: ≥0.8 → 0; <0.8 → 0.5. magent does not compute ANC."
      },
      "cytogenetics": {
       "enum": [
        "very_good",
        "good",
        "intermediate",
        "poor",
        "very_poor"
       ],
       "type": "string",
       "description": "Schanz/Greenberg 2012 cytogenetic subgroup as assigned by the caller (very_good 0, good 1, intermediate 2, poor 3, very_poor 4). magent does not karyotype."
      },
      "blasts_percent": {
       "type": "number",
       "description": "Bone-marrow blasts as a percent (0-30). Greenberg 2012: ≤2 → 0; >2 and <5 → 1; 5–10 → 2; >10 → 3. magent does not count blasts."
      },
      "hemoglobin_g_dl": {
       "type": "number",
       "description": "Hemoglobin in g/dL (3-20). Greenberg 2012: ≥10 → 0; 8 to <10 → 1; <8 → 1.5. magent does not assay hemoglobin."
      },
      "platelets_10e9_l": {
       "type": "number",
       "description": "Platelets in 10^9/L (0-2000). Greenberg 2012: ≥100 → 0; 50 to <100 → 0.5; <50 → 1. magent does not assay platelets."
      }
     }
    }
   },
   "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/ipss-r-mds-prognostic-score-calculator-greenberg-2012-5a7899a2/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)
