MA
Agent Service · x402 · early usage

Gwynn 2019 MRC-ICU: 39 printed ICU medication and device items (1, 2, or 3 points)

Gwynn 2019 MRC-ICU: 39 printed ICU medication and device items (1, 2, or 3 points). Multiplier classes are weight × the caller-assigned count of qualifying medications. Non-multiplier items add the printed weight when present. Output is the integer sum plus c…

by api.magentlab.com · discovered, not yet claimed by its owner · updated 2026-10-12

30d calls3
30d payers1
MethodPOST
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Gwynn 2019 MRC-ICU: 39 printed ICU medication and device items (1, 2, or 3 points). Multiplier classes are weight × the caller-assigned count of qualifying medications. Non-multiplier items add the printed weight when present. Output is the integer sum plus components. Not a pharmacist-staffing order; magent does not read the MAR.

Tags: mrc-icu · icu · medication-complexity · gwynn-2019 · bazaar

Call contract

Method
POST
Input
HTTP request
Output
json
Last paid call
2026-10-12
Input example from Bazaar metadata
{
  "items": [
    {
      "aminoglycosides": 0,
      "amphotericin_b": false,
      "antiarrhythmics": 0,
      "anticoagulants": 0,
      "anticonvulsants": 0,
      "antimicrobials": 0,
      "argatroban": false,
      "azole_antifungals": 0,
      "blood_products": 0,
      "bowel_regimen": false,
      "chemotherapy": 0,
      "chlorhexidine": false,
      "clozapine": false,
      "continuous_infusions": 0,
      "continuous_opioids_sedatives": 0,
      "dialysis": false,
      "digoxin": false,
      "ecmo": false,
      "ganciclovir_valganciclovir": 0,
      "glycemic_control": false,
      "hyperosmolar_fluids": 0,
      "iabp": false,
      "immunosuppressants": 0,
      "lidocaine_infusion": false,
      "lithium": false,
      "lvad": false,
      "mechanical_ventilation": false,
      "neuromuscular_blockade": false,
      "opioids_sedatives": 0,
      "prostacyclins": 0,
      "restricted_antimicrobials": 0,
      "stress_ulcer_prophylaxis": false,
      "theophylline": false,
      "therapeutic_heparins": 0,
      "thromboembolic_prophylaxis": false,
      "tpn_clinical_pharmacist": false,
      "tpn_non_pharmacist": false,
      "vancomycin_iv": false,
      "warfarin": false
    },
    {
      "aminoglycosides": 0,
      "amphotericin_b": false,
      "antiarrhythmics": 0,
      "anticoagulants": 0,
      "anticonvulsants": 0,
      "antimicrobials": 0,
      "argatroban": false,
      "azole_antifungals": 0,
      "blood_products": 0,
      "bowel_regimen": false,
      "chemotherapy": 0,
      "chlorhexidine": false,
      "clozapine": false,
      "continuous_infusions": 0,
      "continuous_opioids_sedatives": 0,
      "dialysis": false,
      "digoxin": false,
      "ecmo": false,
      "ganciclovir_valganciclovir": 0,
      "glycemic_control": false,
      "hyperosmolar_fluids": 0,
      "iabp": false,
      "immunosuppressants": 0,
      "lidocaine_infusion": false,
      "lithium": false,
      "lvad": false,
      "mechanical_ventilation": false,
      "neuromuscular_blockade": false,
      "opioids_sedatives": 0,
      "prostacyclins": 0,
      "restricted_antimicrobials": 0,
      "stress_ulcer_prophylaxis": false,
      "theophylline": false,
      "therapeutic_heparins": 0,
      "thromboembolic_prophylaxis": false,
      "tpn_clinical_pharmacist": false,
      "tpn_non_pharmacist": false,
      "vancomycin_iv": false,
      "warfarin": false
    }
  ]
}
Output example
{
  "count": 2,
  "items": [
    {
      "citation": {
        "authors": "Gwynn ME, Poisson MO, Waller JL, Newsome AS",
        "doi": "10.1093/ajhp/zxy054",
        "id": "gwynn-2019",
        "pmid": "31067298",
        "source": "Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40",
        "title": "Development and validation of a medication regimen complexity scoring tool for critically ill patients"
      },
      "components": [
        {
          "factor": "aminoglycosides",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "amphotericin_b",
          "points": 0,
          "present": false
        },
        {
          "factor": "antiarrhythmics",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "anticoagulants",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "anticonvulsants",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "argatroban",
          "points": 0,
          "present": false
        },
        {
          "factor": "azole_antifungals",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "blood_products",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "chemotherapy",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "clozapine",
          "points": 0,
          "present": false
        },
        {
          "factor": "digoxin",
          "points": 0,
          "present": false
        },
        {
          "factor": "ganciclovir_valganciclovir",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "hyperosmolar_fluids",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "immunosuppressants",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "lidocaine_infusion",
          "points": 0,
          "present": false
        },
        {
          "factor": "lithium",
          "points": 0,
          "present": false
        },
        {
          "factor": "prostacyclins",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "theophylline",
          "points": 0,
          "present": false
        },
        {
          "factor": "therapeutic_heparins",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "vancomycin_iv",
          "points": 0,
          "present": false
        },
        {
          "factor": "warfarin",
          "points": 0,
          "present": false
        },
        {
          "factor": "neuromuscular_blockade",
          "points": 0,
          "present": false
        },
        {
          "factor": "continuous_infusions",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "tpn_non_pharmacist",
          "points": 0,
          "present": false
        },
        {
          "factor": "tpn_clinical_pharmacist",
          "points": 0,
          "present": false
        },
        {
          "factor": "thromboembolic_prophylaxis",
          "points": 0,
          "present": false
        },
        {
          "factor": "stress_ulcer_prophylaxis",
          "points": 0,
          "present": false
        },
        {
          "factor": "glycemic_control",
          "points": 0,
          "present": false
        },
        {
          "factor": "bowel_regimen",
          "points": 0,
          "present": false
        },
        {
          "factor": "chlorhexidine",
          "points": 0,
          "present": false
        },
        {
          "factor": "opioids_sedatives",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "continuous_opioids_sedatives",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "antimicrobials",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "restricted_antimicrobials",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "dialysis",
          "points": 0,
          "present": false
        },
        {
          "factor": "ecmo",
          "points": 0,
          "present": false
        },
        {
          "factor": "iabp",
          "points": 0,
          "present": false
        },
        {
          "factor": "lvad",
          "points": 0,
          "present": false
        },
        {
          "factor": "mechanical_ventilation",
          "points": 0,
          "present": false
        }
      ],
      "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.",
      "formula": "mrc_icu",
      "formula_expression": "MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2",
      "score": 0
    },
    {
      "citation": {
        "authors": "Gwynn ME, Poisson MO, Waller JL, Newsome AS",
        "doi": "10.1093/ajhp/zxy054",
        "id": "gwynn-2019",
        "pmid": "31067298",
        "source": "Am J Health Syst Pharm. 2019;76(Supplement_2):S34-S40",
        "title": "Development and validation of a medication regimen complexity scoring tool for critically ill patients"
      },
      "components": [
        {
          "factor": "aminoglycosides",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "amphotericin_b",
          "points": 0,
          "present": false
        },
        {
          "factor": "antiarrhythmics",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "anticoagulants",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "anticonvulsants",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "argatroban",
          "points": 0,
          "present": false
        },
        {
          "factor": "azole_antifungals",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "blood_products",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "chemotherapy",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "clozapine",
          "points": 0,
          "present": false
        },
        {
          "factor": "digoxin",
          "points": 0,
          "present": false
        },
        {
          "factor": "ganciclovir_valganciclovir",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "hyperosmolar_fluids",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "immunosuppressants",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "lidocaine_infusion",
          "points": 0,
          "present": false
        },
        {
          "factor": "lithium",
          "points": 0,
          "present": false
        },
        {
          "factor": "prostacyclins",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "theophylline",
          "points": 0,
          "present": false
        },
        {
          "factor": "therapeutic_heparins",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "vancomycin_iv",
          "points": 0,
          "present": false
        },
        {
          "factor": "warfarin",
          "points": 0,
          "present": false
        },
        {
          "factor": "neuromuscular_blockade",
          "points": 0,
          "present": false
        },
        {
          "factor": "continuous_infusions",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "tpn_non_pharmacist",
          "points": 0,
          "present": false
        },
        {
          "factor": "tpn_clinical_pharmacist",
          "points": 0,
          "present": false
        },
        {
          "factor": "thromboembolic_prophylaxis",
          "points": 0,
          "present": false
        },
        {
          "factor": "stress_ulcer_prophylaxis",
          "points": 0,
          "present": false
        },
        {
          "factor": "glycemic_control",
          "points": 0,
          "present": false
        },
        {
          "factor": "bowel_regimen",
          "points": 0,
          "present": false
        },
        {
          "factor": "chlorhexidine",
          "points": 0,
          "present": false
        },
        {
          "factor": "opioids_sedatives",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "continuous_opioids_sedatives",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "antimicrobials",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "restricted_antimicrobials",
          "points": 0,
          "present": false,
          "value": 0
        },
        {
          "factor": "dialysis",
          "points": 0,
          "present": false
        },
        {
          "factor": "ecmo",
          "points": 0,
          "present": false
        },
        {
          "factor": "iabp",
          "points": 0,
          "present": false
        },
        {
          "factor": "lvad",
          "points": 0,
          "present": false
        },
        {
          "factor": "mechanical_ventilation",
          "points": 0,
          "present": false
        }
      ],
      "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.",
      "formula": "mrc_icu",
      "formula_expression": "MRC-ICU (Gwynn 2019) = sum of 39 printed item weights. Multiplier classes (printed ×) are weight × caller-assigned count of qualifying medications (0-20): aminoglycosides 3, antiarrhythmics 1, anticoagulants 1, anticonvulsants 3, azole_antifungals 2, blood_products 2, chemotherapy 3, ganciclovir_valganciclovir 1, hyperosmolar_fluids 1, immunosuppressants 3, prostacyclins 2, therapeutic_heparins 2, continuous_infusions 1, opioids_sedatives 1, continuous_opioids_sedatives 2, antimicrobials 1, restricted_antimicrobials 2. Flags add the printed weight when present: amphotericin_b 1, argatroban 2, clozapine 3, digoxin 3, lidocaine_infusion 2, lithium 3, theophylline 3, vancomycin_iv 3, warfarin 3, neuromuscular_blockade 2, tpn_non_pharmacist 1, tpn_clinical_pharmacist 3, thromboembolic_prophylaxis 1, stress_ulcer_prophylaxis 1, glycemic_control 1, bowel_regimen 1, chlorhexidine 1, dialysis 2, ecmo 2, iabp 1, lvad 1, mechanical_ventilation 2",
      "score": 0
    }
  ],
  "path": "/api/calc/mrc_icu"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39505.json for the price and payment options.
  3. Pay. Call GET https://api.magentlab.com/api/calc/mrc_icu. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
3 calls · 1 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050x836Be278f1739fB4308091cD1852F7971Bc19Ee2600s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x836Be278f1739fB4308091cD1852F7971Bc19Ee2",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 600
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {},
  "type": "string"
}

Examples

curl
curl "https://api.magentlab.com/api/calc/mrc_icu"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.magentlab.com/api/calc/mrc_icu");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.magentlab.com/api/calc/mrc_icu")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.magentlab.com
Endpoint
https://api.magentlab.com/api/calc/mrc_icu
Machine-readable
/resources/39505.json