Skip to main content
Glama

FreeDailyPro Calculators

calculate_bmi

Read-onlyIdempotent

Bmi 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": {
      "weight": "<weight>",
      "height": "<height>"
    },
    "name": "calculate_bmi"
  }
}

Input Schema

NameRequiredDescriptionDefault
unitNoUnit: one of metric, imperial.
heightYesHeight in cm (metric) or inches (imperial), for example 175.
weightYesWeight in kg (metric) or pounds (imperial), for example 70.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / height / description
      Added value: +"Height in cm (metric) or inches (imperial), for example 175."
    • addedInput schema / properties / unit / description
      Added value: +"Unit: one of metric, imperial."
    • addedInput schema / properties / weight / description
      Added value: +"Weight in kg (metric) or pounds (imperial), for example 70."
  2. First observed

TDQS

C2.3/5.0
Behavior2/5

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

The annotations already state readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that – no mention of the formula used, how unit selection affects the inputs, or how the result is expressed.

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

Conciseness3/5

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

At three words it is certainly concise and contains no filler, but it is under-specified rather than well-structured – there is no front-loaded content of substance to speak of.

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?

The tool is simple and the schema plus annotations cover parameters and safety, so the burden is low. Still, the description never mentions what value is returned (a BMI number), what unit system affects the result, or any interpretation guidance, leaving it thinner than a complete definition.

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%: unit, height, and weight each carry their own descriptions with examples and units, so the schema does the heavy lifting. The description adds no meaning beyond the schema, which is the baseline-3 case.

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?

"Bmi calculator" merely restates the tool name as a label; it names no verb and no resource beyond the acronym. An agent can guess this computes body mass index, but nothing in the text distinguishes it from siblings such as calculate_bmr or calculate_ideal_weight.

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

Usage Guidelines2/5

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

There is no guidance on when to use this versus calculate_bmr, calculate_ideal_weight, or other body-metric calculators, and no note about unit prerequisites. At best, the word "calculator" weakly implies a compute-only operation.

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