Skip to main content
Glama

Delete a logged meal

delete_meal
Destructive

Permanently removes one meal or water entry from the user's FitFoodie diary, identified by its FitFoodie entry_id.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "entry_id": "<entry_id>"
    },
    "name": "delete_meal"
  }
}

Input Schema

NameRequiredDescriptionDefault
entry_idYesThe entry_id of the entry to delete.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=false and readOnlyHint=false, so the safety profile is covered. The description adds 'Permanently' (irreversibility, not conveyed by destructiveHint alone) and discloses that both meal and water entries live in the same operation, which is real added context. It stops short of describing failure behavior when an entry_id doesn't exist or is already deleted.

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?

A single front-loaded sentence with the destructive verb first and the identifier last. No filler, no restatement of the title beyond what is necessary.

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 one-parameter destructive tool with full annotation coverage and no output schema, the description covers what is deleted, that it is permanent, and how it is addressed. The only gap is that an agent must infer where the entry_id comes from and what happens on a missing or already-deleted entry.

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 100%, so the baseline is 3, but the description adds the namespace qualifier ('its FitFoodie entry_id'), clarifying that this is the internal diary entry identifier rather than an external or client-side ID. That is a genuine semantic addition over the schema's generic 'The entry_id of the entry to delete.'

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 ('Permanently removes') on a specific resource ('one meal or water entry from the user's FitFoodie diary') scoped by entry_id. It is trivially distinguishable from every sibling (log_meal, relog_meal, list_recent_meals, get_*), since none of them are destructive. An agent knows exactly what this does without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The single-entry scope implies when to use it (removing one specific item), but there is no explicit guidance on when to use it versus correcting via relog_meal, nor any stated prerequisite such as obtaining the entry_id from list_recent_meals. Usage is inferable but not spelled out.

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