{"uid":"cap_8tY5PqfhOteqcwWzyZE6W","slug":"gcs-pupils-gcs-p-score-calculator-14feb6e8","name":"GCS-Pupils (GCS-P) Score Calculator","description":"GCS-Pupils (GCS-P) as caller-assigned total GCS 3-15 minus pupil reactivity score (unreactive pupils 0, 1, or 2) per Brennan 2018. Returns the index only (GCS-P range 1-15). magent does not examine pupils, assign GCS, compute eye/verbal/motor (use /api/calc/gcs), or implement Part 2 probability charts. Not a medical device and not a TBI-severity diagnosis.","url":"https://api.magentlab.com/api/calc/gcs_pupils","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":["gcs","unreactive_pupils"],"properties":{"gcs":{"type":"integer","description":"Caller-assigned total GCS as an integer 3-15 (1976-style total). magent does not assign GCS and does not take eye, verbal, or motor here (use /api/calc/gcs)."},"unreactive_pupils":{"type":"integer","description":"Pupil reactivity score (PRS): integer 0, 1, or 2. 0 both pupils reactive, 1 one unreactive, 2 both unreactive. magent does not examine pupils."}}}},"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_nVJIWe-OyWw1W1XMRQBv-","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 GCS-Pupils (GCS-P) score by subtracting a pupil reactivity score (0, 1, or 2) from a caller-assigned total GCS (3–15), returning an integer index in the range 1–15 per the Brennan 2018 method.","exampleAgentPrompt":"Calculate the GCS-Pupils score for a patient who has a total GCS of 10 and one unreactive pupil — give me the GCS-P index using the Brennan 2018 method.","exampleUseCases":[{"title":"ICU neuro status documentation","prompt":"My patient in the ICU has a total GCS of 8 and both pupils are unreactive — what is their GCS-P score?"},{"title":"Trauma bay rapid TBI triage","prompt":"In the trauma bay, our patient's GCS is 13 and one pupil is unreactive. Can you compute the GCS-Pupils index for charting?"},{"title":"Automated clinical decision pipeline","prompt":"I have a series of patients with recorded GCS totals and pupil reactivity counts — for the first one, GCS is 15 and both pupils are reactive, so unreactive_pupils is 0. What's the GCS-P?"}],"resultDescription":"Returns a single integer GCS-P index value in the range 1–15, computed as the caller-supplied total GCS (3–15) minus the pupil reactivity score (0, 1, or 2), per Brennan 2018. No probability charts, severity diagnoses, or component scores are returned.","failureModes":["GCS value out of range (not 3–15): likely validation error or unexpected result","unreactive_pupils not 0, 1, or 2: invalid input rejected","Missing required query parameters (gcs or unreactive_pupils): request error","GCS-P arithmetic yields value below 1: handled by floor logic or may return edge-case result","Network or payment (x402) failure: request not processed"],"whenToPreferThis":"Choose this endpoint when you already have a total GCS score and a pupil reactivity count (0, 1, or 2) and need to compute the Brennan 2018 GCS-P index. Use it in clinical decision-support pipelines, automated charting tools, or TBI research workflows that require pupil-adjusted GCS. Do not use if you need to first compute total GCS from eye/verbal/motor components (use /api/calc/gcs for that step), or if you need full TBI severity probability tables.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:09:05.926Z","isFirstParty":false}