Skip to main content
Glama
Loopback Training Server

Loopback Training Server

delete_scheduled_workout

Delete a synced workout from Apple Watch by queuing a pending deletion that the iPhone app applies on its next sync.

Instructions

Delete a workout that has already been synced to the user's Apple Watch.

Creates a pending delete action. The next time the iPhone app syncs, it will remove this workout from WorkoutKit on the Apple Watch.

Args: workout_id: UUID of the workout to delete. This is the id from the original queue item that was synced to the watch.

Returns: The created action object.

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": {
      "workout_id": "<workout_id>"
    },
    "name": "delete_scheduled_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
workout_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A3.8/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 deletion is deferred, not immediate — a pending action materialized only on the next iPhone app sync — which is exactly the non-obvious behavior an agent must know. It stops short of stating reversibility, whether the action can be cancelled, or what happens if the workout is no longer on the watch.

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-loaded with the core action and its deferral semantics, then structured Args/Returns. Every sentence carries information; the only mild redundancy is restating 'synced to the watch' in both the opening line and the Args block.

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 one-parameter mutation with no output schema and no annotations, the definition covers purpose, deferred-execution behavior, the identifier's provenance, and the return value. Missing only failure modes and whether the pending action is undoable.

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 0% (a bare string), so the description must compensate, and it does: it identifies the value as a UUID and specifies it is the id from the original queue item that was synced to the watch, which disambiguates it from other workout identifiers in this ecosystem.

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?

States a specific verb and resource plus a scope qualifier: 'Delete a workout that has already been synced to the user's Apple Watch.' The scope qualifier implicitly separates it from the plain delete_workout sibling, but no sibling is named explicitly.

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

Usage Guidelines3/5

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

The 'already been synced to the Apple Watch' condition gives an implied when-to-use rule that an agent can infer distinguishes this from delete_workout or update_queued_workout. There is no explicit statement of when NOT to use it, nor a named alternative for unsynced workouts.

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