{"uid":"cap_XadUDsmsdtVF70ieNsDLs","slug":"magent-msofa-calculator-90672020","name":"magent mSOFA Calculator","description":"Modified SOFA (mSOFA) from Grissom 2010 Table 2: SpO2/FiO2 respiration, caller-assigned scleral icterus or jaundice (0 or 3), MAP and adrenergic agents, caller-assigned GCS, and creatinine; five organs, coagulation not scored, max 19. Deterministic published score with citation; not Vincent 1996 SOFA, not qSOFA, and not a Sepsis-3 diagnosis.","url":"https://api.magentlab.com/api/calc/msofa","method":"GET","headers":{},"bodySchema":{"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":["spo2_percent","fio2","scleral_icterus_or_jaundice","map_mm_hg","gcs"],"properties":{"gcs":{"type":"integer","description":"Glasgow Coma Scale total as assigned by the caller (integer 3-15). 15 scores 0; 13-14 scores 1; 10-12 scores 2; 6-9 scores 3; <6 scores 4."},"fio2":{"type":"number","description":"Inspired oxygen as a fraction (0.21-1.0), not a percent. For nasal cannula, Grissom 2010 estimated FiO2 as 0.21 + 0.03 × L/min; the caller supplies the fraction."},"map_mm_hg":{"type":"number","description":"Mean arterial pressure in mm Hg (30-180). MAP <70 scores 1 unless a higher cardiovascular band applies."},"dobutamine":{"type":"boolean","description":"Any dobutamine. true or false when provided; absent is false. true scores cardiovascular 2 unless a higher band applies."},"spo2_percent":{"type":"number","description":"Pulse-oximeter SpO2 in percent (50-100), not a fraction. Respiration uses SpO2/FiO2: >400 scores 0; ≤400 scores 1; ≤315 scores 2; ≤235 scores 3; ≤150 scores 4 (Grissom 2010 Table 2). magent does not read a probe."},"creatinine_mg_dl":{"type":"number","description":"Creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. <1.2 scores 0; 1.2-1.9 scores 1; 2.0-3.4 scores 2; 3.5-4.9 scores 3; ≥5.0 scores 4. Table 2 lists creatinine only (not urine output)."},"creatinine_umol_l":{"type":"number","description":"Creatinine in µmol/L. Converted as mg/dL = µmol/L / 88.42."},"dopamine_ug_kg_min":{"type":"number","description":"Dopamine in µg/kg·min (0-50) when provided. Absent is 0. 0 < dose ≤5 scores 2; >5 scores 3; >15 scores 4."},"epinephrine_ug_kg_min":{"type":"number","description":"Epinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4."},"norepinephrine_ug_kg_min":{"type":"number","description":"Norepinephrine in µg/kg·min (0-2) when provided. Absent is 0. 0 < dose ≤0.1 scores 3; >0.1 scores 4."},"scleral_icterus_or_jaundice":{"type":"boolean","description":"Scleral icterus or jaundice as assigned by the caller (Grissom 2010 Table 2). true or false. Absent scores 0; present scores 3. Not serum bilirubin. magent does not examine the patient."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cT-lCLkmeKG-2Vokk_xzX","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes the modified SOFA (mSOFA) score from Grissom 2010 Table 2 across five organ systems using SpO2/FiO2 respiration, jaundice, MAP, adrenergic agents, GCS, and creatinine","exampleAgentPrompt":"Calculate the mSOFA score for my ICU patient: SpO2 is 91%, FiO2 is 0.40, no scleral icterus, MAP is 62 mmHg, dopamine at 8 µg/kg/min, GCS is 11, and creatinine is 2.3 mg/dL.","exampleUseCases":[{"title":"ICU triage severity scoring","prompt":"Score this ventilated patient's mSOFA: SpO2 88%, FiO2 0.60, MAP 58 mmHg with norepinephrine at 0.1 µg/kg/min, GCS 7, creatinine 3.8 mg/dL, and the patient has visible jaundice."},{"title":"Serial mSOFA trend monitoring","prompt":"My patient's vitals this morning: SpO2 95%, FiO2 0.30, MAP 72 mmHg with no vasopressors, GCS 14, creatinine 1.5 mg/dL, no icterus — what's the mSOFA score so I can compare to yesterday's?"},{"title":"Resource-limited setting organ scoring","prompt":"Compute the Grissom mSOFA for a patient where we can't get an ABG: pulse ox reads 97%, they're on room air so FiO2 0.21, MAP is 78 mmHg, GCS 15, creatinine 0.9 mg/dL, no jaundice, no pressors."}],"resultDescription":"Returns the total mSOFA integer score (0–19) and individual subscores for each of the five scored organ systems: respiration (SpO2/FiO2), hepatic (jaundice), cardiovascular (MAP + adrenergic agents), neurological (GCS), and renal (creatinine). Coagulation is explicitly not scored per Grissom 2010.","failureModes":["Missing required parameters (spo2_percent, fio2, scleral_icterus_or_jaundice, map_mm_hg, gcs) returns validation error","Out-of-range values (e.g. SpO2 >100, FiO2 <0.21, GCS outside 3-15) may return error or be clamped","Neither creatinine_mg_dl nor creatinine_umol_l provided — renal subscore may default to 0 or return error","FiO2 supplied as percent (e.g. 40) instead of fraction (0.40) will produce incorrect SpO2/FiO2 ratio and wrong score","Payment failure (x402) blocks computation if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a validated, deterministic mSOFA score per Grissom 2010 Table 2 — especially when arterial blood gas PaO2 is unavailable and SpO2 is used instead. Prefer over standard SOFA when coagulation data is missing or unreliable. Do not use this endpoint for qSOFA, Sepsis-3 diagnosis, or the original Vincent 1996 SOFA.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:03:21.463Z","isFirstParty":false}