Skip to main content
Glama

mark_empty_day

DestructiveIdempotent

Set, change, or undo the answer to "why is this day empty?" for a date with no real meals logged. use: the user wants to flip a fast day to forgotten (or back), or undo either one, in chat instead of the in-app prompt.

STATES: exactly three per date; this tool is the only way to move between them; setting one answer clears the other.

  • fast: an intentional 0-calorie day; writes the 0-kcal "Fast day" food_log entry, a real counted day.

  • forgot: day reviewed, simply not logged. writes nothing to food_log: the day stays a true blank, excluded from calorie/TDEE averages, never imputed as 0.

  • unanswered: clears both; the day is an open question again and the in-app prompt may re-ask.

refuses: a day with actual meals on it (other than an existing fast marker); call list_meals first if unsure.

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

Input Schema

NameRequiredDescriptionDefault
dateYesThe date being answered for, YYYY-MM-DD.
answerYesSee STATES.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / answer / description
      Previous value: -"Required. \"fast\" = intentional 0-calorie day. \"forgot\" = day stays excluded, not imputed as 0. \"unanswered\" = clear any prior answer."New value: +"See STATES."
    • changedInput schema / properties / date / description
      Previous value: -"The date being answered for. Format: YYYY-MM-DD. Required."New value: +"The date being answered for, YYYY-MM-DD."
  2. Added

TDQS

A4.9/5.0
Behavior5/5

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

Annotations already declare destructiveHint=true and idempotentHint=true, yet the description adds substantive behavior beyond them: setting one answer clears the other, 'fast' writes a real 0-kcal food_log entry, 'forgot' writes nothing and stays excluded from calorie/TDEE averages, and days with meals are refused. These side effects and data consequences are exactly what an agent needs before invoking a destructive mutation.

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 core action, then organized into labeled blocks (STATES, refuses) that scan cleanly. Every sentence adds information; no filler or restatement of the tool name.

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?

An output schema exists, so return values need not be explained, and annotations cover safety hints. Combined with the per-state write behavior, averaging impact, and refusal rule, nothing an agent needs in order to invoke this correctly is missing.

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%, but the schema's enum description merely says 'See STATES', so the description carries the real semantic load for the answer parameter and does so thoroughly per state. The date parameter is left entirely to the schema's YYYY-MM-DD note, which is a minor gap only.

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?

The opening sentence gives a specific verb set ("Set, change, or undo") and a precise resource (the "why is this day empty?" answer for a date with no meals), and names the constrained scope ('no real meals logged'). The STATES block makes the tool's three-way outcome explicit, so it is clearly distinguished from sibling tools like list_meals or delete_meal.

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?

Explicit when-to-use is given ('the user wants to flip a fast day to forgotten (or back), or undo either one, in chat instead of the in-app prompt'), and an explicit refusal condition ('a day with actual meals on it') with a pre-check alternative ('call list_meals first if unsure'). Both the trigger and the exclusion, plus the fallback tool, are 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.