Skip to main content
Glama

calculate_water_intake

Read-onlyIdempotent

Water intake calculator

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": {
      "weightKg": "<weightKg>"
    },
    "name": "calculate_water_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
weightKgYesBody weight in kilograms, for example 70.
activityLevelNosedentary, light, moderate or active.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / activityLevel / description
      Added value: +"sedentary, light, moderate or active."
    • addedInput schema / properties / weightKg / description
      Added value: +"Body weight in kilograms, for example 70."
  2. First observed

TDQS

C2/5.0
Behavior2/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered structurally. The description adds nothing beyond that - no note on how activityLevel affects the result, no output units (ml vs liters), no assumption about hydration baselines.

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

Conciseness2/5

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

At three words the text is certainly not verbose, but conciseness here comes from under-specification rather than discipline. There is nothing front-loaded because there is almost nothing to front-load, and no structure to guide the caller.

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

Completeness2/5

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

There is no output schema, so the description must carry the burden of explaining the return value, and it does not - no indication of units or format. For a calculator whose output is the entire point, the definition leaves the agent unable to describe the result confidently.

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 coverage is 100% and the weightKg property carries a concrete example (70) plus an exclusiveMinimum, while activityLevel enumerates all four values. Per the baseline rule, a fully documented schema justifies a 3 even though the description contributes no additional parameter meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose2/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description 'Water intake calculator' merely restates the tool name calculate_water_intake, adding no specific verb, resource scope, or domain detail beyond the title. An agent learns nothing about what the calculation actually does (formula, units of output, how activityLevel factors in) that it could not guess from the name.

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

Usage Guidelines1/5

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

There is no when-to-use guidance, no indication of prerequisites, and no differentiation from the many sibling calculators such as calculate_bmi or calculate_bmr. The description supplies no context for choosing this tool over an alternative.

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