# Mekhail 2005 RCC Prognostic Score Calculator

> Mekhail 2005 RCC Prognostic Score 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).

Computes the Mekhail 2005 extension of the Motzer RCC prognostic score (0–6 points) and returns risk group: favorable (0–1), intermediate (2), or poor (≥3).

## Facts

- Endpoint: GET https://api.magentlab.com/api/calc/mekhail
- 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/mekhail-2005-rcc-prognostic-score-calculator-c95ca48b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ENS0ChYiAgeRzfdRo0xMs

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 mekhail-2005-rcc-prognostic-score-calculator-c95ca48b
```

Example prompt: Calculate the Mekhail 2005 RCC prognostic score for a patient where KPS is below 80, LDH is above 1.5x ULN, hemoglobin is below the lower limit of normal, corrected calcium is normal (not above 10), they have had prior radiotherapy, and they have 2 or more metastatic sites — tell me the total score and risk group.

## When to prefer this

Use this endpoint when you need the specific Mekhail 2005 six-factor RCC prognostic model (which added prior radiotherapy and ≥2 metastatic sites to the Motzer 1999 factors and dropped no-prior-nephrectomy) rather than the original Motzer 1999 three-tier model, Motzer 2002 time-to-treatment model, or IMDC criteria. Ideal when a caller has already clinically determined the six boolean risk factors and needs a deterministic, citable score computation.

## Known failure modes

- Missing required boolean parameters returns a validation error
- Invalid or non-boolean values for any of the six flags cause a schema error
- Network or payment authorization failure returns a 402 or 4xx error
- The endpoint does not validate clinical values — garbage-in, garbage-out if caller misassigns boolean flags

## How this service works

Mekhail 2005 Motzer extension: KPS <80, LDH >1.5x ULN, hemoglobin <LLN, corrected calcium >10 mg/dL, prior radiotherapy, >=2 metastatic sites; 1 point each, max 6. Favorable 0-1, intermediate 2, poor >=3. Not Motzer 1999 0 / 1-2 / >=3. Not Motzer 2002 time-to-treatment. Mekhail dropped no-prior-nephrectomy. Deterministic published score with citation; not an RCC diagnosis or treatment recommendation; not IMDC. magent does not assign KPS, assay LDH, hemoglobin, or calcium, or image metastases.

## Output

Returns the Mekhail 2005 total score (integer 0–6, one point per positive risk factor) and the corresponding risk group: favorable (0–1 points), intermediate (2 points), or poor (≥3 points). The result is a deterministic calculation with a published citation; it is not a diagnosis, treatment recommendation, or IMDC classification.

## 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": [
      "kps_lt_80",
      "ldh_gt_1_5_uln",
      "hemoglobin_lt_lln",
      "corrected_calcium_gt_10",
      "prior_radiotherapy",
      "metastatic_sites_ge_2"
     ],
     "properties": {
      "kps_lt_80": {
       "type": "boolean",
       "description": "Karnofsky performance status <80% as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not observe KPS."
      },
      "ldh_gt_1_5_uln": {
       "type": "boolean",
       "description": "Serum LDH >1.5 × institutional ULN as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not assay LDH or apply ULN."
      },
      "hemoglobin_lt_lln": {
       "type": "boolean",
       "description": "Hemoglobin below the institutional lower limit of normal as assigned by the caller (Mekhail 2005; Motzer 1999 factor that remained independent). true scores 1. magent does not assay hemoglobin or apply LLN."
      },
      "prior_radiotherapy": {
       "type": "boolean",
       "description": "Prior radiotherapy as assigned by the caller (Mekhail 2005). true scores 1. magent does not review radiotherapy history."
      },
      "metastatic_sites_ge_2": {
       "type": "boolean",
       "description": "Two or more metastatic sites as assigned by the caller (Mekhail 2005: number of sites 0–1 vs 2–3 as surrogate for individual hepatic, lung, and retroperitoneal nodal sites). true scores 1. magent does not image metastases."
      },
      "corrected_calcium_gt_10": {
       "type": "boolean",
       "description": "Corrected calcium >10 mg/dL as assigned by the caller (Mekhail 2005; Motzer 1999 paper threshold, not institutional ULN). true scores 1. magent does not assay calcium."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
 
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mekhail-2005-rcc-prognostic-score-calculator-c95ca48b/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)
