Skip to main content
Glama

log_recovery_session

Log a completed or skipped recovery/mindfulness session. use: the user did (or skipped) a breathing exercise, meditation, cold plunge, sauna, stretching, or any recovery practice; also one-off standalone sessions not linked to a recurring strategy.

INFER, do not ask:

  • category: from the practice name

  • strategy_name: the linked strategy's name, else the user's description

  • duration_minutes: when mentioned (omit for skipped sessions)

  • quality: only when the user rates it (1-5)

  • skipped: true when the user says they skipped, missed, or didn't do a session

PREFERRED WORKFLOW: call list_recovery_strategies first to link the session to an active strategy for adherence tracking; no matching strategy -> log as standalone.

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": {
      "category": "<category>",
      "strategy_name": "<strategy_name>"
    },
    "name": "log_recovery_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD; default today.
notesNoSession notes or reason for skipping.
qualityNoSubjective quality 1-5.
skippedNotrue = skipped/missed; default false.
categoryYesPractice category.
strategy_idNoStrategy ID from list_recovery_strategies; omit for a standalone session.
strategy_nameYesName of the practice.
duration_minutesNoMinutes; omit for a skipped session.

Output Schema

NameRequiredDescriptionDefault
resultYesHuman-readable result text returned by the tool.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed8 schema fields changed
    • changedInput schema / properties / category / description
      Previous value: -"Category. Required."New value: +"Practice category."
    • changedInput schema / properties / date / description
      Previous value: -"Date (YYYY-MM-DD). Default to today."New value: +"YYYY-MM-DD; default today."
    • changedInput schema / properties / duration_minutes / description
      Previous value: -"Duration in minutes. Optional — omit for skipped."New value: +"Minutes; omit for a skipped session."
    • changedInput schema / properties / notes / description
      Previous value: -"Session notes or reason for skipping. Optional."New value: +"Session notes or reason for skipping."
    • changedInput schema / properties / quality / description
      Previous value: -"Subjective quality 1-5. Optional."New value: +"Subjective quality 1-5."
    • changedInput schema / properties / skipped / description
      Previous value: -"true if the session was skipped/missed. Default: false."New value: +"true = skipped/missed; default false."
    • changedInput schema / properties / strategy_id / description
      Previous value: -"Strategy ID from list_recovery_strategies. Optional — omit for standalone sessions."New value: +"Strategy ID from list_recovery_strategies; omit for a standalone session."
    • changedInput schema / properties / strategy_name / description
      Previous value: -"Name of the practice. Required."New value: +"Name of the practice."
  2. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=false, so the mutation profile is known; the description adds real context on how to populate the record (infer category from practice name, omit duration_minutes for skipped sessions, default date to today). It does not address the non-idempotent behavior — whether a repeat call creates a duplicate entry or what happens on a second log for the same day — which is the one behavioral gap an agent would want covered.

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?

Well front-loaded: purpose sentence first, trigger conditions second, inference rules and preferred workflow after. The bulleted inference block is dense and scannable, with no filler. Minor cost is the slightly cluttered multi-clause first sentence and a garbled lowercase 'use:' marker.

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?

With eight parameters, full schema coverage, an output schema and annotations in place, the description supplies what structured fields cannot: the standalone-vs-strategy branch, the required first call to list_recovery_strategies, and value-derivation rules for skipped and duration fields. An agent has enough to call this correctly without guessing.

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 would be 3, but the 'INFER, do not ask' block adds derivation rules beyond the schema: category from the practice name, strategy_name from the linked strategy else the user's description, quality only when rated, skipped=true on 'missed/didn't do.' That is genuine meaning on top of the field descriptions.

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 first sentence gives a specific verb plus resource and scope: 'Log a completed or skipped recovery/mindfulness session.' The follow-on clause enumerates the practices covered (breathing, meditation, cold plunge, sauna, stretching) and explicitly includes 'one-off standalone sessions not linked to a recurring strategy,' which separates it from the strategy-management and listing siblings.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

'use: the user did (or skipped) a breathing exercise...' gives concrete trigger conditions, and 'PREFERRED WORKFLOW: call list_recovery_strategies first... no matching strategy -> log as standalone' names the prerequisite tool and the fallback path. It stops short of stating when NOT to use this tool, e.g. that correcting or removing an existing entry belongs to update_recovery_session/delete_recovery_session.

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.