Skip to main content
Glama

Human Body Calculator MCP

Daily Protein Intake Calculator

calculate_protein_intake
Read-onlyIdempotent

Estimate daily protein target in grams/day using WHO/FAO/UNU safe baseline (0.83 g/kg) through athletic recommendations (up to 2.0 g/kg). 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_protein_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
weightYesBody weight in weightUnit (1-500 kg equivalent).
weightUnitNoWeight unit: "kg" (default) or "lbs".
activityLevelNoDaily physical activity tier ("sedentary", "light", "moderate", "active", or "very_active").

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 safety is covered. The description adds genuinely new behavioral context: the estimate is bounded by WHO/FAO/UNU baseline through athletic recommendations, and it carries an explicit non-medical-advice scope limitation. It stops short of explaining how activityLevel shifts the result within that range.

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?

Two sentences, front-loaded with the core capability and the numeric range, followed by a compact scope disclaimer. Every clause earns its place; there is no restatement of the tool name or filler.

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 only three fully documented parameters and an output schema present, the description need not explain return values or parameter syntax. The main residual gap is how activityLevel is applied to produce the target, which an agent might want to know to sanity-check results, but the definition is otherwise sufficient to call the tool correctly.

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% with two enums, so the schema already defines weight, weightUnit, and activityLevel. The description's g/kg figures hint that weight drives the calculation and that the upper bound corresponds to athletic levels, but it does not map specific activityLevel values to specific multipliers. Baseline 3 applies when the schema does the heavy lifting.

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?

The description states a specific verb and resource: 'Estimate daily protein target in grams/day', plus the output unit and the numeric range of recommendations (0.83–2.0 g/kg). It does not explicitly distinguish itself from sibling calculators such as calculate_fiber_intake or calculate_calorie_needs, but the resource is unambiguous enough that an agent can identify it without opening the schema.

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 context is implied — this is an informational nutrition estimate, and the description explicitly says it is 'not medical advice, diagnosis, or treatment' and directs users to a healthcare professional. However, there is no guidance on when to pick this tool over the many sibling intake calculators, nor any stated prerequisites beyond body weight.

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