# magent mRECIST Calculator (Lencioni 2010)

> magent mRECIST Calculator (Lencioni 2010) 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 modified RECIST (mRECIST) response category for intrahepatic HCC target lesions using caller-assigned flags per Lencioni 2010 criteria: PD, CR, PR, or SD.

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mrecist
- 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-mrecist-calculator-lencioni-2010-abb092e9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4TqMwhjCeM90ETgH2QaYw

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-mrecist-calculator-lencioni-2010-abb092e9
```

Example prompt: Using the Lencioni 2010 mRECIST criteria, classify the tumor response for my HCC patient: no new lesion detected, viable sum has not increased by 20% or more, arterial enhancement has not disappeared in all targets, and the viable sum has decreased by 30% or more compared to baseline.

## When to prefer this

Use this endpoint when you need to automate Lencioni 2010 mRECIST response classification for intrahepatic HCC target lesions and have already assigned the four required clinical flags from imaging review. Prefer this over manual lookup tables when building oncology trial pipelines, radiology workflow automation, or clinical decision support tools. Do not use for RECIST 1.1, EASL necrosis-only criteria, the 2019 Llovet +5 mm PD refinement, or nontarget-only overall response assessment.

## Known failure modes

- Missing required boolean query parameters (new_lesion, viable_sum_increase_ge_20, enhancement_disappeared, viable_sum_reduction_ge_30) returns a 400 error
- Non-boolean values for flag parameters cause validation errors
- Payment failure (402) if x402 payment header is missing or insufficient
- Rate limiting or network timeout if the API is unavailable

## How this service works

Lencioni 2010 mRECIST for typical intrahepatic HCC target lesions. First-match: PD if new_lesion or a 20% or greater viable-sum increase vs nadir; else CR if arterial enhancement disappeared in all targets; else PR if a 30% or greater viable-sum decrease vs baseline; else SD. Caller-assigned flags; magent does not read imaging. Not a medical device, not a diagnosis, not RECIST 1.1, not EASL necrosis-only, not the 2019 Llovet +5 mm PD refinement, and not nontarget-only overall response.

## Output

Returns a single mRECIST response category — PD (progressive disease), CR (complete response), PR (partial response), or SD (stable disease) — determined by first-match logic: PD if new lesion or viable sum increase ≥20% vs nadir; CR if arterial enhancement disappeared in all targets; PR if viable sum decreased ≥30% vs baseline; otherwise SD.

## 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": [
      "new_lesion",
      "viable_sum_increase_ge_20",
      "enhancement_disappeared",
      "viable_sum_reduction_ge_30"
     ],
     "properties": {
      "new_lesion": {
       "type": "boolean",
       "description": "One or more new lesions as assigned by the caller (Lencioni 2010 mRECIST PD). true or false. When true, mrecist is PD regardless of enhancement or viable-sum flags. magent does not read imaging."
      },
      "enhancement_disappeared": {
       "type": "boolean",
       "description": "Disappearance of any intratumoral arterial enhancement in all target lesions, as assigned by the caller (Lencioni 2010 mRECIST CR). true or false. magent does not measure arterial-phase enhancement or read CT/MRI."
      },
      "viable_sum_increase_ge_20": {
       "type": "boolean",
       "description": "≥20% increase in the sum of diameters of viable (arterial-enhancing) target lesions versus nadir, as assigned by the caller (Lencioni 2010 mRECIST PD). Do not also require a 5 mm absolute increase. true or false. magent does not measure lesions."
      },
      "viable_sum_reduction_ge_30": {
       "type": "boolean",
       "description": "≥30% decrease in the sum of diameters of viable (arterial-enhancing) target lesions versus baseline, as assigned by the caller (Lencioni 2010 mRECIST PR). true or false. magent does not measure lesions."
      }
     }
    }
   },
   "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/magent-mrecist-calculator-lencioni-2010-abb092e9/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)
