Skip to main content
Glama

Delete food entry

delete_food_entry
DestructiveIdempotent

Remove an entry by 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": {
      "id": "<id>"
    },
    "name": "delete_food_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.4/5.0
Behavior2/5

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

The annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, so the safety profile is fully covered by structured data. The description adds nothing beyond that – no note that deletion is permanent, no confirmation behavior, no indication of whether related totals/logs are recalculated, and no response shape.

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?

A single short sentence is front-loaded and free of filler, but here brevity tips into under-specification rather than efficiency. There is no wasted wording, just too little of it.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter delete whose safety profile is already stated in annotations and which has no output schema, the definition is arguably sufficient to invoke the tool. However, it omits the id-provenance ambiguity and any post-delete effect, which an agent would need for confident use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description would need to carry the load, but "by id" only restates the required parameter's name. It does not say whether the id is the food-entry UUID from get_food_log versus a food definition id, which is ambiguous given siblings such as delete_food and get_food.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

"Remove an entry by id" gives a specific verb and a resource, but the resource is named only as "entry" – the food qualifier appears solely in the tool name/title, not the description. Sibling tools like delete_food, update_food_entry and log_food make it clear an agent must rely on the name to know which kind of entry is removed.

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

Usage Guidelines2/5

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

There is no guidance on when to use this instead of delete_food or update_food_entry, nor any prerequisite such as needing the id from a prior list/get call. The only implied usage is that you must already have an id.

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