Skip to main content
Glama

Almost Fire

Remove a food

delete_food_entry
DestructiveIdempotent

Use this when the person asks to remove a food they logged by mistake. Give its entry id from get_nutrition. Comes back with an Undo. Do not use for a food they still ate; log the right amount instead.

Input Schema

NameRequiredDescriptionDefault
entryIdYes
idempotencyKeyYesA new random id for this change (a UUID). Send the same one again only to retry this exact change.

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered structurally. The description adds information annotations cannot express: the deletion is recoverable via an Undo, and the required entryId originates from get_nutrition. It does not say what happens to daily totals or progress after removal, which leaves a small gap.

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 short sentences, each earning its place: the trigger condition first, the parameter source second, the recovery behavior third, the exclusion last. No filler or restatement of annotations.

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?

An output schema exists, so return values need no explanation, and the description still flags the Undo affordance. For a destructive two-parameter mutation it is nearly complete; only the downstream effect on logged totals is unstated.

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 50%: idempotencyKey is documented in-schema but entryId has no description. The description compensates by telling the agent where entryId comes from (get_nutrition), which is the one piece of meaning the schema omits. It does not clarify entryId format (string id vs numeric), so not a 5.

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 ('remove a food they logged') and scopes it to a mistaken log, which separates it from log_foods and undo without opening a schema. The title 'Remove a food' is reinforced rather than merely repeated.

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?

Gives an explicit when ('logged by mistake'), an explicit when-not ('a food they still ate'), and the correct alternative action ('log the right amount instead'). This is exactly the routing guidance an agent needs among 28 siblings.

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