Skip to main content
Glama

Nutricity calculators

calculate_metabolic_syndrome

Read-onlyIdempotent

Check metabolic syndrome criteria by the NCEP ATP III (≥3 of 5) or IDF (central obesity + ≥2 of 4) definition, returning each criterion, the count met, and whether the definition is satisfied. 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": {
      "definition": "<definition>",
      "gender": "<gender>",
      "waist": "<waist>",
      "triglycerides": "<triglycerides>",
      "hdl": "<hdl>",
      "systolic": "<systolic>",
      "diastolic": "<diastolic>",
      "glucose": "<glucose>"
    },
    "name": "calculate_metabolic_syndrome"
  }
}

Input Schema

NameRequiredDescriptionDefault
hdlYesHDL cholesterol in mg/dl
waistYesWaist circumference in cm
genderYesBiological sex: M (male) or F (female)
glucoseYesFasting glucose in mg/dl
systolicYesSystolic blood pressure in mmHg
diastolicYesDiastolic blood pressure in mmHg
definitionYesDefinition: atp3 (NCEP ATP III) or idf (IDF)
triglyceridesYesTriglycerides in mg/dl
waistThresholdNoOverride of the IDF central-obesity waist cutoff (cm)

Output Schema

NameRequiredDescriptionDefault
criteriaYes
metCountYes
satisfiedYes
centralObesityYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint, idempotentHint), and the description adds value on top: it discloses what is returned (each criterion, the count met, and the satisfied flag) and adds a clinical caveat that the output is not a diagnosis. It does not address edge cases such as how waistThreshold interacts with the default IDF cutoff, but that is a minor omission given the annotation coverage.

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 with zero padding: the computational rule is front-loaded and the safety caveat is placed last where it reads as a qualifier. Every clause carries information the agent needs.

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?

For a 9-parameter calculation tool with full schema coverage and an output schema, the description supplies what structured fields cannot: the two scoring algorithms, the return shape, and the non-diagnostic caveat. The only gap is the unmentioned optional waistThreshold parameter and its interaction with sex-specific IDF cutoffs.

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 description coverage is 100%, so a 3 is the floor; the description earns more by explaining that the 'definition' parameter selects between two materially different algorithms with different criterion sets, which is meaning beyond the bare enum labels 'atp3'/'idf'. It does not mention the optional waistThreshold override, leaving one parameter's role to the schema alone.

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 ('Check metabolic syndrome criteria') and goes further by naming both scoring systems and their decision rules (ATP III ≥3 of 5; IDF central obesity + ≥2 of 4). An agent can tell exactly what this computes and that it is not one of the many single-metric calculators in the sibling list.

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

Usage Guidelines3/5

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

Usage is implied by the framing rather than stated: an agent knows to call this when metabolic syndrome classification is wanted, and 'Not a diagnosis' sets a scope boundary. However, it gives no guidance on choosing between the atp3 and idf definitions or on when a different sibling (e.g. calculate_waist_ratios, calculate_homa_ir) would be more appropriate.

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