{"uid":"cap_QnMK0-UcndmJnW6vmUN2t","slug":"magent-dire-score-calculator-belgrade-2006-79df3d48","name":"magent DIRE Score Calculator (Belgrade 2006)","description":"Belgrade 2006 DIRE score: Diagnosis, Intractability, and Efficacy each caller-assigned 1-3; Risk is the sum of Psychological, Chemical, Reliability, and Social support (each 1-3, so Risk 4-12). Total 7-21. Scores 14-21 are more suitable for long-term opioid maintenance; 7-13 less suitable. Caller assigns the integers. magent does not take a pain history or write an opioid prescription or taper. Not a medical device.","url":"https://api.magentlab.com/api/calc/dire","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":["diagnosis","intractability","psychological","chemical","reliability","social_support","efficacy"],"properties":{"chemical":{"type":"integer","description":"Caller-assigned Belgrade 2006 Risk subcategory Chemical (integer 1-3): 1 active or recent substance abuse; 2 chemical coper or history of chemical dependence in remission; 3 no chemical-dependence history. One of four Risk items (Risk 4-12). magent does not interview the patient."},"efficacy":{"type":"integer","description":"Caller-assigned Belgrade 2006 Efficacy (integer 1-3): 1 poor function or minimal pain relief despite moderate-to-high doses; 2 moderate benefit with moderate function on moderate doses; 3 good function and pain relief on stable low-to-moderate doses. magent does not take a pain history or write an opioid prescription."},"diagnosis":{"type":"integer","description":"Caller-assigned Belgrade 2006 Diagnosis (integer 1-3): 1 benign chronic condition with minimal objective findings or no definite diagnosis; 2 slowly progressive condition concordant with moderate pain, or fixed deficit; 3 advanced condition concordant with severe pain with objective findings. magent does not take a pain history."},"reliability":{"type":"integer","description":"Caller-assigned Belgrade 2006 Risk subcategory Reliability (integer 1-3): 1 many missed appointments, lacks insight, or poor observer of laws and rules; 2 generally reliable; 3 highly reliable. One of four Risk items (Risk 4-12). magent does not interview the patient."},"psychological":{"type":"integer","description":"Caller-assigned Belgrade 2006 Risk subcategory Psychological (integer 1-3): 1 serious personality dysfunction or mental illness interfering with care; 2 personality or mental health interferes moderately; 3 good psychological functioning. One of four Risk items (Risk 4-12). magent does not interview the patient."},"intractability":{"type":"integer","description":"Caller-assigned Belgrade 2006 Intractability (integer 1-3): 1 few therapies tried and the patient is passively involved; 2 most appropriate treatments tried with inadequate response and the patient is reasonably involved; 3 patient fully engaged in appropriate treatments with inadequate response. magent does not take a pain history."},"social_support":{"type":"integer","description":"Caller-assigned Belgrade 2006 Risk subcategory Social support (integer 1-3): 1 life in chaos, few resources, close relationships dysfunctional; 2 relationships exist but are strained; 3 stable supportive relationships and sufficient resources. One of four Risk items (Risk 4-12). magent does not interview 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_PTcqymMsaJj7yY23XPe-T","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 Belgrade 2006 DIRE score (7–21) from caller-assigned Diagnosis, Intractability, Risk, and Efficacy integers to indicate suitability for long-term opioid maintenance therapy.","exampleAgentPrompt":"Calculate the DIRE score for a patient with a diagnosis rating of 2, intractability of 2, psychological risk of 2, chemical risk of 3, reliability of 2, social support of 2, and efficacy of 2 — and tell me whether that score suggests they're suitable for long-term opioid maintenance.","exampleUseCases":[{"title":"Chronic pain opioid candidacy screening","prompt":"I have a patient with a slowly progressive pain condition — I'd rate their diagnosis a 2, intractability a 2, efficacy a 2, and their risk subcategories as psychological 2, chemical 3, reliability 2, social support 2. Run the Belgrade DIRE score and tell me if they fall in the long-term opioid maintenance range."},{"title":"High-risk patient DIRE scoring","prompt":"Score a patient on the DIRE tool: diagnosis 1, intractability 1, psychological risk 1, chemical risk 1, reliability 1, social support 1, efficacy 1 — I want to see the total DIRE score and whether they're considered less suitable for opioid maintenance."},{"title":"Borderline opioid suitability evaluation","prompt":"Calculate the Belgrade 2006 DIRE score for a patient I'd rate as diagnosis 3, intractability 3, psychological 2, chemical 2, reliability 3, social support 3, efficacy 3 — show me the total and the Risk subscore."}],"resultDescription":"Returns the computed DIRE total score (integer 7–21), the Risk subscore (4–12), and a suitability classification indicating whether the score falls in the long-term opioid maintenance range (14–21) or the less suitable range (7–13). Does not generate clinical advice, prescriptions, or patient history.","failureModes":["Missing any of the seven required integer parameters returns a validation error","Integer values outside the 1–3 range (or 4–12 for risk) are rejected","Non-integer values for scoring parameters cause a schema validation error","Payment failure or insufficient USDC balance results in a 402 response and no score is returned"],"whenToPreferThis":"Use this endpoint when a caller has already assessed a chronic pain patient across the four Belgrade 2006 DIRE domains and needs the total score computed instantly without manual arithmetic. Prefer this over general LLM-based scoring when you need a deterministic, auditable numeric result from structured inputs. Not appropriate for obtaining a pain history, writing prescriptions, or replacing clinical judgment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:04:04.456Z","isFirstParty":false}