Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_workout_feedback

Retrieve missed or changed workout check-ins to spot patterns in skipped, moved, or adjusted runs and support coaching decisions. Filter by action to review plan changes.

Instructions

Retrieve the athlete's check-ins on runs they missed or changed ahead of time.

Use this to understand patterns in missed workouts and inform coaching decisions. Query action="adjust" to find workouts the user flagged for plan adjustment.

An entry acknowledged on or before its scheduled day (acknowledgedAt's date not after scheduledDate's) was filed ahead of time: the athlete moved or skipped the run before it lapsed. That is a plan change, not a miss. A missed-run check-in is always filed on a later day. A skip with reason "other" and a note like "Made room for " was cleared off the day another run moved onto.

Args: since: Only return entries with scheduledDate on or after this date (ISO 8601, e.g. "2026-03-01"). limit: Max entries to return (default 20). action: Filter by action type: "move", "adjust", or "skip".

Returns: List of feedback entries, each with: id, workoutId, workoutName, scheduledDate, detectedAt, acknowledgedAt, reason, reasonNote, action, newDate, dismissed.

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

Input Schema

NameRequiredDescriptionDefault
limitNo
sinceNo
actionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.3/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it explains that an entry acknowledged on or before its scheduled day is a plan change rather than a miss, and that a skip with reason "other" plus a 'Made room for <run>' note was cleared for another run. That is genuine interpretive context an agent could not derive from the schema. It does not state access requirements or confirm read-only behavior, which keeps it at 4 rather than 5.

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?

The purpose is front-loaded and the Args/Returns blocks are easy to scan. The middle paragraph on acknowledgedAt versus scheduledDate is dense but each clause defines data semantics an agent needs in order to interpret results correctly. Slightly verbose, but no sentence is filler.

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?

There is no output schema, so the Returns section listing id, workoutId, workoutName, scheduledDate, detectedAt, acknowledgedAt, reason, reasonNote, action, newDate, and dismissed fills a real gap. Combined with full parameter documentation and the timing rule, an agent has everything needed to call and interpret this tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

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

Schema description coverage is 0%, so the description must compensate entirely, and it does: since is defined as an inclusive ISO 8601 scheduledDate bound with a concrete example, limit is given with its default of 20, and action enumerates "move", "adjust", and "skip". Every parameter is given meaning beyond the bare JSON types.

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?

The opening sentence names a specific verb and resource: 'Retrieve the athlete's check-ins on runs they missed or changed ahead of time.' It even draws a conceptual line between a plan change and a miss, which helps separate this data from missed-workout reporting. It stops short of naming the closely related sibling get_missed_workouts or get_pending_actions, so routing still requires the agent to guess how those differ.

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 this to understand patterns in missed workouts and inform coaching decisions' gives clear situational context, and the tool goes further by advising action="adjust" for workouts flagged for plan adjustment. There is no explicit when-not-to-use clause and no named alternative for the adjacent cases, so it lands just under the top band.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.