Skip to main content
Glama

Delete record

delete_record
DestructiveIdempotent

Permanently deletes one record: a meal with its foods, a single food within a meal, a catalog food or a favourite dish.

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_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesThe record's id.
kindYesOne of: entry, item, food, dish.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/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, so the safety profile is covered. The description earns credit for adding the cascade detail ("a meal with its foods") and reinforcing permanence, which tells the agent that deleting a meal also removes its child items — behavior no annotation conveys.

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 sentence with the critical word "Permanently" front-loaded, so the irreversible nature is the first thing the agent reads. No filler whatsoever.

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 tool with no output schema, it omits important behavior: what happens when the id doesn't exist, whether a catalog food referenced by existing log entries can be deleted, and whether the result is confirmed anywhere. The cascade note helps but the coverage is only adequate.

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 coverage is 100% and the enum values entry/item/food/dish are documented in the schema, so the schema does the heavy lifting. The prose describes the record types in human terms but never maps them to the enum values, adding only modest meaning.

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?

Specific verb plus resource ("Permanently deletes one record") followed by an enumeration of the four deletable record types, which is more informative than the name alone. It doesn't reference any sibling, but no sibling covers deletion, so confusion risk is low.

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?

The description never states when to delete versus when to use edit_diary or another sibling, nor any preconditions or confirmation guidance. Usage is only implied by the word "deletes".

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