Skip to main content
Glama

set_nutrition_daily_settings

Set or update daily calorie and macronutrient targets for a specific date, preserving any unspecified values.

Instructions

Update daily nutrition goals (calorie target and macronutrient targets).

Reads the current settings for the date, applies the supplied overrides, and writes the merged result back. Only the fields you provide are changed; omitted fields keep their existing values.

Garmin stores macros as grams. The calorie goal should match 4carbs + 4protein + 9*fat to within a small rounding margin — Garmin accepts minor mismatches but will silently correct large discrepancies.

Args: date: Date in YYYY-MM-DD format (settings are typically set once and inherited across days, but Garmin accepts per-day overrides) calorie_goal: Daily calorie target in kcal carbs_grams: Daily carbohydrate target in grams fat_grams: Daily fat target in grams protein_grams: Daily protein target in grams

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateYes
fat_gramsNo
carbs_gramsNo
calorie_goalNo
protein_gramsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

With no annotations provided, the description fully discloses side effects: it reads current settings, writes merged results, and notes that Garmin may silently correct large calorie-macro discrepancies. This gives the agent a realistic expectation of behavior beyond a simple set.

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 description is well-structured with a clear intro, behavioral notes, and an Args list. It is slightly verbose due to the calorie-macro consistency explanation, but that information is essential for correct usage, so the length is justified.

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?

Provides enough context to call the tool correctly: explains merge behavior, parameter semantics, and a critical consistency rule. Does not mention return value or error conditions, but an output schema exists (not shown) and the operation is straightforward; still, a brief note on expected response would improve completeness.

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

Parameters5/5

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

Schema description coverage is 0%, but the description's Args section adds meaningful semantics for all 5 parameters: explains date format and inheritance behavior, units for calorie_goal (kcal), and units for macros (grams). This fully compensates for the schema's lack of descriptions.

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?

States a specific verb 'update' and resource 'daily nutrition goals' (calorie and macronutrient targets). Distinguished from sibling getter tools like get_nutrition_daily_settings by its setter nature and explicit description of the update behavior.

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

Usage Guidelines5/5

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

Provides clear usage instructions: mentions the merge behavior (reads current settings, applies overrides, writes merged result) and explains that only provided fields are changed, omitted fields keep existing values. Also includes important consistency note about calorie and macro relationships, guiding correct usage.

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

Deploy Server

Other Tools