magent mGPS 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-10-10).
Computes the McMillan 2007 modified Glasgow Prognostic Score (mGPS 0–2) from serum CRP (mg/L) and albumin (g/L or g/dL)
Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.
Returns a JSON object with the mGPS score (0, 1, or 2), the formula expression used, the input CRP and albumin values, the full McMillan 2007 citation (DOI, PMID, authors, journal), and a disclaimer that this is not a medical device and a licensed clinician remains responsible for patient care.
GEThttps://api.magentlab.com/api/calc/mgps?utm_source=zero.xyzChoose this endpoint when you need a deterministic, citable computation of the McMillan 2007 mGPS specifically — not the original GPS or hs-mGPS — from raw CRP (mg/L) and albumin lab values. Ideal for autonomous agents embedded in oncology workflows, clinical decision support pipelines, or research data enrichment where auditability (citation included in response) and formula transparency are required.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"path": "/api/calc/mgps",
"count": 2,
"items": [
{
"mgps": 0,
"formula": "mgps",
"citation": {
"id": "mcmillan-2007",
"doi": "10.1007/s00384-006-0259-6",
"pmid": "17245566",
"title": "Evaluation of an inflammation-based prognostic score (GPS) in patients undergoing resection for colon and rectal cancer",
"source": "Int J Colorectal Dis. 2007;22(8):881-886",
"authors": "McMillan DC, Crozier JEM, Canna K, Angerson WJ, McArdle CS"
},
"crp_mg_l": 5,
"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.",
"albumin_g_l": 40,
"formula_expression": "mGPS 0: CRP ≤ 10 mg/L (albumin ignored); mGPS 1: CRP > 10 mg/L AND albumin ≥ 35 g/L; mGPS 2: CRP > 10 mg/L AND albumin < 35 g/L (McMillan 2007 modified GPS)"
},
{
"mgps": 0,
"formula": "mgps",
"citation": {
"id": "mcmillan-2007",
"doi": "10.1007/s00384-006-0259-6",
"pmid": "17245566",
"title": "Evaluation of an inflammation-based prognostic score (GPS) in patients undergoing resection for colon and rectal cancer",
"source": "Int J Colorectal Dis. 2007;22(8):881-886",
"authors": "McMillan DC, Crozier JEM, Canna K, Angerson WJ, McArdle CS"
},
"crp_mg_l": 5,
"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.",
"albumin_g_l": 40,
"formula_expression": "mGPS 0: CRP ≤ 10 mg/L (albumin ignored); mGPS 1: CRP > 10 mg/L AND albumin ≥ 35 g/L; mGPS 2: CRP > 10 mg/L AND albumin < 35 g/L (McMillan 2007 modified GPS)"
}
]
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"