Skip to main content
Glama
io.github.rwestergren/cronometer-api-mcp

io.github.rwestergren/cronometer-api-mcp

by rwestergren

remove_food_entry

DestructiveIdempotent

Remove one or more Cronometer diary entries—foods, exercises, notes, or biometrics—by entry ID and date to correct or clean your daily log.

Instructions

Remove one or more entries from the Cronometer diary.

Works for every entry type in get_food_log's diary: foods (servingId), exercises (exerciseId), notes (noteId) and biometrics such as a weight (biometricId).

Args: entry_ids: List of entry IDs to remove. date: Date the entries belong to as YYYY-MM-DD (defaults to today).

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": {
      "entry_ids": "<entry_ids>"
    },
    "name": "remove_food_entry"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNo
entry_idsYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructive=true, idempotent=true and openWorld=true, so the safety profile is covered. The description adds value by mapping each diary entry type to its ID field (servingId, exerciseId, noteId, biometricId) and stating the date defaults to today. It does not state whether removals are permanent or reversible, which would be worth one more sentence for a destructive tool.

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?

One front-loaded sentence states the action and its breadth, a second sentence covers entry-type coverage, and the Args block documents both parameters. No redundant restatement of the name or title.

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

Completeness5/5

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

For a two-parameter destructive removal tool with annotations covering the safety profile and an output schema covering returns, this is complete enough to invoke correctly: the ID source, the ID kinds, and the date semantics are all present.

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

Parameters4/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 the parameter burden and largely does: entry_ids is a list of IDs sourced from get_food_log, and date takes a YYYY-MM-DD value defaulting to today. Minor gap: it does not say whether entry_ids is a comma string or a JSON array, or how date interacts with ID lookup across days.

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?

Specific verb and resource ("Remove ... entries from the Cronometer diary") with explicit scope ("one or more"), plus a pointer to get_food_log's diary that separates it from the catalog-level siblings delete_recipe and delete_custom_food.

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?

Tells the agent where the IDs come from (get_food_log's diary) and which ID kind applies to each entry type, which is the main prerequisite for calling it. It stops short of explicit when-not-to-use guidance (e.g., that recipes and custom foods are removed with delete_recipe/delete_custom_food), so no full routing rule is given.

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