{"uid":"cap_41xDhBKqrCtuBfBRp0TH3","slug":"roth-score-calculator-chorin-2016-c5a32d4b","name":"Roth Score Calculator (Chorin 2016)","description":"Chorin 2016 Roth score: caller max_count (integer 1-30, highest number reached counting 1 to 30 in one breath) and counting_time_seconds (greater than 0, at most 60). Echoes both; time to 1 decimal. Flags quote Table 2/discussion: max_count <10, counting_time <7 s, max_count <7, counting_time <5 s. Not a hypoxia class or 2021 general-practice cutoff. Not a medical device. magent does not time the patient.","url":"https://api.magentlab.com/api/calc/roth","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":["max_count","counting_time_seconds"],"properties":{"max_count":{"type":"integer","description":"Highest number reached counting 1 to 30 in one breath (integer 1-30). Caller supplies the count. magent does not administer the count."},"counting_time_seconds":{"type":"number","description":"Elapsed seconds from 1 until the highest number reached (greater than 0 and at most 60). Caller supplies the stopwatch reading. magent does not time 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_4-v-NX1rjQPtIWhZalwL2","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":"Calculates the Roth score from a counting test: echoes max_count and counting_time, and flags clinically notable thresholds from the Chorin 2016 paper's Table 2.","exampleAgentPrompt":"The patient counted to 22 in a single breath and it took 14.3 seconds — can you run the Chorin 2016 Roth score and tell me which thresholds, if any, are flagged?","exampleUseCases":[{"title":"Pre-op respiratory screening","prompt":"We just did a counting test on a pre-op patient — they reached 8 before running out of breath and the stopwatch read 6.2 seconds. Run the Roth score and tell me which Chorin 2016 thresholds are flagged."},{"title":"Telemedicine lung function check","prompt":"My patient counted to 15 over a telehealth call and it took 9.8 seconds. Can you compute the Roth score and let me know if any of the Table 2 flags apply?"},{"title":"Documenting borderline counting test result","prompt":"Patient only got to 6 and the time was 4.5 seconds on the counting test — what does the Roth score calculation say and are the critical low thresholds triggered?"}],"resultDescription":"Returns the echoed max_count and counting_time_seconds (rounded to 1 decimal place), plus boolean flags for the four clinically notable thresholds from Chorin 2016 Table 2: max_count <10, counting_time <7 s, max_count <7, counting_time <5 s. Does not assign a hypoxia class or apply 2021 general-practice cutoffs.","failureModes":["max_count outside 1–30 range returns validation error","counting_time_seconds ≤0 or >60 returns validation error","Missing required parameters returns error","Non-integer max_count returns schema validation error"],"whenToPreferThis":"Use this endpoint when you need to apply the specific Chorin 2016 Roth score thresholds (Table 2 flags) to a completed counting test and want an authoritative, versioned clinical calculator. Do not use if you need a hypoxia classification, the 2021 general-practice Roth cutoffs, or if the patient has not yet performed the counting test — the endpoint does not administer or time the test itself.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:14:44.939Z","isFirstParty":false}