{"uid":"cap_Ge5K7y7-lfrZFew5eS5gl","slug":"griffin-2000-cambridge-diabetes-risk-score-magent-cf59efab","name":"Griffin 2000 Cambridge Diabetes Risk Score (magent)","description":"Griffin 2000 Cambridge logistic risk of undetected type 2 diabetes. p = 1/(1+e^(-λ)); λ = -6.322 - 0.879 if female + 1.222 antihypertensive + 2.191 steroids + 0.063×age + BMI band (<25 0; 25 to <27.5 0.699; 27.5 to <30 1.97; ≥30 2.518) + family (parent or sibling 0.728; parent and sibling 0.753) + smoking (former -0.218; current 0.855). Age 40-64. Probability 0-1. Not FINDRISC, not ADA, not a glucose assay, not a diagnosis.","url":"https://api.magentlab.com/api/calc/cambridge_diabetes","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":["age","sex","bmi_kg_m2","antihypertensive","steroids","family_history","smoking"],"properties":{"age":{"type":"integer","description":"Age in years. Griffin 2000 derivation was ages 40-64; magent accepts that published range only. Continuous linear predictor at 0.063 per year."},"sex":{"enum":["female","male"],"type":"string","description":"female or male. Griffin 2000 female coefficient is -0.879; male is the reference (0)."},"smoking":{"enum":["never","former","current"],"type":"string","description":"Smoking history (Griffin 2000). never (nonsmoker) 0; former (ex-smoker) -0.218; current 0.855. magent does not take a smoking history."},"steroids":{"type":"boolean","description":"Prescribed steroids as assigned by the caller (Griffin 2000). true adds 2.191; false adds 0. magent does not read a medication list."},"bmi_kg_m2":{"type":"number","description":"Body-mass index in kg/m^2 (10-80, magent clamp). Caller-supplied; magent does not compute BMI from height and weight. Griffin 2000: <25 -> 0; >=25 and <27.5 -> 0.699; >=27.5 and <30 -> 1.97; >=30 -> 2.518."},"family_history":{"enum":["none","parent_or_sibling","parent_and_sibling"],"type":"string","description":"First-degree family history of diabetes (Griffin 2000). none 0; parent_or_sibling 0.728 (parent or sibling, not both); parent_and_sibling 0.753 (parent and sibling). magent does not take a pedigree."},"antihypertensive":{"type":"boolean","description":"Prescribed antihypertensive medication as assigned by the caller (Griffin 2000). true adds 1.222; false adds 0. magent does not read a medication list."}}}},"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_rfa9Kx7RMOnGHTnNQ3ggr","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 Griffin 2000 Cambridge logistic risk score for undetected type 2 diabetes, returning a probability between 0 and 1.","exampleAgentPrompt":"What's the Griffin 2000 Cambridge diabetes risk score for a 58-year-old male with a BMI of 31.2, currently on antihypertensive medication, not on steroids, whose mother has diabetes, and who has never smoked?","exampleUseCases":[{"title":"Primary care pre-screening before lab referral","prompt":"I have a 62-year-old female patient, BMI 28.4, on antihypertensives, no steroids, her father had diabetes but no siblings, she's a former smoker — can you calculate her undetected type 2 diabetes risk using the Cambridge model?"},{"title":"Population health risk stratification","prompt":"Score the diabetes risk for a 47-year-old male with a BMI of 26.0, not on any antihypertensives or steroids, both a parent and sibling with diabetes, and he currently smokes."},{"title":"Wellness app lifestyle risk assessment","prompt":"A 51-year-old woman came to our wellness platform — BMI 24.3, no antihypertensives, no steroids, no family history of diabetes, never smoked. What does the Griffin 2000 Cambridge model say her probability of undetected type 2 diabetes is?"}],"resultDescription":"Returns a probability value between 0 and 1 representing the estimated likelihood of undetected type 2 diabetes according to the Griffin 2000 Cambridge logistic model, along with the underlying linear predictor (λ). This is a screening risk estimate, not a clinical diagnosis.","failureModes":["Age outside 40–64 range is rejected (the model was derived on that cohort only)","BMI outside the accepted range (10–80) may be clamped or rejected","Missing required query parameters (age, sex, bmi_kg_m2, antihypertensive, steroids, family_history, smoking) will result in a validation error","Invalid enum values for sex, smoking, or family_history will cause a 4xx error","Payment not provided or insufficient (x402 payment required)"],"whenToPreferThis":"Choose this endpoint when you need to apply the specific Griffin 2000 Cambridge logistic regression formula for estimating undetected type 2 diabetes risk in adults aged 40–64, using non-invasive clinical covariates only. Prefer this over FINDRISC (Finnish tool, different coefficients and population), ADA risk test (different predictors), or any glucose-based assay (this is a pre-screening tool, not a diagnostic). Use when you have BMI, sex, age, medication status, family history, and smoking status and want a validated, published risk probability without ordering lab work.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T13:13:42.903Z","isFirstParty":false}