Skip to main content
Glama

Bodywise Fitness Coach

Macro calculator

macro_calculator
Read-onlyIdempotent

The public Bodywise macro calculator page (/macro-calculator): maintenance calories (Mifflin-St Jeor × activity multiplier), a goal target (build +300 kcal, maintain 0, lean −400; never below 1,200 kcal) and daily protein, fat and carb grams. No email is needed or accepted.

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": {
      "sex": "<sex>",
      "age": "<age>",
      "height_cm": "<height_cm>",
      "weight_kg": "<weight_kg>",
      "activity": "<activity>",
      "goal": "<goal>"
    },
    "name": "macro_calculator"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years (18–90).
sexYesSex assigned at birth.
goalYesbuild (build muscle), maintain (stay the same weight) or lean (lose fat, keep muscle).
activityYesActivity multiplier: 1.2, 1.375, 1.55, 1.725 or 1.9.
height_cmYesHeight in cm.
weight_kgYesBodyweight in kg.

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 readOnly, idempotent, and non-destructive, so the safety profile is covered. The description adds real behavioral value beyond that: the Mifflin-St Jeor × activity-multiplier method, the +300/0/−400 goal deltas, the 1,200 kcal floor, and the fact that no email is accepted. It stops short of describing output format or rounding.

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 purpose and the page path are front-loaded, followed by the calculation rules in a single dense parenthetical. The two sentences carry useful information with little filler, though the formula details make the first sentence long.

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 no output schema, the description must convey what comes back, and it does: maintenance calories, the goal target, and protein/fat/carb grams. Combined with the 100%-covered input schema, an agent has enough to invoke it, though exact output units/shape remain unspecified.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description goes beyond the schema by tying the goal enum to concrete kcal adjustments (build +300, maintain 0, lean −400) and disclosing the 1,200 kcal clamp, which is calculation behavior the parameter enums alone do not convey.

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-plus-resource: it computes maintenance calories, a goal-adjusted target, and daily protein/fat/carb grams from body metrics. It clearly identifies itself as the macro calculator page, though it does not explicitly distinguish itself from close siblings like maintenance_calories, calorie_calculator, or protein_calculator.

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 description notes 'No email is needed or accepted,' which signals the tool is a direct compute call without signup. It never states when to prefer this tool over the many adjacent calorie/protein/macro siblings, so the agent must infer the routing.

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