{"uid":"cap_wyMkz7GoP_Ds1DHa5wTnm","slug":"magent-mayo-uc-schroeder-1987-disease-activity-index-calculator-1ec5226b","name":"magent Mayo UC (Schroeder 1987) Disease Activity Index Calculator","description":"Schroeder 1987 ulcerative colitis disease-activity index (Mayo DAI): four caller-assigned integers 0-3 (stool frequency, rectal bleeding, endoscopy, physician global). magent sums only (max 12) and does not return later remission or activity-band cutoffs. magent does not count stools, examine the patient, or perform endoscopy. Not a diagnosis and not the Mayo SPN pulmonary-nodule model.","url":"https://api.magentlab.com/api/calc/mayo_uc","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":["stool_frequency","rectal_bleeding","endoscopy","physician_global"],"properties":{"endoscopy":{"type":"integer","description":"Caller-assigned Schroeder 1987 endoscopy / flexible proctosigmoidoscopy (integer 0-3): 0 normal or inactive; 1 mild (erythema, decreased vascular pattern, mild friability); 2 moderate (marked erythema, absent vascular pattern, friability, erosions); 3 severe (spontaneous bleeding, ulceration). magent does not perform endoscopy."},"rectal_bleeding":{"type":"integer","description":"Caller-assigned Schroeder 1987 rectal bleeding (integer 0-3): 0 none; 1 streaks of blood with stool less than half the time; 2 obvious blood with stool most of the time; 3 blood alone passed. magent does not examine the patient."},"stool_frequency":{"type":"integer","description":"Caller-assigned Schroeder 1987 stool frequency (integer 0-3): 0 normal number of stools for this patient; 1 = 1-2 stools/day more than normal; 2 = 3-4 more; 3 = 5 or more more than normal. magent does not count stools."},"physician_global":{"type":"integer","description":"Caller-assigned Schroeder 1987 physician's global assessment (integer 0-3): 0 normal; 1 mild; 2 moderate; 3 severe. magent does not examine 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_nN--ndevCrKRv3FXSUf9Z","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 Schroeder 1987 Mayo ulcerative colitis disease-activity index (DAI) score by summing four caller-provided integer subscores (stool frequency, rectal bleeding, endoscopy, physician global), returning a total out of 12.","exampleAgentPrompt":"Calculate the Mayo ulcerative colitis disease activity index for a patient with stool frequency score 2, rectal bleeding score 1, endoscopy score 2, and physician global assessment score 2.","exampleUseCases":[{"title":"Tracking UC flare severity over time","prompt":"My patient has stool frequency score 3, rectal bleeding score 2, endoscopy score 3, and a physician global of 3 — what is their Schroeder Mayo DAI total?"},{"title":"Documenting remission at follow-up visit","prompt":"At follow-up this UC patient scores 0 on stool frequency, 0 on rectal bleeding, 1 on endoscopy, and 0 on physician global — can you compute their Mayo DAI score?"},{"title":"Pre-treatment baseline scoring for clinical trial","prompt":"For enrollment baseline documentation, compute the Mayo UC disease activity index: stool frequency 2, rectal bleeding 2, endoscopy 2, physician global 2."}],"resultDescription":"Returns the summed Schroeder 1987 Mayo Disease Activity Index total score as an integer between 0 and 12, derived from the four caller-supplied subscores. Does not provide remission cutoffs, activity band classifications, or diagnostic interpretation.","failureModes":["Missing required parameter (stool_frequency, rectal_bleeding, endoscopy, or physician_global) — request fails with a validation error","Integer out of range (value not in 0–3) — likely a validation error or undefined behavior","Non-integer value supplied for a subscore — schema validation failure","Network or payment (x402) failure — endpoint unreachable or payment not accepted"],"whenToPreferThis":"Use this endpoint when you need a fast, reliable arithmetic summation of the four Schroeder 1987 Mayo UC subscores and already have those values clinically assigned. It is appropriate for EHR automation, clinical trial data pipelines, or decision-support workflows where the subscores are known inputs. Do not use it if you need remission band thresholds, partial Mayo scoring, or any diagnostic interpretation beyond the raw sum.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:17:32.256Z","isFirstParty":false}