Skip to main content
Glama

Nutricity calculators

calculate_water_requirement

Read-onlyIdempotent

Estimate daily water needs. Returns the EFSA 2010 total-water adequate intake (2.5 L men / 2.0 L women) and a weight-based estimate (30-35 mL/kg). Total water includes food moisture, not just beverages.

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": {
      "weight": "<weight>",
      "unit": "<unit>",
      "gender": "<gender>"
    },
    "name": "calculate_water_requirement"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitYesmetric (kg) or imperial (lb)
genderYesBiological sex: M (male) or F (female)
weightYesBody weight (kg or lb)

Output Schema

NameRequiredDescriptionDefault
weightKgYes
efsaLitersYesEFSA total-water adequate intake (L/day)
weightLowLitersYes30 mL/kg estimate (L/day)
weightHighLitersYes35 mL/kg estimate (L/day)

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 establish the safe-read profile (readOnlyHint, idempotentHint), so the description's job is to add context, which it does by disclosing that two distinct estimates are returned and by flagging that "total water includes food moisture, not just beverages" — a clinically important interpretation caveat. It stops short of stating the population limits of the EFSA figures or the output units.

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?

Three short sentences, front-loaded with the purpose, then the methods, then the caveat. Every clause carries information an agent would otherwise have to guess, and there is no redundant restatement of the name or schema.

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?

With an output schema present, return values need not be explained, and the description still usefully previews that two values come back. For a three-parameter, deterministic calculator with full annotation coverage this is nearly complete; the remaining gap is guidance on which of the two estimates to surface and any population caveats.

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 the baseline would be 3, but the description goes further by tying parameters to outputs: gender selects the 2.5 L / 2.0 L EFSA value and weight drives the 30-35 mL/kg calculation. That makes the role of two of the three required inputs meaningful beyond their schema text; only the unit parameter is left to 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 names a specific verb and resource ("Estimate daily water needs") and immediately specifies the two computation methods it applies: the EFSA 2010 adequate intake and a 30-35 mL/kg weight-based estimate. This is unambiguous and clearly separable from sibling calculators such as calculate_protein_requirement or calculate_tdee.

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 only implied: an agent can infer this is the hydration calculator to call when a user asks about daily water intake. There is no explicit guidance on when to prefer one estimate over the other, no prerequisites, and no exclusions such as pregnancy, athletes, or clinical fluid-restriction populations.

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