{"uid":"cap_H9HbpKyQJpDFKx5T4JBJh","slug":"rcvs2-score-calculator-rocha-2019-02619297","name":"RCVS2 Score Calculator (Rocha 2019)","description":"Rocha 2019 RCVS2 score from five caller-assigned items: recurrent or single thunderclap headache (+5), intracranial ICA involvement (-2), vasoconstrictive trigger (+3), female sex (+1), subarachnoid hemorrhage (+1). Range -2 to 10. Score >=5 supports RCVS; <=2 against; 3-4 equivocal. magent does not read angiograms. Not a diagnosis and not PACNS treatment advice. Not a medical device.","url":"https://api.magentlab.com/api/calc/rcvs2","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":["thunderclap_headache","intracranial_ica_involvement","vasoconstrictive_trigger","sex","sah"],"properties":{"sah":{"type":"boolean","description":"Subarachnoid hemorrhage on imaging as assigned by the caller (Rocha 2019). true scores 1. magent does not interpret imaging."},"sex":{"enum":["female","male"],"type":"string","description":"female or male (Rocha 2019). Female scores 1; male scores 0."},"thunderclap_headache":{"type":"boolean","description":"Recurrent or single thunderclap headache as assigned by the caller (Rocha 2019). Both patterns score 5; the paper does not split them. true or false. magent does not take a headache history."},"vasoconstrictive_trigger":{"type":"boolean","description":"Identified vasoconstrictive trigger as assigned by the caller (Rocha 2019). true scores 3. magent does not take a trigger history."},"intracranial_ica_involvement":{"type":"boolean","description":"Intracranial internal carotid artery involvement as assigned by the caller (Rocha 2019). true scores -2. magent does not read angiograms."}}}},"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_cD0bKXPJi0mm8v9_CKftv","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 Rocha 2019 RCVS2 diagnostic score for Reversible Cerebral Vasoconstriction Syndrome from five caller-assigned clinical items","exampleAgentPrompt":"Run an RCVS2 score for a female patient who presented with a thunderclap headache, has a vasoconstrictive trigger identified, no intracranial ICA involvement, and subarachnoid hemorrhage seen on imaging.","exampleUseCases":[{"title":"ED thunderclap headache triage","prompt":"A female patient in the ED has a single thunderclap headache, a vasoconstrictive trigger was identified, no intracranial ICA involvement on imaging, and there is subarachnoid hemorrhage — can you calculate her RCVS2 score and tell me if it supports RCVS?"},{"title":"Neurology consult RCVS vs PACNS differentiation","prompt":"I'm working up a male patient for possible RCVS — he had a thunderclap headache, no vasoconstrictive trigger, intracranial ICA involvement noted, and no SAH. Give me his Rocha 2019 RCVS2 score and the interpretation."},{"title":"Automated EMR clinical scoring pipeline","prompt":"For my neurology patient record: female, recurrent thunderclap headache present, vasoconstrictive trigger confirmed, no intracranial ICA involvement, no subarachnoid hemorrhage on imaging — compute the RCVS2 score so I can document the clinical stratification."}],"resultDescription":"Returns an integer RCVS2 score ranging from -2 to 10, computed by summing: +5 for thunderclap headache, -2 for intracranial ICA involvement, +3 for vasoconstrictive trigger, +1 for female sex, +1 for subarachnoid hemorrhage. A score ≥5 supports RCVS, ≤2 argues against RCVS, and 3–4 is equivocal. The endpoint does not interpret imaging, take clinical histories, or provide diagnoses.","failureModes":["Missing required query parameters (thunderclap_headache, intracranial_ica_involvement, vasoconstrictive_trigger, sex, sah) returns a validation error","Invalid enum value for sex (not 'female' or 'male') causes a schema error","Non-boolean values for boolean parameters cause rejection","Network or payment failure (x402) if USDC payment of $0.005 is not settled","Caller-assigned inputs that do not accurately reflect clinical findings will produce a score that does not reflect the patient's true clinical picture"],"whenToPreferThis":"Use this endpoint when you need a fast, deterministic computation of the Rocha 2019 RCVS2 score from already-assessed clinical items. It is ideal for clinical decision support pipelines, EMR integrations, or agentic neurology workflows where the five RCVS2 items (thunderclap headache, ICA involvement, vasoconstrictive trigger, sex, SAH) have already been determined by a clinician and need to be scored consistently. Do not use it for imaging interpretation, history-taking, PACNS management advice, or as a standalone diagnostic tool.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:39.464Z","isFirstParty":false}