Skip to main content
Glama

log_rest_day

Idempotent

Mark a date with user-selected day context: Rest Day, Sick Day, or Travel Day. rest = the user intentionally takes the day off training; sick = they say they are sick/recovering; travel = they say they are traveling. The context is visible to the AI team and workout-history reads. Rest/Sick keep the existing rest-day training behavior. Travel is context-only: it does not mean the user skipped training and can coexist with a workout.

INFER, do not ask: date from the user's reference; day_type from their wording. A repeat call on the same date updates the status in place. Remove it with cancel_rest_day.

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

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD; default today.
day_typeNoDefault rest.

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 / date / description
      Previous value: -"The date to mark. Format: YYYY-MM-DD. Default: today."New value: +"YYYY-MM-DD; default today."
    • changedInput schema / properties / day_type / description
      Previous value: -"User-selected day context. Default: rest."New value: +"Default rest."
  2. Changed2 schema fields changed
    • changedInput schema / properties / date / description
      Previous value: -"The date to mark as a rest day. Format: YYYY-MM-DD. Default: today."New value: +"The date to mark. Format: YYYY-MM-DD. Default: today."
    • addedInput schema / properties / day_type
      Added value: +{
      +  "description": "User-selected day context. Default: rest.",
      +  "enum": [
      +    "rest",
      +    "sick",
      +    "travel"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Annotations already declare non-read-only, idempotent, non-destructive, but the description adds real behavior: the context is visible to the AI team and workout-history reads, rest/sick preserve existing rest-day training behavior, and travel is context-only and can coexist with a workout. The only soft spot is the vague reference to 'the existing rest-day training behavior,' which the agent cannot verify from the definition alone.

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-loads the action and the three contexts, then moves to behavior, then to inference rules and the sibling pointer — a sensible order with little waste. Slightly dense, and the 'existing rest-day training behavior' clause is the one sentence that does not fully earn its place because it is unverifiable.

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 two-parameter, zero-required logging tool with an output schema, the description covers action, enum semantics, idempotent update behavior, visibility of the data, and the removal path. Nothing an agent needs 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and both parameters already carry descriptions and an enum, so the baseline is 3; the description earns above that by explaining what each enum value means behaviorally (rest = intentional day off, sick = self-reported illness/recovery, travel = context-only, not a skipped session). It does not restate the YYYY-MM-DD format, which the schema already covers.

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 ('Mark a date with user-selected day context') and enumerates the three possible contexts, so the agent knows exactly what the tool writes. It also implicitly separates itself from cancel_rest_day and list_rest_days by naming the removal path.

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 operating instructions: 'INFER, do not ask' with the source for each field (date from the user's reference, day_type from their wording), plus the update-in-place rule for repeat calls and the pointer to cancel_rest_day for removal. When-to-use and the alternative are both 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.