Skip to main content
Glama

Human Body Calculator MCP

Daily Dietary Fiber Intake Calculator

calculate_fiber_intake
Read-onlyIdempotent

Determine recommended daily fiber Adequate Intake (AI) in grams/day by age and sex per Institute of Medicine (IOM) guidelines. 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": {
      "age": "<age>",
      "gender": "<gender>"
    },
    "name": "calculate_fiber_intake"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years.
genderYesBiological sex / gender category used by formula ("male", "female", or "other").

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 readOnlyHint, idempotentHint, non-destructive, and closed-world, so the safety profile is fully covered without prose. The description adds genuinely relevant behavioral context for a health tool: the result is an informational estimate, not medical advice or diagnosis, with a directive to consult a professional. It does not disclose anything about how the 'other' gender category is handled, which is the remaining behavioral gap.

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 is front-loaded in the first clause, with the disclaimer following it. The two-sentence disclaimer is boilerplate but defensible for a health-adjacent calculation; nothing is redundant with the tool name or title.

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, the description needn't describe return values, and rich annotations cover the operation's safety profile. The remaining shortfall is the absent guidance on the 'other' enum branch and on population applicability, which matters for a formula-driven recommendation.

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 both parameters are already documented and the baseline is 3. The description adds only that the values are assessed 'per IOM guidelines,' which clarifies the source of the formula but not the semantics of any specific parameter — notably the meaning of 'other' for gender remains unexplained in both schema and description.

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 states a specific verb and resource — 'Determine recommended daily fiber Adequate Intake (AI) in grams/day' — plus the governing standard (IOM) and the stratifiers (age, sex). This is immediately distinguishable from siblings such as calculate_iron_intake or calculate_protein_intake, which follow the same pattern for different nutrients.

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?

The description implies usage by noting the inputs are age and sex and the output is a recommended intake estimate, but it never states when to pick this tool over a general calculator like run_health_calculator or a related nutrient tool. No exclusions, prerequisites, or population caveats (e.g., pregnancy, pediatric differences) are given beyond the age/sex framing.

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