Skip to main content
Glama

delete_food_logs

Destructive

Requires a Garmin Connect+ subscription (check with has_connect_plus). Deletes log entries from one day, any number at once. IRREVERSIBLE. DELETE /nutrition-service/food/logs/{date} with {logIds} as the body: any number in ONE call, regular and quick-add alike. logIds are on the entries of getNutritionDailyFoodLog. Needs Connect+. IRREVERSIBLE: confirm with the user before calling.

Input Schema

NameRequiredDescriptionDefault
dateYesCalendar date, YYYY-MM-DD (UTC)
logIdsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and openWorldHint=true, so irreversibility is partly covered; the description still adds real value by spelling out the subscription gating, the batch semantics (any number in one call, regular and quick-add alike), and an explicit user-confirmation requirement that annotations cannot express.

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 critical warning is front-loaded and the endpoint/body shape is compact. It loses a point for repetition: the Connect+ requirement appears twice and irreversibility is asserted twice, which is redundant prose for an otherwise tight definition.

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

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a destructive, subscription-gated delete with a two-parameter schema and no output schema, the description covers everything the agent needs: prerequisites, batch behavior, ID provenance, irreversible consequence, and confirmation protocol.

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

Parameters4/5

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

Schema coverage is only 50% and logIds carries no schema description, so the description must compensate — and it does, explaining that logIds accepts any number of IDs in one call, covers both regular and quick-add entries, and can be sourced from getNutritionDailyFoodLog. The date parameter is already documented in the schema, so nothing is duplicated.

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 and resource ('Deletes log entries from one day'), plus scope ('any number at once') and the underlying endpoint. An agent can distinguish it from sibling deletes like delete_custom_food or delete_weigh_in without opening any schema.

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?

Gives prerequisites (Connect+ subscription, verified via has_connect_plus) and an explicit safeguard ('confirm with the user before calling'), and routes the agent to getNutritionDailyFoodLog for the logIds. It stops short of naming when a different tool would be preferred, but the when-to-use conditions are 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.