Skip to main content
Glama

Nutrition by Pack4Back

List nutrition for a day

list_nutrition
Read-onlyIdempotent

List foods for a day plus Garmin Connect overview (consumed, auto-adjusted calorie AND macro goals, remaining). goals is the Connect target. Use log_id for update_nutrition and delete_nutrition.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoChatGPT name from list_destinations aliases (я, оксана, mogadanez). Prefer destination_id. Matched only against this user's allow-list.
timezoneNoIANA timezone for today.Europe/Prague
meal_dateNoLocal date YYYY-MM-DD.
meal_typeNoOptional meal filter.
destination_idNoStable destination id from list_destinations. Required when more than one destination is writable.
destination_kindNoTracker kind. garmin is supported now. myfitnesspal, cronometer, macrofactor, and apple_health are reserved and unsupported.garmin
user_query_contextNoOriginal user message. Always forward it. Used for alias hints and audit; never expands the allow-list.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
okYes
fatNo
nameNo
carbsNo
errorNo
goalsNo
log_idNo
accountNo
messageYes
proteinNo
bmr_kcalNo
caloriesNo
consumedNo
meal_nameNo
remainingNo
candidatesNo
plan_goalsNo
goal_sourceNo
destinationsNo
activity_kcalNo
destination_idNo
calories_burnedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already mark the tool read-only, idempotent, and open-world, so the description doesn't need to restate safety. It adds useful context beyond the schema: it clarifies the semantics of 'goals' ('goals is the Connect target') and tells the agent that the resulting log_id feeds update_nutrition and delete_nutrition. No contradictions with annotations.

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?

Two short sentences front-load the core purpose and then provide the key follow-up fact about log_id usage. Every sentence earns its place with no filler or structured-data repetition.

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?

Given detailed parameter descriptions, annotations, and an output schema, the description covers the essentials for invoking the tool correctly. It could be slightly more complete by differentiating from get_daily_summary/get_nutrition_goals, but nothing necessary for a correct call 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 coverage is 100% and each parameter already has a descriptive meaning, so the description doesn't need to add parameter detail. The only added pointer, log_id, refers to an output field rather than an input parameter, so it doesn't increase parameter-semantics value.

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 operation and resource: 'List foods for a day plus Garmin Connect overview ...', with concrete fields (consumed, auto-adjusted calorie AND macro goals, remaining). It does not explicitly compare itself to siblings like get_daily_summary or get_nutrition_goals, so it stops short of full sibling differentiation.

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?

The description makes the usage context clear: a day-level food listing with Garmin Connect goal/remaining overview. It adds the cross-tool pointer 'Use log_id for update_nutrition and delete_nutrition', but doesn't state when to choose this over get_daily_summary or get_nutrition_goals.

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