Skip to main content
Glama

delete_food_logs

Deletes selected food log entries for a specific date by log IDs to remove incorrect or unwanted nutrition records.

Instructions

Delete food log entries for a specific date by logIds.

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": {
      "date": "<date>",
      "logIds": "<logIds>"
    },
    "name": "delete_food_logs"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesDate of the food log entries (YYYY-MM-DD)
logIdsYesIDs of food log entries to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.1

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations supplied, the description must carry the full behavioral burden for a destructive mutation, but it never says deletion is permanent, whether it requires authentication or ownership of the logs, or what happens when some logIds don't exist. It does at least clarify that only the listed logIds on that date are removed rather than the whole day's entries.

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?

A single short sentence with the destructive verb and both scoping constraints front-loaded; there is no filler to remove.

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 simple two-parameter delete with a fully documented schema, the description covers the essential mechanics. However, with no annotations and no output schema, the absence of any statement about irreversibility or response shape leaves a real gap for a destructive tool.

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%, so both parameters, including the YYYY-MM-DD pattern and the non-empty logIds array, are already documented. The description's phrase 'for a specific date by logIds' restates rather than enriches that, so the baseline of 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?

The description states a specific verb (Delete) and resource (food log entries), scoped to a date and to explicit logIds. That naturally separates it from sibling delete_activity, delete_workout, and delete_weigh_in, though no alternative is named explicitly.

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 versus other deletion tools, no prerequisites (e.g., needing existing log IDs from get_nutrition_daily_food_log), and no note on what to do when the date has no matching entries. Usage is only inferable from the name.

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

Deploy Server

Other Tools