Skip to main content
Glama
pluton74mac

garmin-mcp-triathlon

by pluton74mac

create_weekly_plan

Schedule a full week of Garmin Connect workouts from a JSON/YAML plan file, uploading each session and assigning it to its date.

Instructions

Create and schedule a full week of workouts from a plan file.

Parses a JSON/YAML plan file, maps each entry to the appropriate workout builder, uploads all workouts, schedules each on its own date, and returns a summary.

Plan file format (JSON): [ { "date": "2026-07-13", "sport": "cycling", "type": "endurance", "name": "Z2 Endurance 90m", "duration_min": 90, "hr_zone": "Z2" } ]

Every entry needs its own date; an entry without one is uploaded but reported with schedule_error rather than scheduled.

Args: plan_yaml_path: Absolute path to the plan JSON/YAML file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
plan_yaml_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

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 behavioral burden and does well: it discloses the multi-step side effects (uploads AND schedules all workouts), the required per-entry date, and the non-obvious failure mode where a missing date still uploads but reports schedule_error. It lacks any auth/permission or idempotency note, keeping it short of a 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?

Front-loaded with the core action, then structured into behavior, format example, and edge case. The embedded JSON sample consumes space but earns it by pinning down the file format for a 0%-coverage parameter. Slightly long, but no filler sentences.

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?

An output schema exists, so the description needn't detail return values, and it only briefly notes it 'returns a summary.' Combined with thorough format and edge-case documentation, it is complete enough for an agent to call correctly; only the absence of sibling routing and auth details keeps it from 5.

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 coverage is 0% and the lone parameter has no schema description, so the description must compensate — and it does, defining plan_yaml_path as an absolute path to a JSON/YAML file and specifying the exact expected entry structure. This is far more than the bare schema conveys.

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 opens with a specific verb+resource: 'Create and schedule a full week of workouts from a plan file,' and even enumerates the internal steps (parse, map, upload, schedule). The purpose is unmistakable and reads as a high-level orchestrator. It does not, however, explicitly differentiate itself from close siblings like schedule_week or upload_workouts, so it stops short of a 5.

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?

Usage is implied by the plan-file input: an agent can infer this is the bulk/week-batch entry point rather than the single-workout creators. But there is no explicit when-to-use/when-not guidance and no alternative named (e.g. schedule_week or the individual create_*_workout tools), leaving the routing decision to inference.

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