Skip to main content
Glama

Remove logged water

delete_water
Destructive

Remove water logged by mistake. Without amount_ml: the most recent entry that day. With amount_ml: the most recent entry of exactly that amount (e.g. 2500 logged instead of 250: delete_water 2500, then log_water 250). all=true clears the whole day: confirm with the user first. Returns what was removed, what is left and the day's total vs the goal.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "delete_water"
  }
}

Input Schema

NameRequiredDescriptionDefault
allNoRemove every water entry that day
dateNoLocal date YYYY-MM-DD (or 'today'/'yesterday'). Defaults to today in the user's timezone.
amount_mlNoRemove the most recent entry of exactly this amount

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior4/5

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

Goes beyond the annotations (destructiveHint=true, idempotentHint=false) by describing the response payload ('what was removed, what is left and the day's total vs the goal') and requiring confirmation before all=true. It stops short of stating whether removals are recoverable or what permissions are needed, which keeps it at 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-loaded with purpose, then the three modes in a logical order with no filler. The parenthetical example ('2500 logged instead of 250: delete_water 2500, then log_water 250') is slightly tangled and costs a re-read, but it carries real value.

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?

No output schema exists, yet the description covers the return content, all three parameter-driven behaviors, and the safety gate for the destructive case. An agent has everything needed to select and invoke this correctly.

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 coverage is 100%, so the baseline is 3, but the description adds genuine meaning: the default behavior when amount_ml is absent (most recent entry that day) and the exact-match semantics of amount_ml are spelled out with a worked example. Only the date parameter's behavior is left entirely to the schema.

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?

Names a specific verb and resource ('Remove water logged by mistake') and immediately disambiguates the three deletion modes by parameter, so an agent can tell exactly what gets removed under each configuration. This is far beyond a restatement of the title.

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 logic: no amount_ml targets the most recent entry that day, amount_ml targets an exact-amount entry, all=true clears the day. It even supplies a corrective workflow (delete_water 2500, then log_water 250) that routes to the sibling tool, and mandates user confirmation for the destructive whole-day case.

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