{"uid":"cap_RiuDSKQi7TAMr32oeuZDj","slug":"magent-t-macs-acs-probability-calculator-ac9ae711","name":"magent T-MACS ACS Probability Calculator","description":"Body 2016 T-MACS logistic ACS probability from caller-assigned ECG ischaemia, worsening angina, right-arm radiation, vomiting, observed sweating, hypotension (SBP <100), and Roche Elecsys hs-cTnT ng/L. Uses that paper's rounded coefficients. Bands p<0.02 very_low, 0.02<=p<0.05 low, 0.05<=p<0.95 moderate, p>=0.95 high. magent does not interpret ECG or assay troponin. Not original MACS, HEART, EDACS, or Vancouver. Not a diagnosis or medical device.","url":"https://api.magentlab.com/api/calc/t_macs","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":["ecg_ischaemia","worsening_angina","pain_radiation_right_arm_or_shoulder","vomiting","sweating_observed","hypotension","hs_ctnt_ng_l"],"properties":{"vomiting":{"type":"boolean","description":"Vomiting in association with the presenting symptoms as assigned by the caller (V; Body 2016). true or false."},"hypotension":{"type":"boolean","description":"Hypotension as assigned by the caller (H): systolic BP <100 mm Hg on arrival (Body 2016, dichotomised as in that paper). true or false."},"hs_ctnt_ng_l":{"type":"number","description":"Roche Diagnostics Elecsys high-sensitivity cardiac troponin T on arrival in ng/L (T; 0-100000, implementation clamp). Continuous linear predictor in Body 2016. magent does not convert units or assay troponin."},"ecg_ischaemia":{"type":"boolean","description":"Caller-assigned ECG ischaemia as used in Body 2016 (E; 1 if true, 0 if false). magent does not interpret an ECG."},"worsening_angina":{"type":"boolean","description":"Worsening or crescendo angina as assigned by the caller (A): anginal pain with increasing frequency, occurring with less exertion, or becoming more prolonged (Body 2016). true or false."},"sweating_observed":{"type":"boolean","description":"Sweating observed by the treating clinician as assigned by the caller (S; Body 2016). true or false. magent does not examine the patient."},"pain_radiation_right_arm_or_shoulder":{"type":"boolean","description":"Pain radiating to the right arm or shoulder as assigned by the caller (R; Body 2016). true or false. magent does not take a pain history."}}}},"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_WHbPnwkTnK39fyWYMTrtz","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 2016 Body T-MACS logistic probability of acute coronary syndrome from caller-assigned clinical variables and high-sensitivity troponin T, returning a probability and risk band.","exampleAgentPrompt":"Calculate the T-MACS ACS probability for a patient with no ECG ischaemia, no worsening angina, no right-arm radiation, no vomiting, sweating observed, no hypotension, and a Roche Elecsys hs-cTnT of 18 ng/L — what risk band does that give?","exampleUseCases":[{"title":"ED chest pain ACS triage","prompt":"I have a chest pain patient in the ED: ECG ischaemia present, no worsening angina, no right-arm radiation, vomiting present, sweating observed, BP is fine (no hypotension), and their Roche Elecsys hs-cTnT came back at 45 ng/L. What does T-MACS say the ACS probability and risk band are?"},{"title":"Very-low-risk rapid discharge evaluation","prompt":"Can you run the T-MACS calculation for a patient who has no ECG ischaemia, no crescendo angina, no right-arm pain, no vomiting, no observed sweating, no hypotension, and a hs-cTnT of 4 ng/L — are they in the very-low-risk band?"},{"title":"High-risk ACS flag for admission decision","prompt":"Patient has ECG ischaemia, worsening angina, right-shoulder radiation, vomiting, sweating observed, hypotension on arrival, and Elecsys hs-cTnT of 850 ng/L. Plug these into T-MACS and tell me the probability and risk band so I can decide on admission."}],"resultDescription":"Returns a numeric ACS probability (0 to 1) computed from Body 2016 T-MACS logistic regression coefficients, plus a categorical risk band: very_low (p<0.02), low (0.02≤p<0.05), moderate (0.05≤p<0.95), or high (p≥0.95).","failureModes":["Missing any required query parameter (ecg_ischaemia, worsening_angina, pain_radiation_right_arm_or_shoulder, vomiting, sweating_observed, hypotension, hs_ctnt_ng_l) returns a validation error","hs_ctnt_ng_l outside supported numeric range is clamped at 0–100000; non-numeric values cause an error","Boolean parameters passed as strings rather than true/false JSON booleans may cause parse errors","Service may return 402 if payment header is not provided or USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when you need to apply the Body 2016 T-MACS (troponin-only MACS) logistic rule specifically — it is distinct from the original MACS, HEART, EDACS, and Vancouver rules. Choose it when the caller has already assigned ECG ischaemia status and clinical signs, and when a Roche Elecsys hs-cTnT value in ng/L is available. Not appropriate as a substitute for HEART score, EDACS, or Vancouver chest pain rule calculations.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T12:55:17.993Z","isFirstParty":false}