Skip to main content
Glama

cancel_rest_day

DestructiveIdempotent

Remove a previously declared Rest Day, Sick Day, or Travel Day status.

INFER, do not ask: date from the user's reference.

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": "cancel_rest_day"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoDate to un-mark, YYYY-MM-DD; default today.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / date / description
      Previous value: -"The date to un-mark. Format: YYYY-MM-DD. Default: today."New value: +"Date to un-mark, YYYY-MM-DD; default today."
  2. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true and readOnlyHint=false, so the safety profile is covered. The description adds only the operating rule about inferring the date rather than asking; it says nothing about what data is lost, whether the underlying day data survives, or what confirmation the caller gets.

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?

Two short sentences with the action stated first and the date-handling rule second; no filler. The capitalized imperative 'INFER, do not ask' is slightly stylistically jarring but conveys the instruction efficiently.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-optional-parameter mutation with a full annotation set and an output schema, the definition covers the essentials: what is removed and how the date is chosen. The remaining gap — behaviour when no status exists on that date — is largely addressed by idempotentHint.

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 schema itself documents the format and today-default. The description contributes a small extra: the date should be inferred from the user's reference rather than requested. That is a real addition but minor given the schema already carries the semantics.

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?

Names a specific verb ('Remove') and a specific resource ('Rest Day, Sick Day, or Travel Day status'), and the phrase 'previously declared' frames it as the inverse of log_rest_day. It stops short of explicitly naming that sibling, so the differentiation is implied rather than stated.

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 only guidance is 'INFER, do not ask: date from the user's reference', which is an inference directive rather than when-to-use guidance. Nothing says when to prefer this over log_rest_day or how to handle a date with no existing status.

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.