Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_device_workouts

Lists workouts currently scheduled on the user's Apple Watch, helping you find workout IDs to edit or delete planned sessions.

Instructions

Get the inventory of workouts currently scheduled on the user's Apple Watch.

This is synced from the iOS app each time the user taps "Check for New Workouts". Use this to discover workout UUIDs when the user asks to edit or delete a workout.

Returns: List of on-device workouts, each with: id, display_name, year, month, day, hour, minute, complete (whether the workout has been done), synced_at.

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_device_workouts"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4/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 well: it discloses that the inventory is a synced snapshot refreshed only when the user taps 'Check for New Workouts', warning the agent the list may be stale. It also enumerates the returned fields, including 'complete' and 'synced_at'. It omits failure modes (e.g., no paired watch) and any permission requirements.

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 core purpose and the sync caveat are front-loaded in the first two sentences, and the trigger for use follows immediately. The 'Returns' enumeration is justified because no output schema exists, though the block is slightly padded with formatting.

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 zero-parameter read tool with no output schema and no annotations, the description covers what it returns and how the data arrives. It stops short of stating that the call is read-only and non-destructive, or what happens when no watch is synced.

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?

The tool takes zero parameters, so the baseline of 4 applies; there is nothing the description needs to clarify beyond the schema.

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 description states a specific verb and resource ('Get the inventory of workouts') and narrows the scope to what is physically on the Apple Watch, which functionally separates it from plan-, pending-, and missed-workout siblings. It does not name an alternative outright, so the differentiation is implied by scope rather than explicit.

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?

It gives a concrete trigger: 'Use this to discover workout UUIDs when the user asks to edit or delete a workout.' That is a clear context for selection, but it offers no exclusion ('do not use when...') and no guidance against the similarly named get_plan_workouts or get_pending_workouts.

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