Skip to main content
Glama

Bodywise Fitness Coach

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Bodywise Fitness and Nutrition. If you published it, claim ownership there.

Fat calculator

fat_calculator
Read-onlyIdempotent

Daily fat: 0.8 g per kg bodyweight by default (allowed 0.5–1.2 g/kg). Optionally give daily_kcal to see the % of calories, or percent_of_kcal to set fat by % (limited to the allowed g/kg range).

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_kg": "<weight_kg>"
    },
    "name": "fat_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
g_per_kgNoFat g/kg (default 0.8).
weight_kgYesBodyweight in kg.
daily_kcalNoDaily calories.
percent_of_kcalNoFat as % of calories (needs daily_kcal).

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 cover the safety profile (readOnly, idempotent, non-destructive, closed-world), so the bar is lower. The description earns credit by disclosing the default coefficient (0.8 g/kg), the allowed g/kg window, and the clamping behavior for percent_of_kcal ('limited to the allowed g/kg range') — real behavioral context beyond the annotations.

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 tight sentences, front-loading the default output and then the optional modes. Every clause carries information (default value, allowed range, conditional inputs); nothing is padding.

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?

For a read-only calculator with full schema coverage and no output schema, the description supplies the domain rule and mode selection an agent needs to call it correctly. The only minor gap is not stating the shape of the result (e.g., grams per day plus percentage when kcal is supplied), which the 'see the % of calories' phrasing only hints at.

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%, so the schema already documents all parameters including defaults, ranges, and the daily_kcal dependency. The description largely restates those ranges and the default rather than adding syntax or interpretation beyond the schema, so 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?

The description states a specific computation: daily fat grams derived from bodyweight, with default g/kg and optional kcal-percentage framing. It is clearly a fat-intake calculator, distinguishable from siblings like carbohydrate_calculator or protein_calculator, though it never explicitly names or contrasts those siblings.

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?

It states the default behavior (0.8 g/kg when only weight_kg is given) and the conditional pairing needed for percent_of_kcal (requires daily_kcal), which is implied when-to-use guidance. It gives no guidance on when to prefer this over macro_calculator or protein_calculator, and no exclusions.

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