# magent SCORMA Calculator

> magent SCORMA Calculator 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 Heide 2001 SCORMA (SCORing MAstocytosis) integer score from caller-supplied skin extent, four intensity signs, and five symptom ratings

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/scorma
- 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/magent-scorma-calculator-758e2273
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8Px7AEcrOJY1LOp5MpHbu

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-scorma-calculator-758e2273
```

Example prompt: Calculate the SCORMA score for a mastocytosis patient: skin extent 30%, pigmentation 2, vesiculation 1, elevation/induration 1, Darier's sign 2, flushing 5, provocation factors 3, diarrhoea 2, bone pain 1, pruritus 4.

## When to prefer this

Use this endpoint when you need a deterministic, formula-based SCORMA severity score for mastocytosis and already have all ten caller-assigned clinical values (skin extent, four intensity signs, five symptoms). It does not examine the patient, assign signs, or interpret results diagnostically — it only computes the arithmetic. Prefer it over manual calculation to avoid formula errors in clinical research or EHR automation pipelines.

## Known failure modes

- Missing required query parameters returns an error — all ten parameters are mandatory
- Out-of-range values (e.g. extent_percent > 100 or intensity sign > 3) will be rejected or produce schema validation errors
- Payment failure (x402) if USDC balance is insufficient
- No clinical interpretation is provided — score only, no diagnosis or WHO/ICC/REMA mapping

## How this service works

Heide 2001 SCORMA: extent_percent/5 + 5*intensity_sum + 2*symptom_sum/5. Extent 0-100 (diffuse cutaneous mastocytosis is 100). Four intensity signs 0-3 (pigmentation, vesiculation, elevation/induration, Darier's sign). Five symptoms 0-10 (flushing, provocation factors, diarrhoea, bone pain, pruritus). Max 100. magent does not examine the skin. Not a diagnosis, WHO/ICC criteria, REMA, or tryptase.

## Output

Returns the computed SCORMA integer score (maximum 100) derived from the Heide 2001 formula: extent_percent/5 + 5×intensity_sum + 2×symptom_sum/5, where intensity_sum is the sum of four skin signs (0–3 each) and symptom_sum is the sum of five symptom ratings (0–10 each).

## 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": [
      "extent_percent",
      "pigmentation",
      "vesiculation",
      "elevation_induration",
      "darier_sign",
      "flushing",
      "provocation_factors",
      "diarrhoea",
      "bone_pain",
      "pruritus"
     ],
     "properties": {
      "flushing": {
       "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10
       ],
       "type": "integer",
       "description": "Caller-assigned Heide 2001 SCORMA part C flushing (integer 0-10). magent does not take a history."
      },
      "pruritus": {
       "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10
       ],
       "type": "integer",
       "description": "Caller-assigned Heide 2001 SCORMA part C pruritus (integer 0-10). magent does not take a history."
      },
      "bone_pain": {
       "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10
       ],
       "type": "integer",
       "description": "Caller-assigned Heide 2001 SCORMA part C bone pain (integer 0-10). magent does not take a history."
      },
      "diarrhoea": {
       "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10
       ],
       "type": "integer",
       "description": "Caller-assigned Heide 2001 SCORMA part C diarrhoea (integer 0-10). magent does not take a history."
      },
      "darier_sign": {
       "enum": [
        0,
        1,
        2,
        3
       ],
       "type": "integer",
       "description": "Caller-assigned Heide 2001 SCORMA part B Darier's sign (integer 0-3). magent does not examine the skin or assign Darier's sign."
      },
      "pigmentation": {
       "enum": [
        0,
        1,
        2,
        3
       ]
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/magent-scorma-calculator-758e2273/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)
