Skip to main content
Glama

Nutrition by Pack4Back

Delete a nutrition entry

delete_nutrition
Destructive

Remove an existing food. Prefer log_id from list_nutrition. ok=true only after Garmin no longer has that log_id. Result calories are the deleted snapshot.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryNoFood name fragment if log_id is unknown. Prefer log_id.
log_idNoExact log_id from list_nutrition. Required when several foods share a name.
accountNoChatGPT name from list_destinations aliases (я, оксана, mogadanez). Prefer destination_id. Matched only against this user's allow-list.
timezoneNoIANA timezone.Europe/Prague
meal_dateNoLocal date YYYY-MM-DD.
meal_typeNoMeal to search in.
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_imagesNoHTTPS URLs or MCP image refs for meal photos. Optional. Persist hashes/URLs only.
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 declare destructiveHint=true and readOnlyHint=false, so the agent knows this is a destructive operation. The description adds valuable context: 'ok=true only after Garmin no longer has that log_id' and 'Result calories are the deleted snapshot.' This goes beyond the annotations by explaining the deletion's effect and the result semantics.

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 sentences with zero waste. The most important guidance (prefer log_id) is front-loaded, and the behavioral notes about ok=true and result calories are concise and valuable.

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?

For a destructive tool with 10 parameters and an output schema, the description covers the key behavioral aspects: what gets deleted, how to identify the target, and what the result means. It doesn't explain the full parameter matrix, but the schema already does that. The description is complete enough for an agent to call it correctly.

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 schema already documents all 10 parameters. The description adds minimal parameter-level meaning beyond the schema, but it does reinforce the preference for log_id over query. Baseline 3 is appropriate since the schema carries the heavy lifting.

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 states a specific verb and resource ('Remove an existing food') and adds a key scoping detail ('Prefer log_id from list_nutrition'). It distinguishes itself from siblings like log_nutrition and update_nutrition by focusing on deletion, though it doesn't explicitly name those siblings.

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 gives clear guidance on when to use this tool: prefer log_id from list_nutrition, and use query only when log_id is unknown. It also implies the alternative (list_nutrition) for finding the log_id. It doesn't explicitly state when not to use it versus update_nutrition, but the deletion context is clear.

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