Skip to main content
Glama

Nutricity calculators

calculate_ideal_weight_lorenz

Read-onlyIdempotent

Calculate ideal weight in kilograms via four formulas side by side: Lorenz, Devine, Robinson and Miller. Use when the user wants their ideal weight from height and gender.

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": {
      "gender": "<gender>",
      "height": "<height>"
    },
    "name": "calculate_ideal_weight_lorenz"
  }
}

Input Schema

NameRequiredDescriptionDefault
genderYesBiological sex: M (male) or F (female)
heightYesHeight in centimeters

Output Schema

NameRequiredDescriptionDefault
devineYes
lorenzYes
millerYes
resultYesLorenz result (backward-compatible)
robinsonYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare read-only and idempotent behavior. The description adds meaningful behavioral context beyond annotations by saying the tool returns Lorenz, Devine, Robinson, and Miller results side by side in kilograms, though it does not discuss formula assumptions or limitations.

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?

The description is two sentences and front-loads the core action and outputs. Every sentence contributes useful information with no redundant wording.

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?

The tool is a simple calculator with complete parameter descriptions, annotations covering safety behavior, and an output schema. The description supplies the use case and multi-formula output behavior, which is sufficient for correct invocation.

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%, and the schema already documents gender as M/F biological sex and height in centimeters. The description only restates that inputs are height and gender, so it adds little beyond 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?

The description states a specific verb and resource: calculate ideal weight in kilograms from height and gender. It also clarifies that the tool reports four formulas side by side, which distinguishes it from sibling calculators such as BMI, BMR, and body fat.

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?

It gives a clear usage condition: use when the user wants their ideal weight from height and gender. It does not mention exclusions or alternatives, but the context is explicit enough for an agent to select it.

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