# WPSS (WHO-based Prognostic Scoring System) Calculator for MDS

> WPSS (WHO-based Prognostic Scoring System) Calculator for MDS 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-16).

Computes the Malcovati 2007 WHO Prognostic Scoring System (WPSS) score and risk category for myelodysplastic syndromes from WHO MDS group, IPSS cytogenetic risk, and RBC transfusion status.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/wpss
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/wpss-who-based-prognostic-scoring-system-calculator-for-mds-7fe7213f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FsLoubHZ98F6HVzu0th-L

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 wpss-who-based-prognostic-scoring-system-calculator-for-mds-7fe7213f
```

Example prompt: Calculate the WPSS score for my MDS patient: WHO category is RCMD, IPSS cytogenetics are intermediate risk, and they require regular RBC transfusions (at least one every 8 weeks).

## When to prefer this

Use this endpoint when you need to apply the specific Malcovati 2007 WPSS system — not IPSS 1997 or IPSS-R — for MDS prognosis. The caller must have already assigned WHO 2001 MDS category and IPSS three-group cytogenetic risk externally; this endpoint handles only the arithmetic and risk-band classification. Prefer this over IPSS or IPSS-R calculators when the clinical context specifically requires WPSS, e.g. for longitudinal risk re-stratification or transfusion-weighted prognostication.

## Known failure modes

- Missing required query parameter (who_mds, cytogenetics, or regular_transfusion) returns a validation error
- Invalid enum value for who_mds or cytogenetics (e.g. using IPSS-R five-group karyotype values like very_good or very_poor) returns an error
- Incorrect interpretation of cytogenetics scale (five-group IPSS-R vs. three-group IPSS 1997) may silently produce wrong scores
- Boolean parsing failure for regular_transfusion if not properly formatted

## How this service works

Malcovati 2007 WPSS for MDS: WHO category (RA/RARS/5q- 0, RCMD/RCMD-RS 1, RAEB-1 2, RAEB-2 3), IPSS karyotype (good 0, intermediate 1, poor 2; caller assigns the three-group class), regular RBC transfusion 1 (at least one every 8 weeks over 4 months); max 6. very_low 0 through very_high 5–6. Not IPSS-R, not IPSS 1997, not DIPSS. magent does not karyotype or assign WHO category.

## Output

Returns the computed WPSS total score (integer 0–6) and the corresponding ordinal risk category label (very_low, low, intermediate, high, or very_high) based on Malcovati 2007 criteria. The caller is responsible for pre-assigning WHO MDS category and IPSS three-group cytogenetic class.

## 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": [
      "who_mds",
      "cytogenetics",
      "regular_transfusion"
     ],
     "properties": {
      "who_mds": {
       "enum": [
        "ra_rars_5q",
        "rcmd",
        "raeb1",
        "raeb2"
       ],
       "type": "string",
       "description": "Malcovati 2007 Table 2 WHO 2001 group as assigned by the caller. ra_rars_5q is RA, RARS, or MDS with isolated del(5q) and scores 0. rcmd is RCMD or RCMD-RS and scores 1. raeb1 is RAEB-1 and scores 2. raeb2 is RAEB-2 and scores 3. magent does not assign WHO category."
      },
      "cytogenetics": {
       "enum": [
        "good",
        "intermediate",
        "poor"
       ],
       "type": "string",
       "description": "IPSS (Greenberg 1997) cytogenetic group as assigned by the caller (good 0, intermediate 1, poor 2). Not the IPSS-R five-group scale (very_good and very_poor are invalid). magent does not karyotype."
      },
      "regular_transfusion": {
       "type": "boolean",
       "description": "Regular RBC transfusion requirement as assigned by the caller (Malcovati 2007: at least one RBC transfusion every 8 weeks over 4 months). true scores 1. magent does not count units."
      }
     }
    }
   },
   "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/wpss-who-based-prognostic-scoring-system-calculator-for-mds-7fe7213f/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)
