# magent GELF Criteria Calculator

> magent GELF Criteria 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-14).

Applies the Brice 1997 GELF criteria to classify follicular lymphoma tumor burden as high or low based on eight clinician-assigned boolean factors

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/gelf
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/magent-gelf-criteria-calculator-de795940
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XMs3ls6IWf7cYiPLEdMAX

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-gelf-criteria-calculator-de795940
```

Example prompt: Apply the Brice 1997 GELF criteria to this follicular lymphoma patient: no mass over 7 cm, no three nodes each over 3 cm, no B symptoms, spleen does not extend below the umbilicus, no compression syndrome, no serous effusion, no leukemic phase, and no cytopenia — is this high or low tumor burden?

## When to prefer this

Use this endpoint when you need a deterministic, citable implementation of the Brice 1997 GELF criteria specifically — not FLIPI, not IPI, not modified GELF variants. It is ideal for autonomous oncology agents that have already gathered clinical findings from structured data and need to apply the published rule programmatically. Prefer this over a general LLM inference when auditability, citation fidelity, and reproducibility are required.

## Known failure modes

- Missing any of the eight required boolean query parameters returns a validation error
- Non-boolean values for any parameter cause a schema rejection
- Network or payment authorization failures (x402) prevent the call from completing
- Truncated or malformed query strings may result in incorrect classification if defaults are silently applied

## How this service works

GELF criteria (Brice 1997). High tumor burden in follicular lymphoma if any of eight caller-assigned items: mass >7 cm; ≥3 nodes each >3 cm; B symptoms; spleen below umbilicus; compression; serous effusion; leukemic phase; cytopenia. Any yes is high_burden. Not a treatment order, not FLIPI, not IPI, not modified GELF. magent does not measure nodes, spleen, counts, or effusions.

## Output

Returns a JSON object containing the overall tumor_burden classification ('high_burden' or 'low_burden'), the per-criterion breakdown showing which of the eight GELF factors were met, the full Brice 1997 citation including DOI and PMID, the formula expression, and a medical disclaimer clarifying that this is a deterministic calculation tool and not a medical device.

## 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": [
      "mass_gt_7cm",
      "three_nodes_gt_3cm",
      "b_symptoms",
      "spleen_below_umbilicus",
      "compression",
      "effusion",
      "leukemic_phase",
      "cytopenia"
     ],
     "properties": {
      "effusion": {
       "type": "boolean",
       "description": "Pleural or peritoneal serous effusion as assigned by the caller. true or false. magent does not image or tap an effusion."
      },
      "cytopenia": {
       "type": "boolean",
       "description": "Cytopenia as assigned by the caller (paper: granulocytes <1.0×10^9/L and/or platelets <100×10^9/L). true or false. magent does not count cells."
      },
      "b_symptoms": {
       "type": "boolean",
       "description": "Systemic / B symptoms as assigned by the caller. true or false. magent does not take a history."
      },
      "compression": {
       "type": "boolean",
       "description": "Compression syndrome (ureter, GI tract, great vessels, or other vital organ as assigned by the caller). true or false. magent does not diagnose compression."
      },
      "mass_gt_7cm": {
       "type": "boolean",
       "description": "Any nodal or extranodal tumor mass >7 cm as assigned by the caller. true or false. magent does not measure nodes or extranodal masses."
      },
      "leukemic_phase": {
       "type": "boolean",
       "description": "Leukemic phase as assigned by the caller (paper: circulating malignant cells >5.0×10^9/L). true or false. magent does not count cells."
      },
      "three_nodes_gt_3cm": {
       "type": "boolean",
       "description": "At least 3 nodal sites, each with diameter >3 cm, as assigned by the caller. true or false. magent does not count or measure nodes."
      },
      "spleen_below_umbilicus": {
       "type": "boolean",
       "description": "Substantial splenic enlargement (inferior margin below the umbilicus) as assigned by the caller. true or false. magent does not measu
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "path": "/api/calc/gelf",
  "count": 2,
  "items": [
   {
    "formula": "gelf",
    "citation": {
     "id": "brice-1997",
     "doi": "10.1200/JCO.1997.15.3.1110",
     "pmid": "9060552",
     "title": "Comparison in low-tumor-burden follicular lymphomas between an initial no-treatment policy, prednimustine, or interferon alfa: a randomized study from the Groupe d'Etude des Lymphomes Folliculaires",
     "source": "J Clin Oncol. 1997;15(3):1110-1117",
     "authors": "Brice P, Bastion Y, Lepage E, Brousse N, Haïoun C, Moreau P, Straetmans N, Tilly H, Tabah I, Solal-Céligny P"
    },
    "criteria": [
     {
      "met": false,
      "factor": "mass_gt_7cm"
     },
     {
      "met": false,
      "factor": "three_nodes_gt_3cm"
     },
     {
      "met": false,
      "factor": "b_symptoms"
     },
     {
      "met": false,
      "factor": "spleen_below_umbilicus"
     },
     {
      "met": false,
      "factor": "compression"
     },
     {
      "met": false,
      "factor": "effusion"
     },
     {
      "met": false,
      "factor": "leukemic_phase"
     },
     {
      "met": false,
      "factor": "cytopenia"
     }
    ],
    "disclaimer": "Not a medical device. Deterministic published-formula or published-code output for autonomous agents. A licensed clinician remains responsible for patient care and billing submissions.",
    "tumor_burden": "low_burden",
    "formula_expression": "high tumor burden iff any of the 8 Brice 1997 GELF criteria"
   },
   {
    "formula": "gelf",
    "citation": {
     "id": "brice-1997",
     "doi": "10.1200/JCO.1997.15.3.1110",
     "pmid": "9060552",
     "title": "Comparison in low-tumor-burden follicular lymphomas between an initial no-treatment policy, prednimustine, or interferon alfa: a randomized study from the Groupe d'Etude des Lymphomes Folliculaires",
     "source": "J Clin Oncol. 1997;15(3):1110-1117",
     "authors": "Brice P, Bastion Y, Lepage E, Brousse N, Haïoun C, Moreau P, Straetmans N, Tilly H, Tabah I, Solal-Céligny P"
    },
    "criteria": [
     {
      "met": false,
      "factor": "mass_gt_7cm"
     },
     {
      "met": false,
      "factor": "three_nodes_gt_3cm"
     },
     {
      "met": false,
      "factor": "b_symptoms"
     },
     {
      "met": false,
      "factor": "spleen_below_umbilicus"
     },
     {
      "met": false,
      "factor": "compression"
     },
     {
      "met": false,
      "factor": "effusion"
     },
     {
      "met":
… (truncated)
```

## More

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