Skip to main content
Glama
Canada's Food Guide MCP Server

Canada's Food Guide MCP Server

Compare Intake To Dri

compare_intake_to_dri

Compares actual nutrient intake with Health Canada DRI recommendations to calculate adequacy percentages, UL/AMDR compliance, and flag inadequate or excessive intake for dietary adjustments.

Instructions

Compare actual macronutrient intake against DRI recommendations.

This tool evaluates how an individual's actual nutrient intake compares to Health Canada's DRI recommendations, providing percentage adequacy and recommendations for dietary adjustments.

Comparison metrics calculated:

  • Percentage of EAR (Estimated Average Requirement) met

  • Percentage of RDA/AI (Recommended Dietary Allowance/Adequate Intake) met

  • Assessment against UL (Tolerable Upper Intake Level) if applicable

  • AMDR compliance for macronutrient distribution

  • Risk assessment for inadequate or excessive intake

Use this tool when:

  • Conducting personalized nutrition assessments

  • Providing dietary counseling and recommendations

  • Evaluating dietary adequacy for individuals

  • Creating nutrition improvement plans

  • Research involving dietary intake analysis

Input Schema

NameRequiredDescriptionDefault
input_dataYesContains: - age_range: Individual's age range for DRI lookup - gender: Individual's gender category - intake_data: Dict of actual nutrient intakes (nutrient_name: amount) - comparison_type: "all" for complete analysis or specific nutrient name

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.8/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the full burden, and it does substantial work: it discloses exactly which comparisons are computed (EAR %, RDA/AI %, UL assessment, AMDR compliance, risk classification). What it omits is the operational frame an agent needs with zero annotation coverage — whether the call is read-only/no-side-effect and whether DRI tables or a session must already exist (several sibling tools manage DRI table/session state).

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?

Purpose is front-loaded in the first sentence and the supporting blocks are bulleted and scannable. The 'Comparison metrics calculated' list is largely a restatement of return values already covered by the output schema, and the five-item use-case list is longer than needed, so some trimming is possible.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/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 need not explain return values, yet it spends most of its length on them. The genuine gaps for a computation tool of this complexity — required units for intake_data, whether a DRI session/table prerequisite exists, and whether the call mutates anything — go unaddressed.

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 nested input_data fields (age_range, gender, intake_data, comparison_type) are already documented in structured form. The description adds no meaning beyond that — notably it never states the expected units for intake_data values, which is the one semantic the schema itself leaves ambiguous.

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 and resource ('Compare actual macronutrient intake against DRI recommendations') and enumerates the comparison metrics, so the operation is unambiguous. It does not, however, distinguish itself from adjacent DRI tools (get_dri_lookup_from_session, calculate_dri_from_eer, get_specific_macronutrient_dri), so sibling differentiation is left to inference. There is also a minor tension between the 'macronutrient' framing and the EAR/RDA/UL metrics, which are nutrient-general.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

An explicit 'Use this tool when:' block supplies five concrete contexts (nutrition assessment, counseling, adequacy evaluation, improvement plans, research), which is clear positive guidance. It stops short of exclusions or naming the alternative DRI tools to use for lookup-only or EER-based needs, and the listed scenarios are somewhat generic rather than distinguishing conditions.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.