Skip to main content
Glama

Nutricity calculators

calculate_ascvd_risk

Read-onlyIdempotent

Estimate 10-year atherosclerotic cardiovascular disease (ASCVD) risk with the 2013 ACC/AHA Pooled Cohort Equations from age, sex, race (white/black), total cholesterol, HDL, systolic blood pressure, hypertension treatment, smoking and diabetes. Returns risk percent and category. Validated for ages 40-79. Not a diagnosis.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "age": "<age>",
      "gender": "<gender>",
      "race": "<race>",
      "totalChol": "<totalChol>",
      "hdl": "<hdl>",
      "systolicBp": "<systolicBp>",
      "treatedHypertension": "<treatedHypertension>",
      "smoker": "<smoker>",
      "diabetes": "<diabetes>"
    },
    "name": "calculate_ascvd_risk"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years
hdlYesHDL cholesterol in mg/dL
raceYesRace: white or black
genderYesBiological sex: M (male) or F (female)
smokerYesCurrent smoker
diabetesYesDiabetes
totalCholYesTotal cholesterol in mg/dL
systolicBpYesSystolic blood pressure in mmHg
treatedHypertensionYesCurrently treated for hypertension

Output Schema

NameRequiredDescriptionDefault
categoryYesRisk category
modelKeyYesSex/race model applied
riskPercentYes10-year ASCVD risk percent
withinValidatedRangeYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint and idempotentHint, so safety is covered. The description adds real behavioral context beyond that: the validated age band, that the output is a risk percent plus category, and the non-diagnostic disclaimer. It does not mention input-range validation edge cases or interpretation caveats for the risk category thresholds.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the model and its validated population, then the return shape and disclaimer. No filler, and the most decision-relevant constraint (age 40-79) appears before the caveat.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, yet the description still usefully names the returns (risk percent and category). Combined with the age-validity note and disclaimer, an agent has enough to invoke and interpret it; only interpretation details for the categories are absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so all nine parameters (units, enums, types) are already documented; the description's input list largely restates them. The one piece of added meaning is flagging race as white/black, implying the equation's restriction, but units and encodings come entirely from the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('Estimate 10-year atherosclerotic cardiovascular disease (ASCVD) risk') plus the exact model ('2013 ACC/AHA Pooled Cohort Equations'), and enumerates the inputs used. This clearly separates it from siblings like calculate_type_2_diabetes_risk or calculate_ldl_cholesterol.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete applicability constraint ('Validated for ages 40-79') and a scope caveat ('Not a diagnosis'), which tells the agent when results are trustworthy. It does not name an alternative tool or say what to use outside that range, so it stops short of explicit routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources