# magent HCT-CI Calculator (Sorror 2005)

> magent HCT-CI Calculator (Sorror 2005) 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 hematopoietic cell transplantation-specific comorbidity index (HCT-CI) from 17 caller-assigned boolean comorbidities and returns a weighted total score with risk group classification.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/hct_ci
- 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-hct-ci-calculator-sorror-2005-cf585363
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aH5ECCmEpoabO26t7NNOh

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-hct-ci-calculator-sorror-2005-cf585363
```

Example prompt: Calculate the HCT-CI score for a patient with cardiac disease, moderate pulmonary disease, diabetes, and mild hepatic disease — no arrhythmia, no infection, no obesity, no inflammatory bowel disease, no cerebrovascular disease, no psychiatric disturbance, no rheumatologic disease, no peptic ulcer, no moderate-severe renal disease, no prior solid tumor, no heart valve disease, no severe pulmonary, and no moderate-severe hepatic disease — and tell me the total score and risk group.

## When to prefer this

Use this endpoint when you need a programmatic, reproducible HCT-CI calculation per Sorror 2005 and the caller has already clinically assigned each of the 17 comorbidity categories. Prefer it over manual lookup tables to avoid arithmetic errors and ensure consistent risk-group thresholds. Do not use it as a substitute for clinical judgment, PFT interpretation, echocardiography reading, or diagnosis — the caller must supply pre-classified boolean flags.

## Known failure modes

- Missing any of the 17 required boolean query parameters returns a validation error
- Supplying both mild_hepatic and moderate_severe_hepatic as true may return a mutual-exclusivity error (these are defined as mutually exclusive in Sorror 2005)
- Supplying both moderate_pulmonary and severe_pulmonary as true may similarly trigger a mutual-exclusivity error
- Non-boolean or malformed parameter values return a schema validation error
- Payment failure (x402) results in a 402 response with no score returned

## How this service works

Sorror 2005 HCT-specific comorbidity index. Seventeen caller-assigned comorbidities with published weights 1, 2, or 3 (max 26). Pulmonary moderate vs severe and hepatic mild vs moderate/severe are mutually exclusive. Risk groups: 0 low, 1–2 intermediate, ≥3 high. Caller supplies the published category; magent does not interpret PFTs or echo and does not list for transplant. Not Charlson. Not a diagnosis. Not a medical device.

## Output

Returns the integer HCT-CI total score (0–26) and a risk group label — low (0), intermediate (1–2), or high (≥3) — derived from the 17 weighted boolean comorbidity flags supplied by the caller. Individual per-comorbidity weights (1, 2, or 3 per Sorror 2005 published table) are reflected in the aggregate. No diagnosis, no lab interpretation, and no listing recommendation is generated.

## 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": [
      "arrhythmia",
      "cardiac",
      "inflammatory_bowel_disease",
      "diabetes",
      "cerebrovascular_disease",
      "psychiatric_disturbance",
      "mild_hepatic",
      "obesity",
      "infection",
      "rheumatologic",
      "peptic_ulcer",
      "moderate_severe_renal",
      "moderate_pulmonary",
      "prior_solid_tumor",
      "heart_valve_disease",
      "severe_pulmonary",
      "moderate_severe_hepatic"
     ],
     "properties": {
      "cardiac": {
       "type": "boolean",
       "description": "Cardiac comorbidity as assigned by the caller (Sorror 2005: coronary artery disease, congestive heart failure, myocardial infarction, or ejection fraction ≤50%). true scores 1. magent does not interpret echo or diagnose cardiac disease."
      },
      "obesity": {
       "type": "boolean",
       "description": "Obesity as assigned by the caller (Sorror 2005: body mass index >35 kg/m²). true scores 1. magent does not compute BMI."
      },
      "diabetes": {
       "type": "boolean",
       "description": "Diabetes requiring insulin or oral hypoglycemics, not diet alone, as assigned by the caller (Sorror 2005). true scores 1. magent does not diagnose diabetes."
      },
      "infection": {
       "type": "boolean",
       "description": "Infection requiring continuation of antimicrobial treatment after day 0 as assigned by the caller (Sorror 2005). true scores 1. magent does not diagnose infection."
      },
      "arrhythmia": {
       "type": "boolean",
       "description": "Arrhythmia as assigned by the caller (Sorror 2005: atrial fibrillation or flutter, sick sinus syndrome, or ventricular arrhythmias). true scores 1. magent does not diagnose arrhythmia."
      },
      "mild_hepatic": {
       "type": "boolean",
       "description": "Mild hepatic comorbidity as assigned by the caller (Sorror 2005: chronic hepatitis, bilirubin >ULN to 1.5×ULN, or AST/ALT >ULN to 2.
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-hct-ci-calculator-sorror-2005-cf585363/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)
