Skip to main content
Glama

Human Body Calculator MCP

Meal Glycemic Load (GL) Calculator

calculate_glycemic_load
Read-onlyIdempotent

Compute meal Glycemic Load = (GI * available_carbs_g) / 100 and classify glycemic impact as Low (<=10), Medium (11-19), or High (>=20). 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": {
      "carbs": "<carbs>",
      "gi": "<gi>"
    },
    "name": "calculate_glycemic_load"
  }
}

Input Schema

NameRequiredDescriptionDefault
giYes
carbsYes

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

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and a closed-world scope, so the safety profile is covered. The description adds genuine behavioral context by disclosing the exact computation and the Low/Medium/High classification bands, but says nothing about input domain expectations (GI scale) or precision/rounding of the result.

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 sentence is front-loaded with the formula and thresholds, which is the highest-value information. The trailing disclaimer is somewhat boilerplate but justified for a health tool, so little is wasted.

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 values need not be explained, and the description still covers the computation and classification bands. For a two-parameter read-only calculator this is nearly complete; only GI-scale/u nit guidance is missing.

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 0% for two numeric parameters, so the description must compensate. It partially does by clarifying units via the formula ('available_carbs_g' and GI as a multiplier), but it never states the GI scale (0-100 glucose reference) or what 'available carbs' means vs. total carbs, leaving meaningful ambiguity.

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

Purpose5/5

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

The description names a specific verb and resource ('Compute meal Glycemic Load') and even gives the exact formula, distinguishing it from generic siblings like run_health_calculator. An agent can tell instantly that this takes carbs and GI and produces a GL value plus classification.

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 sets a scope boundary ('Informational estimate only — not medical advice'), which implies a wellness-use context, but there is no explicit when-to-use vs. when-to-use-another guidance (e.g., macronutrient or fiber calculators). Usage is only implied by the disclaimer.

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