Skip to main content
Glama

Delete food log entries

delete_food_log
DestructiveIdempotent

Delete one or more food entries by id. Confirm with the user first if the request is ambiguous.

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": {
      "ids": "<ids>"
    },
    "name": "delete_food_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/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 agent knows this is an irreversible-class mutation. The description adds a real behavioral rule (confirm first on ambiguity) but omits other material traits: whether deletions are permanent/undoable, what happens with unknown ids, and whether a batch partially fails. Additional context exists but is thin against a destructive batch operation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

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

Two short sentences, front-loaded with the action and scope, with zero filler. The only weakness is that the second sentence relies on an undefined term ('ambiguous'), making it less actionable than it is brief.

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?

With no output schema, the description could state what a successful call returns (e.g., count of deleted entries) and how failures on specific ids surface. For a destructive, batch (up to 50 ids) deletion, those omissions leave real gaps, though the annotations and schema cover safety profile and shape.

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 description coverage is 0%, so the description must carry parameter meaning, yet 'by id' and 'one or more' essentially restate the schema's array-of-strings with minItems 1. It says nothing about id format, where ids come from (presumably get_food_log), or what happens if an id is not found.

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?

The description names a specific verb ('Delete') and resource ('food entries') with batch scope ('one or more ... by id'), which is enough to distinguish it from the delete_exercise/delete_workout_* siblings without opening their schemas. It stops short of explicitly naming any sibling or contrasting behavior.

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?

It gives one piece of usage guidance -- confirm with the user when the request is ambiguous -- but 'ambiguous' is left undefined and there is no statement of when to prefer update_food_log, get_food_log, or another delete tool. Usage context is implied rather than 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