Skip to main content
Glama

push_workout_to_device

Send a Garmin Connect workout to your device by workout ID; if IDs are missing, it resolves your last-used device and newest workout automatically.

Instructions

multi-call: resolves a missing deviceId via /device-service/deviceservice/mylastused's userDeviceId, a missing workoutId via getWorkouts(0,1)'s first result (throws if none), then reads getWorkoutById(workoutId).workoutName for the push message on the final POST

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
deviceIdNoNumeric id
workoutIdNoNumeric id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior4/5

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

Annotations only say readOnlyHint=false, destructiveHint=false, openWorldHint=true; the description goes further by disclosing that this is a multi-call orchestration, that missing parameters are silently resolved, that a final POST occurs, and that it throws when no workout exists. It still omits permissions/authentication needs and whether the push overwrites anything already on the device.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single dense sentence that front-loads implementation mechanics instead of the outcome, and includes raw endpoint paths and argument tuples ('/device-service/deviceservice/mylastused', 'getWorkouts(0,1)') that are noise compared to the sibling tool names. The content is relevant but not efficiently organized.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a zero-required-parameter mutation with no output schema, the description covers parameter resolution and one failure mode but says nothing about what success looks like, required permissions, or side effects on the target device. Adequate but leaves real gaps for a state-changing operation.

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% but both schema descriptions are merely 'Numeric id'. The description adds substantial meaning: deviceId falls back to the last-used device's userDeviceId, workoutId falls back to the first result of getWorkouts(0,1), and the operation errors if no workout is found. That resolution/optionality semantics is not derivable from the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description never states the end goal in plain terms ('push a workout to a user's device'); it opens with 'multi-call' and then lists internal resolution steps. The final clause about the 'push message on the final POST' implies a write effect, but the agent has to reconstruct the purpose from the name plus implementation detail.

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

Usage Guidelines2/5

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

There is no statement of when to use this tool versus alternatives such as schedule_workout, preview_workout, or download_workout, nor any prerequisites (e.g., an existing workout or paired device). The only implied guidance is that both parameters are optional because they get auto-resolved.

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

Deploy Server

Other Tools