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

io.github.rwestergren/cronometer-api-mcp

by rwestergren

delete_recipe

DestructiveIdempotent

Deletes a saved recipe or meal by retiring it by default so diary entries remain, or removes it permanently when explicitly requested. Use for recipes, not custom foods.

Instructions

Delete a recipe or saved meal that you created.

By default the recipe is retired, as the app does for a recipe that has been logged: it disappears from search and from the recipe and meal lists, and diary entries that already use it are kept.

permanent=True deletes it outright. This ALSO REMOVES THE DIARY ENTRIES that logged it. Use it only for a recipe that was never logged, or when the user has explicitly asked for those entries to go.

Plain custom foods are not accepted; use delete_custom_food for those.

Args: food_id: ID of the recipe or meal to delete. permanent: Delete outright instead of retiring (see above).

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": {
      "food_id": "<food_id>"
    },
    "name": "delete_recipe"
  }
}

Input Schema

NameRequiredDescriptionDefault
food_idYes
permanentNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.2.7

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, but the description goes well beyond them: it explains that the default is a soft retire that hides the item from search and lists while keeping diary entries, and that permanent=True cascades to deleting diary entries. That cascade warning is exactly the kind of consequence an agent cannot infer from annotations. It stops short of any auth or rate-limit context, so a 4 rather than 5.

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?

Front-loads the core action, then the default behavior, then the dangerous flag, then the excluded sibling — a sensible ordering. The capitalized warning is justified by real data loss, though the prose is somewhat longer than strictly necessary.

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 tool with an output schema already covering return values, the description covers everything an agent needs: default vs permanent semantics, side effects on diary entries, and the sibling tool for non-recipe foods.

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 load, and it does: permanent is explained across several sentences with its default behavior and consequences, and food_id is identified as the ID of the recipe or meal. food_id's provenance (where to obtain it) is not stated, which is the one remaining gap.

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?

States a specific verb and resource ("Delete a recipe or saved meal") plus a scope qualifier ("that you created"), and explicitly excludes plain custom foods by pointing to delete_custom_food. An agent can distinguish it from delete_custom_food without opening either schema.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance for the default mode versus permanent=True, including the decision rule ("only for a recipe that was never logged, or when the user has explicitly asked"). It also names the correct alternative tool for a different input type.

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