{"uid":"cap_c7rXXHOrRDZGkDBwKLslj","slug":"magent-gleason-score-calculator-74a68476","name":"magent Gleason Score Calculator","description":"Gleason 1974 prostatic adenocarcinoma score from caller-assigned primary pattern 1-5 plus secondary pattern 1-5. Score equals primary plus secondary (range 2-10). magent does not read slides. Not ISUP/Epstein 2016 Grade Groups. Not 2005 ISUP modified pattern rules. Not a diagnosis or treatment recommendation. Not a medical device.","url":"https://api.magentlab.com/api/calc/gleason","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":["primary","secondary"],"properties":{"primary":{"type":"integer","description":"Caller-assigned Gleason 1974 primary (predominant) histologic pattern. Integer 1-5 only; reject 0, 6, 1.5, and roman I. magent does not read slides or apply 2005 ISUP modified pattern rules."},"secondary":{"type":"integer","description":"Caller-assigned Gleason 1974 secondary histologic pattern. Integer 1-5 only; reject 0, 6, 1.5, and roman I. magent does not read slides or apply 2005 ISUP modified pattern rules."}}}},"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_ASEPjZ34WvHEgVhRIMmg3","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 Gleason 1974 prostatic adenocarcinoma score by summing caller-supplied primary and secondary histologic pattern integers (each 1–5), returning a score in the range 2–10.","exampleAgentPrompt":"Calculate the Gleason 1974 score for a prostate adenocarcinoma with a primary pattern of 3 and a secondary pattern of 4.","exampleUseCases":[{"title":"Urology report score automation","prompt":"I have a prostate biopsy result with a primary Gleason pattern of 4 and a secondary pattern of 3 — what is the combined Gleason 1974 score?"},{"title":"EHR data enrichment pipeline","prompt":"For a patient whose pathology report lists primary pattern 5 and secondary pattern 4, compute the Gleason score so I can populate the oncology field in the EHR."},{"title":"Clinical decision support verification","prompt":"Double-check the Gleason arithmetic for me: primary pattern 2, secondary pattern 3 — what should the total score be?"}],"resultDescription":"Returns the Gleason score as an integer equal to primary + secondary (range 2–10), computed per the 1974 Gleason grading system. Does not include ISUP Grade Groups, 2005 modified pattern rules, diagnostic interpretation, or treatment recommendations.","failureModes":["Primary or secondary pattern outside integer range 1–5 (e.g. 0, 6, 1.5, roman numerals) is rejected","Missing required query parameters returns an error","Non-integer values (floats, strings) are rejected","Network or payment authorization failure returns an HTTP error"],"whenToPreferThis":"Use this endpoint when you need a simple, reliable arithmetic computation of the classic Gleason 1974 score from pre-assigned integer primary and secondary patterns. Prefer it for automating score entry in clinical workflows, EHR enrichment, or report generation where the pattern values have already been determined by a pathologist. Do not use it when ISUP 2016 Grade Groups or 2005 modified Gleason rules are required, or when slide reading or pattern assignment is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T07:08:07.956Z","isFirstParty":false}