{"uid":"cap_4vRrBygpkyoU4JhBM2bfn","slug":"magent-glasgow-coma-scale-gcs-calculator-d6f19a48","name":"magent Glasgow Coma Scale (GCS) Calculator","description":"Deterministic published-formula arithmetic plus ICD-10-CM, RxNorm, and LOINC. Pay in USDC on Base via x402.","url":"https://api.magentlab.com/api/calc/gcs?utm_source=zero.xyz","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":["eye","verbal","motor","edition"],"properties":{"eye":{"type":"integer","description":"Eye opening (E). Integer 1-4 as assigned by the caller."},"motor":{"type":"integer","description":"Motor response (M). Integer 1-5 when edition=1974, or 1-6 when edition=1976, as assigned by the caller."},"verbal":{"type":"integer","description":"Verbal response (V). Integer 1-5 as assigned by the caller."},"edition":{"enum":["1974","1976"],"type":"string","description":"Published motor scale. Required; magent does not pick 1974 (motor 1-5) or 1976 (motor 1-6)."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"path":"/api/calc/gcs","count":2,"items":[{"score":15,"edition":"1976","formula":"gcs","citation":{"id":"teasdale-jennett-1976","doi":"10.1007/BF01405862","title":"Assessment and prognosis of coma after head injury","source":"Acta Neurochir (Wien). 1976;34:45-55","authors":"Teasdale G, Jennett B"},"max_score":15,"components":[{"value":4,"factor":"eye","points":4,"present":true},{"value":5,"factor":"verbal","points":5,"present":true},{"value":6,"factor":"motor","points":6,"present":true}],"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_expression":"GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15"},{"score":15,"edition":"1976","formula":"gcs","citation":{"id":"teasdale-jennett-1976","doi":"10.1007/BF01405862","title":"Assessment and prognosis of coma after head injury","source":"Acta Neurochir (Wien). 1976;34:45-55","authors":"Teasdale G, Jennett B"},"max_score":15,"components":[{"value":4,"factor":"eye","points":4,"present":true},{"value":5,"factor":"verbal","points":5,"present":true},{"value":6,"factor":"motor","points":6,"present":true}],"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_expression":"GCS = eye + verbal + motor; eye 1-4, verbal 1-5, motor 1-6; max 15"}]}},"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_2-aV6QXj0q9ZJSmPIuEd5","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 Coma Scale total score from eye, verbal, and motor sub-scores using the specified 1974 or 1976 edition, returning a deterministic published score with citation.","exampleAgentPrompt":"Calculate the Glasgow Coma Scale score for a patient with eye opening of 3, verbal response of 4, and motor response of 5 using the 1976 edition.","exampleUseCases":[{"title":"Emergency triage GCS scoring","prompt":"A trauma patient just came in — eye opening is 2, verbal is 3, motor is 4. Can you calculate their GCS score using the 1976 edition so I can document it?"},{"title":"ICU neuro check documentation","prompt":"I need to record a GCS for my ICU patient: eyes open to voice so that's E3, they're confused so V4, and they're localizing pain so M5. Use the 1976 edition and give me the total with the citation."},{"title":"TBI severity classification","prompt":"My patient has a head injury — GCS eye score is 1, verbal is 2, motor is 2 on the 1974 scale. What's their total GCS score?"}],"resultDescription":"Returns the deterministic GCS total score (max 14 for 1974 edition, max 15 for 1976 edition), the three component sub-scores (E, V, M), the applicable edition, the score maximum, and a published clinical citation — but explicitly not a diagnosis.","failureModes":["Missing required parameters (eye, verbal, motor, edition) return a 400 error","Motor score out of range for specified edition (e.g., motor=6 with edition=1974) returns an error","Eye score outside 1-4 or verbal score outside 1-5 returns a validation error","Non-integer values for sub-scores return a type error","Missing edition parameter returns an error since the API never auto-selects"],"whenToPreferThis":"Use this endpoint when you need a deterministic, citable Glasgow Coma Scale score computed according to a specific published edition (1974 or 1976). Prefer it over manual calculation to ensure correctness, auditability, and inclusion of a bibliographic citation for clinical documentation. It is ideal for EHR automation, clinical decision support agents, and audit trails where a referenced score — not just a sum — is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-11T06:51:23.444Z","isFirstParty":false,"canonicalSlug":"magent-glasgow-coma-scale-gcs-calculator-d6f19a48"}