Skip to main content
Glama

Human Body Calculator MCP

Body Surface Area (BSA) Calculator

calculate_bsa
Read-onlyIdempotent

Calculate Body Surface Area in m^2 via the Mosteller formula: sqrt(height_cm * weight_kg / 3600), commonly referenced in pharmacology and clinical dosing. 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": {
      "weight": "<weight>"
    },
    "name": "calculate_bsa"
  }
}

Input Schema

NameRequiredDescriptionDefault
feetNoFeet component when heightUnit="ft".
heightNoBody height in heightUnit (50-300 cm equivalent). Omit when heightUnit="ft" and supply feet/inches instead.
inchesNoInches component when heightUnit="ft" (0-11.99).
weightYesBody weight in weightUnit (1-500 kg equivalent).
heightUnitNoHeight unit: "cm" (default), "m", or "ft".
weightUnitNoWeight unit: "kg" (default) or "lbs".

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
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety profile needs no restating. The description adds genuinely new behavioral context beyond the annotations: it is an informational estimate only, not medical advice or diagnosis, which matters for a clinical-domain output. It does not describe validation failures or unit-mismatch behavior, keeping it below 5.

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?

The formula and its clinical rationale are front-loaded in the first sentence, with the disclaimer following. The disclaimer sentence is long relative to the mechanical content but is defensible for a health-calculation tool; nothing is redundant with the 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-value explanation is unnecessary, and the description supplies the output unit (m^2) plus the computation method. Six parameters with a two-mode height input are documented in the schema, so the description covers what an agent needs to select and call it, though it could note the feet/inches input path explicitly.

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 every parameter including the feet/inches split, unit enums, and ranges is documented in the schema itself. The description names height_cm and weight_kg only implicitly through the formula and adds no guidance on the feet/inches alternative path, so the baseline 3 applies.

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

Purpose4/5

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

States a specific verb and resource ('Calculate Body Surface Area in m^2') and pins it to the exact Mosteller formula, so an agent knows precisely what computation is performed. It does not explicitly differentiate itself from near-siblings like calculate_bmi or calculate_ideal_weight, which all take height/weight, so it falls short of a 5.

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?

The phrase 'commonly referenced in pharmacology and clinical dosing' gives implied usage context for when BSA rather than BMI is wanted. There is no explicit when-not guidance and no named alternative sibling for comparison, leaving the routing decision partly to inference.

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