{"uid":"cap_SphqCeBmywesb6UwO03i7","slug":"magent-gmaws-calculator-mcpherson-2012-92a3e500","name":"magent GMAWS Calculator (McPherson 2012)","description":"McPherson 2012 GMAWS from five caller-assigned 0-2 items (tremor, sweating, hallucination, orientation, agitation) using that paper's Figure 1 0/1/2 descriptors. magent sums only (max 10) and returns Figure 1 bands zero, 1_to_3, 4_to_8, or 9_to_10. Temperature is not an item. magent does not observe the patient. Not a benzodiazepine or treatment order.","url":"https://api.magentlab.com/api/calc/gmaws","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":["tremor","sweating","hallucination","orientation","agitation"],"properties":{"tremor":{"type":"integer","description":"Caller-assigned McPherson 2012 Figure 1 tremor (integer 0-2): 0 no tremor; 1 on movement; 2 at rest. magent does not observe the patient."},"sweating":{"type":"integer","description":"Caller-assigned McPherson 2012 Figure 1 sweating (integer 0-2): 0 no sweat visible; 1 moist; 2 drenching sweats. magent does not observe the patient."},"agitation":{"type":"integer","description":"Caller-assigned McPherson 2012 Figure 1 agitation (integer 0-2): 0 calm; 1 anxious; 2 panicky. magent does not observe the patient."},"orientation":{"type":"integer","description":"Caller-assigned McPherson 2012 Figure 1 orientation (integer 0-2): 0 orientated; 1 vague/detached; 2 disorientated, no contact. magent does not observe the patient."},"hallucination":{"type":"integer","description":"Caller-assigned McPherson 2012 Figure 1 hallucination (integer 0-2): 0 not present; 1 dissuadable; 2 not dissuadable. magent does not observe 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_t3QzWgIRSINbdMcgZogw3","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 Glasgow Modified Alcohol Withdrawal Scale (GMAWS) score from five caller-supplied 0–2 item ratings and returns the corresponding severity band from McPherson 2012 Figure 1.","exampleAgentPrompt":"Score this patient's alcohol withdrawal using the GMAWS: tremor is 1 (on movement), sweating is 2 (drenching), hallucination is 1 (dissuadable), orientation is 0 (orientated), and agitation is 1 (anxious). What band does that put them in?","exampleUseCases":[{"title":"ED triage alcohol withdrawal severity","prompt":"I'm seeing a patient in the ED with alcohol withdrawal — tremor 2 (at rest), sweating 1 (moist), hallucination 0 (none), orientation 1 (vague), agitation 2 (panicky). What's their GMAWS score and which severity band does that fall into?"},{"title":"Serial GMAWS monitoring over time","prompt":"Run the GMAWS for a patient at the 4-hour reassessment: tremor 1, sweating 1, hallucination 0, orientation 0, agitation 1. I want to compare the band to their admission score."},{"title":"Documenting withdrawal score in clinical notes","prompt":"For my clinical documentation I need the GMAWS total and Figure 1 band for these scores: tremor 0, sweating 0, hallucination 1, orientation 2, agitation 0."}],"resultDescription":"Returns the GMAWS total score (integer 0–10, sum of the five items) and the McPherson 2012 Figure 1 severity band: 'zero', '1_to_3', '4_to_8', or '9_to_10'. Does not include treatment recommendations or medication orders.","failureModes":["Any item score outside 0–2 (e.g. integer 3 or negative) will likely cause a validation error or unexpected result","Missing any of the five required query parameters returns an error","Non-integer values (e.g. floats or strings) for item scores cause schema validation failure","Temperature is not a GMAWS item and passing it will be ignored or rejected"],"whenToPreferThis":"Use this endpoint when you need a fast, reproducible GMAWS score strictly following McPherson 2012 Figure 1 descriptors and band boundaries, particularly when integrating clinical scoring into an automated workflow. Prefer this over manual calculation to avoid arithmetic errors or band misclassification. Not suitable when the scoring instrument should be CIWA-Ar or another scale.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:11:51.577Z","isFirstParty":false}