# MARS (Mutation-Adjusted Risk Score) for Advanced Systemic Mastocytosis

> MARS (Mutation-Adjusted Risk Score) for Advanced Systemic Mastocytosis 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-15).

Computes the Jawhar 2019 MARS prognostic integer score (0–5) for advanced systemic mastocytosis and returns OS-based risk tier (low/intermediate/high).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mars
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mars-mutation-adjusted-risk-score-for-advanced-systemic-mastocytosis-bef1d777
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NUyWFJntK4aC5HfLDMSGp

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 mars-mutation-adjusted-risk-score-for-advanced-systemic-mastocytosis-bef1d777
```

Example prompt: Calculate the Jawhar 2019 MARS score for an advanced systemic mastocytosis patient who is 67 years old, has hemoglobin of 8.5 g/dL, platelets of 75 × 10^9/L, and exactly one S/A/R mutation (ASXL1 positive).

## When to prefer this

Use when you need to apply the Jawhar 2019 MARS algorithm specifically for advanced systemic mastocytosis (ASM) prognostication; this is the validated integer model incorporating S/A/R mutation burden alongside CBC parameters and age. Prefer over generic oncology risk tools when the patient has confirmed ASM and caller-assigned SRSF2/ASXL1/RUNX1 mutation status is available.

## Known failure modes

- Missing required parameter (age, platelets_10e9_l, or sar_mutation_count) returns a validation error
- Both hemoglobin_g_l and hemoglobin_g_dl provided simultaneously triggers a conflict error
- sar_mutation_count outside 0–2 range returns a validation error
- Age outside 18–120 or platelets outside 1–2000 returns out-of-range validation error
- Boundary values (age=60, platelets=100, hemoglobin=10) score 0 per published ≤60 / ≥100 / ≥10 arm definitions

## How this service works

Jawhar 2019 mutation-adjusted risk score (MARS) for advanced systemic mastocytosis: age >60 (1), hemoglobin <10 g/dL (1), platelets <100×10^9/L (1), exactly one S/A/R mutation among SRSF2, ASXL1, RUNX1 (1) or two or more (2, not both). Max 5. Low 0–1 (training-set median OS not reached), intermediate 2 (3.9 y), high 3–5 (1.9 y). Not WHO SM criteria. magent does not sequence or assay labs.

## Output

Returns the MARS integer total score (0–5), each component's contribution, and the corresponding risk tier: low (0–1, median OS not reached in training set), intermediate (2, ~3.9 years median OS), or high (3–5, ~1.9 years median OS). Does not perform lab assays or genetic sequencing — caller supplies all values.

## 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",
      "platelets_10e9_l",
      "sar_mutation_count"
     ],
     "properties": {
      "age": {
       "type": "integer",
       "description": "Age in years (integer 18-120). >60 scores 1 (Jawhar 2019). Age 61 scores; age 60 is the ≤60 arm and scores 0."
      },
      "hemoglobin_g_l": {
       "type": "number",
       "description": "Hemoglobin in g/L (30-220). Converted as hemoglobin_g_dl = hemoglobin_g_l / 10. Provide this or hemoglobin_g_dl, not both. <100 g/L scores 1. 100 is the ≥100 arm and scores 0."
      },
      "hemoglobin_g_dl": {
       "type": "number",
       "description": "Hemoglobin in g/dL (3-22). Provide this or hemoglobin_g_l, not both. <10 g/dL (<100 g/L) scores 1 (Jawhar 2019). 10.0 is the ≥10 arm and scores 0. magent does not assay hemoglobin."
      },
      "platelets_10e9_l": {
       "type": "number",
       "description": "Platelet count in 10^9/L (1-2000). <100 scores 1 (Jawhar 2019). 100.0 is the ≥100 arm and scores 0. magent does not assay platelets."
      },
      "sar_mutation_count": {
       "type": "integer",
       "description": "Caller-assigned count of S/A/R mutations among SRSF2, ASXL1, and RUNX1 (integer 0, 1, or 2; 2 means two or more). Exactly one scores 1. Two or more scores 2 (not 1 plus 2). Count 0 scores 0. magent does not sequence."
      }
     }
    }
   },
   "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/mars-mutation-adjusted-risk-score-for-advanced-systemic-mastocytosis-bef1d777/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)
