{"uid":"cap_JHxLXNjmoXla9Jt0ZPRhr","slug":"mirels-score-calculator-magent-897d636e","name":"Mirels Score Calculator (Magent)","description":"Mirels 1989 impending pathologic fracture score. Site upper 1 / lower 2 / peritrochanteric 3. Size lt_one_third 1 / one_to_two_thirds 2 / gt_two_thirds 3. Nature blastic 1 / mixed 2 / lytic 3. Pain mild 1 / moderate 2 / functional 3 (not severe). Sum 4-12. Bands le_7 (<=7), 8, ge_9 (>=9). Not an operative order. Not SINS. magent does not read radiographs. Not a medical device.","url":"https://api.magentlab.com/api/calc/mirels","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":["site","size","nature","pain"],"properties":{"pain":{"enum":["mild","moderate","functional"],"type":"string","description":"Caller-assigned pain (Mirels 1989). mild scores 1; moderate scores 2; functional (pain that is functional) scores 3. Not severe. magent does not interview the patient."},"site":{"enum":["upper","lower","peritrochanteric"],"type":"string","description":"Caller-assigned site (Mirels 1989). upper (upper limb) scores 1; lower (lower limb) scores 2; peritrochanteric scores 3. magent does not read radiographs."},"size":{"enum":["lt_one_third","one_to_two_thirds","gt_two_thirds"],"type":"string","description":"Caller-assigned lesion size relative to bone diameter (Mirels 1989). lt_one_third (<1/3) scores 1; one_to_two_thirds (1/3–2/3) scores 2; gt_two_thirds (>2/3) scores 3. magent does not read radiographs."},"nature":{"enum":["blastic","mixed","lytic"],"type":"string","description":"Caller-assigned lesion nature (Mirels 1989). blastic scores 1; mixed scores 2; lytic scores 3. magent does not read radiographs."}}}},"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_dwtP9s_U75k_A1ZGEfzK1","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 Mirels 1989 impending pathologic fracture score from four caller-assigned variables: anatomic site, lesion size, lesion nature, and pain level.","exampleAgentPrompt":"Calculate the Mirels score for a lytic lesion in the peritrochanteric region that is greater than two-thirds of the bone diameter, with functional pain — what is the total score and risk band?","exampleUseCases":[{"title":"Fracture risk stratification for bone metastasis","prompt":"I have a patient with a mixed lesion in the lower limb, it's between one-third and two-thirds of the bone diameter, and they're reporting moderate pain. Can you calculate the Mirels score and tell me which risk band it falls into?"},{"title":"High-risk lytic lesion assessment","prompt":"Run a Mirels score for a lytic peritrochanteric lesion that's over two-thirds of the bone width and the patient has functional pain — what's the total and the risk band?"},{"title":"Low-risk blastic lesion scoring","prompt":"What's the Mirels score for a blastic lesion in the upper limb that's less than one-third of the bone diameter and the patient only has mild pain?"}],"resultDescription":"Returns the Mirels total score (integer 4–12), the four individual component scores, and the risk band classification: le_7 (≤7, low risk), 8 (intermediate risk), or ge_9 (≥9, high risk suggesting prophylactic fixation). Does not provide operative recommendations or read radiographs.","failureModes":["Missing required query parameter (site, size, nature, or pain) returns a 400-level error","Invalid enum value for any parameter returns a validation error","Payment not provided or insufficient returns a 402 response","Passing 'severe' for pain (not a valid enum value) will cause a validation error — use 'functional' for the highest pain category"],"whenToPreferThis":"Use this endpoint when you need a fast, reproducible Mirels 1989 score computed from caller-assigned clinical variables in an automated or agentic workflow. It covers all four canonical Mirels variables and returns both the numeric sum and the standard risk band. It is not a substitute for radiologist interpretation or surgical judgment, and does not read images. Prefer it over manual calculation when embedding fracture risk scoring in clinical decision support pipelines, EHR integrations, or oncology agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:10:06.250Z","isFirstParty":false}