Skip to main content
Glama

delete_entry

Removes a meal or water log entry by ID and returns the day's updated totals.

Instructions

Delete a meal or water entry by id (from get_day or a log result). Returns that day's updated totals.

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": {
      "kind": "<kind>",
      "id": "<id>"
    },
    "name": "delete_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
kindYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden. 'Delete' signals a destructive, presumably irreversible mutation, and 'Returns that day's updated totals' usefully discloses the side effect on the returned day snapshot, but it says nothing about whether deletion can be undone, what happens if the id doesn't exist, or any permission requirement.

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?

Two tight sentences with no filler: the operation and scope come first, followed by the input source and the return value. Every clause carries information an agent needs.

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 destructive two-parameter tool with zero annotation coverage, the description covers purpose, input provenance, and return shape (which the output schema already handles). It leaves gaps on irreversibility and failure behavior, which matter most for a deletion tool without safety annotations.

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 0%, so the description must compensate. It adds real meaning for id by stating its provenance, but 'kind' is only implied by the 'meal or water' phrasing and is already enumerated in the schema, and no constraints on id (format, validity) are given.

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?

The description names a specific verb (delete), a specific resource (a meal or water entry), and the key selector (by id). The 'meal or water' scope maps directly to the kind enum, so an agent can tell this apart from edit_meal or log_meal without opening any schema.

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

Usage Guidelines4/5

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

It gives concrete provenance for the id ('from get_day or a log result'), which tells the agent where to obtain valid input and implicitly steers it to use edit_meal when modification rather than removal is wanted. It stops short of explicit when-not-to-use guidance or naming edit_meal as the alternative.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.