{"uid":"cap_gF3Sr_a9XTZgGE5pvxWzy","slug":"midas-score-calculator-magent-3bff5fe7","name":"MIDAS Score Calculator (magent)","description":"Stewart 1999 MIDAS from five caller-assigned 3-month day counts: missed paid work/school, work/school ≥50% reduced, missed household work, household ≥50% reduced, missed family/social/leisure. Each 0-90; total 0-450. magent does not include questions A or B and does not assign or de-duplicate days. Grades I 0-5 little/minimal, II 6-10 mild, III 11-20 moderate, IV ≥21 severe. Not a migraine diagnosis, not a triptan/prophylaxis order, not GAD-7 or PHQ-9.","url":"https://api.magentlab.com/api/calc/midas","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":["missed_work_days","reduced_work_days","missed_household_days","reduced_household_days","missed_social_days"],"properties":{"missed_work_days":{"type":"integer","description":"Caller-assigned MIDAS item 1 (integer 0-90): days of missed paid work or school in the last 3 months. magent does not assign the count."},"reduced_work_days":{"type":"integer","description":"Caller-assigned MIDAS item 2 (integer 0-90): days work or school productivity was reduced by half or more in the last 3 months. Do not double-count days already in missed_work_days; the caller assigns the count. magent does not de-duplicate days."},"missed_social_days":{"type":"integer","description":"Caller-assigned MIDAS item 5 (integer 0-90): days of missed family, social, or leisure activities in the last 3 months. magent does not assign the count."},"missed_household_days":{"type":"integer","description":"Caller-assigned MIDAS item 3 (integer 0-90): days household work was not done in the last 3 months. magent does not assign the count."},"reduced_household_days":{"type":"integer","description":"Caller-assigned MIDAS item 4 (integer 0-90): days household productivity was reduced by half or more in the last 3 months. Do not double-count days already in missed_household_days; the caller assigns the count. magent does not de-duplicate days."}}}},"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_KBI742C6L7e7HOIHIEgq2","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 Stewart 1999 MIDAS (Migraine Disability Assessment) total score and disability grade from five caller-assigned 3-month day counts.","exampleAgentPrompt":"Calculate the MIDAS score for a patient who missed 8 days of paid work, had 5 days of reduced work productivity, missed 3 days of household work, had 4 days of reduced household productivity, and missed 2 days of family or social activities in the last 3 months.","exampleUseCases":[{"title":"Migraine clinic intake assessment","prompt":"My patient with migraines reported the following over the last 3 months: 12 days of missed work, 6 days where work productivity was cut in half, 4 days of missed household work, 3 days of reduced household productivity, and 5 days of missed social or leisure activities. What is their MIDAS score and grade?"},{"title":"Telehealth headache triage","prompt":"A patient on our telehealth platform said they missed 0 days of work but had 3 days of reduced work output, missed 1 day of housework, had 2 days of reduced household productivity, and missed 4 days of social activities over the past 3 months. Can you compute their MIDAS total and tell me whether that's grade I, II, III, or IV?"},{"title":"Research cohort disability grading","prompt":"For a migraine research participant I have these 3-month counts: 21 missed work days, 10 reduced work days, 18 missed household days, 12 reduced household days, and 9 missed social days. What's their MIDAS total score and which disability grade does that put them in?"}],"resultDescription":"Returns the MIDAS total score (integer, 0–450, sum of the five input day counts) and the corresponding disability grade: Grade I (0–5, little/minimal), Grade II (6–10, mild), Grade III (11–20, moderate), or Grade IV (≥21, severe). Does not diagnose migraine or recommend treatment.","failureModes":["Missing any of the five required query parameters returns a validation error","Values outside the 0–90 integer range per item may be rejected or produce unexpected scores","Double-counted days between missed and reduced categories are not de-duplicated by the API — caller must handle this","Non-integer inputs will fail schema validation","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need a standardized, validated MIDAS disability score and grade from five pre-collected 3-month activity-impact day counts. Prefer it over manual calculation to avoid arithmetic errors, and when you need a structured grade label (I–IV) for clinical documentation, research, or triage workflows. Not appropriate for diagnosing migraine, prescribing triptans or prophylaxis, or computing psychiatric screening scores like GAD-7 or PHQ-9.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:18:09.408Z","isFirstParty":false}