# LENT Score Calculator for Malignant Pleural Effusion

> LENT Score Calculator for Malignant Pleural Effusion 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).

Computes the Clive 2014 LENT prognostic score for malignant pleural effusion from pleural LDH, ECOG status, serum NLR, and tumour type

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/lent
- 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/lent-score-calculator-for-malignant-pleural-effusion-19189f93
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_k8y4SLJf8V805VpXWwYaN

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 lent-score-calculator-for-malignant-pleural-effusion-19189f93
```

Example prompt: Calculate the LENT score for a patient with pleural LDH of 2200 IU/L, ECOG status 2, serum NLR of 6.5, and a lung cancer tumour type — what risk category do they fall into?

## When to prefer this

Use this endpoint when you need a validated, reproducible computation of the Clive 2014 LENT prognostic score for malignant pleural effusion in a clinical or research workflow. Prefer it over manual lookup tables when automating oncology documentation, MDT note generation, or palliative care triage pipelines. It is not a substitute for clinical judgment and does not diagnose or prescribe treatment.

## Known failure modes

- Missing required parameters (pleural_ldh_u_l, ecog, nlr, tumor_type) returns a validation error
- ECOG value outside 0-4 range rejected
- Pleural LDH exactly equal to 1500 or NLR exactly equal to 9 is not scored and returns an error or indeterminate result
- Invalid tumour_type enum value returns a 400 error
- NLR passed as a percentage rather than a ratio will produce incorrect scoring

## How this service works

Clive 2014 LENT score for malignant pleural effusion: pleural LDH IU/L (<1500 → 0, >1500 → 1), ECOG 0-4 (0→0, 1→1, 2→2, 3-4→3), serum NLR as a number (<9 → 0, >9 → 1), tumour type (mesothelioma/haematological 0; breast/gynaecological/renal_cell 1; lung/other 2). Score 0-7: 0-1 low, 2-4 moderate, 5-7 high. Equality at 1500 or 9 is not scored. Not a diagnosis or treatment order.

## Output

Returns the numeric LENT score (0-7) and the corresponding risk category: low (0-1), moderate (2-4), or high (5-7), based on the four input variables weighted according to the Clive 2014 scoring table.

## 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": [
      "pleural_ldh_u_l",
      "ecog",
      "nlr",
      "tumor_type"
     ],
     "properties": {
      "nlr": {
       "type": "number",
       "description": "Serum neutrophil-to-lymphocyte ratio as a number (0.05-200, not 9). Clive 2014 Table 3: <9 scores 0, >9 scores 1. Equality at 9 is not scored. Pass nlr; magent does not compute it from percents."
      },
      "ecog": {
       "type": "integer",
       "description": "Oken 1982 ECOG performance status 0-4 as assigned by the caller. Clive 2014: 0→0, 1→1, 2→2, 3-4→3. Grade 5 (dead) is not scored. magent does not observe the patient."
      },
      "tumor_type": {
       "enum": [
        "mesothelioma",
        "haematological",
        "breast",
        "gynaecological",
        "renal_cell",
        "lung",
        "other"
       ],
       "type": "string",
       "description": "Clive 2014 tumour type. mesothelioma or haematological (also hematological) scores 0; breast, gynaecological (also gynecological), or renal_cell scores 1; lung or other scores 2. magent does not assign tumour type from histology text."
      },
      "pleural_ldh_u_l": {
       "type": "number",
       "description": "Pleural fluid LDH in IU/L (1-20000, not 1500). Clive 2014 Table 3: <1500 scores 0, >1500 scores 1. Equality at 1500 is not scored."
      }
     }
    }
   },
   "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/lent-score-calculator-for-malignant-pleural-effusion-19189f93/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)
