Skip to main content
Glama

delete_custom_food

Destructive

Requires a Garmin Connect+ subscription (check with has_connect_plus). IRREVERSIBLE. Needs Connect+. DELETE /nutrition-service/customFood/{foodId}, resolves null. IRREVERSIBLE: confirm with the user before calling.

Input Schema

NameRequiredDescriptionDefault
foodIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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, but the description adds real context: the Connect+ subscription gate (with the has_connect_plus check), the need for user confirmation, and that the call resolves to null. It does not describe failure modes or whether the deletion cascades, so it is short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The prerequisite is front-loaded, which is good, but the text is redundant: the Connect+ requirement appears twice ('Requires a Garmin Connect+ subscription' / 'Needs Connect+') and 'IRREVERSIBLE' is stated twice. The duplicated sentences do not earn their place.

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 one-parameter tool with no output schema, the description covers the key facts an agent needs: subscription requirement, irreversibility, confirmation, and the null return. Missing only edge-case behavior such as what happens when the food does not exist.

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 0% for the single foodId parameter, so the description must compensate. The `{foodId}` path template shows it identifies the food being deleted, but no format, source, or validity details are given, leaving the schema to carry the parameter alone.

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 `DELETE /nutrition-service/customFood/{foodId}` endpoint plus the tool name make the verb+resource unambiguous, and it clearly targets one custom food by id. It does not explicitly contrast with siblings like update_custom_food or delete_food_logs, so it stops short of a 5.

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?

It states a prerequisite ('Requires a Garmin Connect+ subscription (check with has_connect_plus)') and a usage directive ('confirm with the user before calling'), which tells the agent when the tool is usable and how to proceed. It does not name alternative tools for the non-subscription case, so it is not fully explicit about alternatives.

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.