Skip to main content
Glama

Human Body Calculator MCP

Blood Glucose Classification Calculator (ADA)

calculate_blood_sugar
Read-onlyIdempotent

Analyze fasting and optional 2-hour post-meal plasma glucose (mg/dL) using ADA Standards of Care Normal, Prediabetes, and Diabetes criteria. 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": {
      "fastingGlucose": "<fastingGlucose>"
    },
    "name": "calculate_blood_sugar"
  }
}

Input Schema

NameRequiredDescriptionDefault
fastingGlucoseYes
postMealGlucoseNo

Output Schema

NameRequiredDescriptionDefault
dataYes
typeYes
disclaimerYesNon-diagnostic medical or wellness disclaimer

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so safety is covered. The description adds real behavioral context beyond them: the measurement units (mg/dL), the ADA criteria basis, and a clear 'informational estimate only, not medical advice' scope disclaimer that shapes how results should be presented.

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?

Three short sentences with the analytical scope front-loaded, the disclaimer second, and the referral closing. No filler, no restatement of the tool name, and no redundancy with the schema.

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?

An output schema exists, so return values need no explanation, and annotations cover the safety profile. For a two-parameter calculator the description supplies the standards basis, units, and disclaimer; only the handling of the optional second value is left implicit.

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 description coverage is 0%, so the description must carry the load, and it does: it identifies both parameters by clinical meaning, marks the post-meal one as optional, and supplies the unit (mg/dL) that the schema lacks. It does not discuss the 20-700 bounds or whether different thresholds apply when only fasting glucose is given, so it falls short of fully compensating.

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 names a specific verb ('Analyze'), the exact inputs (fasting and optional 2-hour post-meal plasma glucose), and the classification framework (ADA Standards of Care: Normal, Prediabetes, Diabetes). That is enough to separate it from neighbors like calculate_glycemic_load or calculate_bmi, though it never names an alternative explicitly.

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 by 'fasting and optional 2-hour post-meal' and by the informational-only framing, which tells the agent this is an awareness tool rather than a diagnostic one. There is no explicit statement of when to prefer this over a related calculator or what to do if only one value is available, so guidance stays implicit.

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