Skip to main content
Glama

Delete food

delete_food
DestructiveIdempotent

Remove a saved food, recipe or batch from the library. Entries already logged keep their numbers. A batch can be deleted only when nothing was logged from it.

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": {
      "food": "<food>"
    },
    "name": "delete_food"
  }
}

Input Schema

NameRequiredDescriptionDefault
foodYesAn id or name from the library

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, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds value beyond that by scoping the destruction ("Entries already logged keep their numbers") and stating a blocking condition for batch deletion, which the 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.

Conciseness5/5

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

Three short sentences, zero filler, with the action and scope front-loaded and the conditional constraint last. Every sentence carries distinct information.

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 no output schema, the definition covers what is removed, what is preserved, and the one precondition that can block the call. The only remaining gap is what a successful call returns or confirms, which is minor for a delete.

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 100% on a single parameter, and the schema already says the value is "an id or name from the library". The description only reinforces that the target must live in the library; it adds no syntax, disambiguation between id and name, or behavior for non-matching values. Baseline 3 applies.

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?

"Remove a saved food, recipe or batch from the library" gives a specific verb plus the exact resource types and their container (the library). The clause "Entries already logged keep their numbers" implicitly separates this from delete_food_entry, though the sibling is never named, so the differentiation is inferred rather than stated.

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 description supplies a real precondition ("A batch can be deleted only when nothing was logged from it") that tells the agent when this call will fail. It stops short of routing guidance: it never says to use delete_food_entry to remove a logged entry instead, or to use update_food to modify rather than remove a library item.

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