Skip to main content
Glama

Plan workouts

plan_workout

Add one or more planned sessions to the calendar (strength, runs with distance/pace/heart rate/type, cardio, mobility, rest). Check get_week_plan first to avoid double-booking. Planned runs are sent to the user's Garmin or COROS calendar on their own (the result says what was sent). Lifting days: pass exercises (sets, reps, weight_kg) and/or a template; each day gets its own copy, so editing one day never changes another. Omit weight_kg to use Heza's suggestion from the user's history; the result lists every exercise with its prescription and why, so confirm it with the user and adjust with update_planned_workout.

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": {
      "items": "<items>"
    },
    "name": "plan_workout"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsYes
suggest_weightsNoFill omitted weights from the user's history (default true)
create_missing_exercisesNoCreate custom exercises for names with no match (default false)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing an external side effect (planned runs are pushed to the user's Garmin or COROS calendar), what the result reports back, day-copy isolation semantics, and the weight-inference behavior when weight_kg is omitted. The annotation set (non-idempotent, open-world, non-destructive) is consistent with and enriched by this text.

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-loads purpose, then prerequisites, then side effects, then lifting-specific semantics — a good ordering with no filler sentences. However, several sentences are dense run-ons packing multiple clauses, which costs a bit of scannability.

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?

With no output schema, the description usefully characterizes the return ('the result says what was sent', 'the result lists every exercise with its prescription and why'). It stops short of covering failure modes or the per-item limit, but an agent has enough to invoke it correctly.

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?

At 67% schema coverage the description adds real meaning: it explains that exercises take sets/reps/weight_kg and/or a template, that exercises replace the template's list, and what omitting weight_kg does (Heza's suggestion from history). It does not mention create_missing_exercises or the 21-item cap, so a small amount of parameter behavior is left to the schema.

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

Purpose5/5

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

Opens with a specific verb and resource ('Add one or more planned sessions to the calendar') and enumerates the supported session kinds (strength, runs with distance/pace/HR/type, cardio, mobility, rest). An agent can distinguish this from siblings like create_workout_template, update_planned_workout, or log_workout without opening the schema.

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

Usage Guidelines5/5

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

Gives an explicit precondition ('Check get_week_plan first to avoid double-booking') and names the concrete follow-up path ('confirm it with the user and adjust with update_planned_workout'). It also states the editing model — each day gets its own copy — which implicitly routes per-day edits to update_planned_workout rather than re-planning.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources