Skip to main content
Glama

Delete meal

delete_meal
Destructive

Delete one of the person's meals, with its earlier versions and its photos unless another meal or food uses them.

Input Schema

NameRequiredDescriptionDefault
idYesThe meal's id, as list_meals or create_meal returned it

Output Schema

NameRequiredDescriptionDefault
idYes

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 description's job is to add specifics — and it does: earlier versions and photos are removed too, except assets still referenced by another meal or food. That retention exception is real behavioral context beyond the annotations; only irreversibility/permissions are left unstated.

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?

One sentence, front-loaded with the action and resource, with the cascade and its exception packed into a single clause. No filler.

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 not be explained, and the cascade semantics are covered. What remains thin is authorization/ownership requirements and failure behavior for an id that doesn't exist or isn't the caller's.

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% and the single id parameter is documented in the schema, including that it comes from list_meals or create_meal. The description adds no further parameter detail, so the baseline of 3 applies.

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 (delete) plus the resource (one of the person's meals), and the cascade scope makes the operation's extent unambiguous. It is clearly distinguishable from the sibling delete_food, which targets foods rather than meals.

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?

Usage is implied by the destructive verb and the cascade caveat, but the description never says when to delete rather than update_meal, nor what prerequisites (ownership, confirmation) apply. No alternatives are named.

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