Skip to main content
Glama

Human Body Calculator MCP

Total Cholesterol to HDL Ratio Calculator

calculate_cholesterol_ratio
Read-onlyIdempotent

Compute Total Cholesterol / HDL ratio and classify cardiovascular lipid risk using Framingham/ACC-AHA cutoffs (Optimal <3.5, Acceptable <5.0). Informational estimate only — not medical advice, diagnosis, or treatment. Consult a qualified healthcare professional.

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": {
      "totalCholesterol": "<totalCholesterol>",
      "hdl": "<hdl>"
    },
    "name": "calculate_cholesterol_ratio"
  }
}

Input Schema

NameRequiredDescriptionDefault
hdlYes
totalCholesterolYes

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds the classification thresholds (Optimal <3.5, Acceptable <5.0), which is genuinely useful behavioral context about what the tool reports, but it says nothing about the units expected, precision, or what happens outside the stated cutoffs.

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?

Three short sentences, front-loaded with the computation and the cutoffs before the boilerplate disclaimer. The medical disclaimer is somewhat formulaic but is defensible for a health tool and costs only one sentence.

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

Completeness3/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 explained, and the classification cutoffs are helpfully pre-stated. However, for a two-parameter numeric tool with zero schema descriptions, the absence of any unit guidance leaves a real gap an agent cannot resolve from structured fields alone.

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

Parameters2/5

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

Schema description coverage is 0% — the two numeric parameters carry only min/max bounds and no descriptions at all. The description names the quantities (total cholesterol and HDL) implicitly through the ratio formula but never states the expected unit (mg/dL vs mmol/L), which is the single most likely source of a wrong invocation given the 50–500 and 10–150 bounds.

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?

"Compute Total Cholesterol / HDL ratio and classify cardiovascular lipid risk" gives a specific verb, a specific derived quantity, and the interpretation step, which cleanly distinguishes it from the many other single-purpose health 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 Guidelines4/5

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

The description clearly bounds the intended context (informational estimate, not diagnosis or treatment) and points the user to a clinician, which is meaningful when-not-to-use guidance. It does not route among sibling calculators, but the specific input pair makes the applicable case self-evident.

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