Skip to main content
Glama

Remove a weigh-in

delete_weight
DestructiveIdempotent

Remove the weigh-in the user (or you) logged on a date, e.g. one saved on the wrong day or with a typo that can't be fixed by logging again. A wrong number on the right day needs no delete: log_weight again replaces it. Weigh-ins that came from a watch or scale sync are not touched. Confirm with the user first.

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>"
    },
    "name": "delete_weight"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYesLocal date YYYY-MM-DD (or 'today'/'yesterday') of the weigh-in to remove

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and openWorldHint=false, but the description adds real behavior beyond them: entries originating from a watch or scale sync are unaffected, and a user confirmation step is expected. It does not state what happens if no weigh-in exists on that date (error vs. silent no-op), which is the one behavioral detail left open.

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?

Front-loaded with the action and scope, then the alternative, then the exclusion, then the safety instruction. Every sentence carries distinct information; nothing is redundant padding.

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 one-parameter, non-read-only delete with no output schema and rich annotations, the description covers purpose, alternatives, exclusions, and confirmation. Nothing an agent needs in order to call it correctly is missing.

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% and the single 'date' parameter is fully described there, including the YYYY-MM-DD and 'today'/'yesterday' forms. The description only gestures at date meaning through examples ('saved on the wrong day'), adding little beyond the schema, so baseline 3 applies.

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 ('Remove the weigh-in') plus the scoping key ('logged on a date'), and explicitly separates itself from log_weight by noting that re-logging replaces a wrong number. An agent can distinguish this from the sibling log_weight without inspecting 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 cases (entry on the wrong day, an unfixable typo), an explicit when-not-to case with the named alternative ('A wrong number on the right day needs no delete: log_weight again replaces it'), and an exclusion (synced weigh-ins are not touched). The requirement to confirm with the user before deleting is also stated.

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