Skip to main content
Glama

Human Body Calculator MCP

Daily Vitamin D Needs (RDA) Calculator

calculate_vitamin_d
Read-onlyIdempotent

Compute Recommended Dietary Allowance (RDA) for Vitamin D in IU/day by age per NIH Office of Dietary Supplements (upper limit 4000 IU/day). 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": {
      "age": "<age>"
    },
    "name": "calculate_vitamin_d"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years.

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 the safety profile is covered structurally. The description adds real value beyond that: it names the authoritative source (NIH ODS) and discloses the 4000 IU/day upper limit, which bounds the plausible output range, plus an informational-only scope restriction. It does not discuss rounding or behavior at age boundaries, but the output schema covers the return shape.

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 core capability, unit, source, and cap are front-loaded in the first sentence, with the disclaimer trailing where it belongs. Three short sentences with no repetition; the scope disclaimer earns its place in a health domain. Minor cost: the source citation could be tightened without losing meaning.

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?

For a one-parameter, read-only, deterministic calculator with an output schema, everything an agent needs is present: what is computed, the unit (IU/day), the population factor (age), the authoritative basis, and the ceiling value. Annotations cover the safety profile and the output schema covers the return shape, so no meaningful gap remains.

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 single parameter already documents "Age in years" with a 1-120 range, so the schema does the heavy lifting. The description's "by age" confirms the parameter is the stratification key for the RDA lookup, which is modest added meaning beyond the schema. Baseline 3 is appropriate for a fully documented single-parameter tool.

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?

"Compute Recommended Dietary Allowance (RDA) for Vitamin D in IU/day by age" names a specific verb, resource, output unit, and the stratifying variable, so the agent knows precisely what is returned. It does not explicitly differentiate itself from the many sibling calculators (e.g. calculate_iron_intake, calculate_calorie_needs), leaving that to the tool name alone.

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: the age-based framing makes clear when the tool applies, and the NIH ODS attribution signals the intended authoritative-use context. There is no explicit statement of when to prefer this over a sibling nutrient calculator, and no exclusions beyond the medical-advice disclaimer, which is a safety caveat rather than routing guidance.

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