Skip to main content
Glama

Nutricity calculators

calculate_score2

Read-onlyIdempotent

Estimate 10-year cardiovascular disease risk via SCORE2 (ages 40-69) or SCORE2-OP (ages 70-89), the ESC-endorsed successor to Framingham for European populations. Uses age, sex, smoking status, systolic blood pressure, total and HDL cholesterol, plus a region calibration (low/moderate/high/very-high CVD-mortality band; defaults to moderate, Italy's band). Still computes outside the 40-89 validated range but flags it. 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>",
      "smoker": "<smoker>",
      "systolicBp": "<systolicBp>",
      "totalChol": "<totalChol>",
      "hdl": "<hdl>"
    },
    "name": "calculate_score2"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years
hdlYesHDL cholesterol
unitNoUnit of totalChol/hdl: mg (mg/dL) or mmol (mmol/L). Default mg
genderYesBiological sex: M (male) or F (female)
regionNoSCORE2 risk region (age/sex-standardised CVD mortality band). Default moderate (Italy)
smokerYesCurrent smoker
totalCholYesTotal cholesterol
systolicBpYesSystolic blood pressure, mmHg

Output Schema

NameRequiredDescriptionDefault
modelYesSub-model applied: score2 (age <70) or score2-op (age >=70)
riskBandYesAge-specific risk category (2021 ESC prevention guidelines, Table 5)
riskPercentYes10-year fatal + non-fatal CVD risk, percent
withinValidatedRangeYesFalse outside the validated 40-89 age range

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and idempotentHint, so the description focuses on behavior beyond them: out-of-range inputs still produce a result but are flagged, region defaults to moderate/Italy, and the output is explicitly 'not a diagnosis.' That last clause usefully frames the result as a risk estimate rather than clinical advice.

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

Conciseness4/5

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

It is a single front-loaded paragraph that opens with what the tool computes before moving to inputs, defaults, and caveats. Dense but nearly every clause carries information; the 'ESC-endorsed successor to Framingham' phrase is the only slightly promotional addition.

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

Completeness5/5

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

An output schema exists, so return values need not be described. The description still covers validated age range, model selection, region default, unit-agnostic inputs, and the non-diagnostic caveat — everything an agent needs to call this correctly.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3. The description earns above that by explaining the region parameter's meaning as a CVD-mortality calibration band and by disclosing that age outside 40-89 is accepted with a flag rather than rejected — behavior not visible in the schema, which sets only exclusiveMinimum.

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?

The description states a specific verb and resource ('Estimate 10-year cardiovascular disease risk') and names the exact model and version family (SCORE2 for 40-69, SCORE2-OP for 70-89). It also contrasts itself with the Framingham-derived approach, which implicitly separates it from the sibling calculate_ascvd_risk.

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?

The age bands 40-69 and 70-89 give clear routing between the two model variants, and 'European populations' sets the applicable context. Out-of-range behavior is spelled out ('still computes... but flags it'). It never explicitly says when to prefer this over calculate_ascvd_risk or other risk tools, leaving that inference to the agent.

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