Skip to main content
Glama

create_plan

Create a whole training block at once: each session built as a structured workout and scheduled on its date in the user's Garmin calendar. Every session is checked before anything is created, so a mistake leaves no half plan. Each workout's name ends with the plan code after a middle dot, "Threshold 5x1k · HM"; nothing is stored outside Garmin. The result is the new block drawn as an interactive plan card.

Args: goal: What the block is for, e.g. "Half marathon, 1:40, 15 November". sessions: One per session, any order, at most 150: "date" (YYYY-MM-DD, today to 30 weeks out), "name" (short, as on the watch: "Long run 18k"), "steps" (as for a single workout), and optional "sport" (running by default; "cycling", "swimming" or "strength" too, for a triathlon block or a runner's gym days), "description", "pool_length_meters" (25 by default) and "phase" (one short word such as "Base", "Build", "Peak" or "Taper", the taper included; the card bands the weeks by it). A strength session has "exercises" (as for a strength workout) instead of "steps". Days without a session are rest days. label: 2 or 3 letters or digits for the plan code, e.g. "HM", "10K", "MAR". From the goal when omitted. name: A short name for the block, shown as the card's title, e.g. "Marathon build". method: The methodology in a few words, shown under the name, e.g. "80/20". milestones: Up to 4 points on the way to the goal, drawn as a timeline: {"label": "Half check", "date": "2026-11-29", "target": "1:22"}, date and target optional. existing: If told runs are already on those days, ask the user: "replace" unschedules them, "keep" leaves both.

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": {
      "goal": "<goal>",
      "sessions": "<sessions>"
    },
    "name": "create_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
goalYes
nameNo
labelNo
methodNo
existingNo
sessionsYes
milestonesNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / existing
      Added value: +{
      +  "default": "",
      +  "type": "string"
      +}
  2. First observed

TDQS

A4.5/5.0
Behavior4/5

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

The annotations cover the safety profile (readOnlyHint=false, destructiveHint=false, openWorldHint=false), and the description adds real context beyond them: all sessions are validated before anything is created so no half plan exists, naming follows "<name> · <code>", nothing is stored outside Garmin, and the result renders as an interactive plan card. The only soft spot is that the "replace" option unschedules existing runs without noting that effect is limited to the conflicting days.

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?

It is long, but front-loaded with the core behavior and then organized as a per-argument reference, which suits a seven-parameter composite tool. A few phrases (the middle-dot naming convention, the plan card) are informative rather than filler. Slightly dense but nothing is redundant with structured fields.

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

Completeness5/5

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

For a complex mutation with seven params, zero schema coverage, opaque nested session objects, and an output schema that already covers returns, the description supplies everything an agent needs: atomicity guarantee, calendar side effects, nested session contract, limits, and the conflict-resolution choice. Nothing material is missing.

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 description coverage is 0% and the sessions items are opaque objects, so the description is the only source of parameter meaning — and it delivers: goal with an example, sessions with every nested field, the 150-session cap, the date window (today to 30 weeks out), default sport and pool length, phase banding, strength sessions using exercises instead of steps, and the label/milestone/ existing semantics. This is far beyond what the input schema provides.

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?

States a specific verb and resource within a precise scope: "Create a whole training block at once," with each session built as a structured workout and scheduled in the Garmin calendar. It distinguishes itself from single-session siblings by contrast ("each session built as a structured workout", "as for a single workout"), so an agent can pick it over create_workout without opening either schema.

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?

Usage context is clear: this is for an entire block, with rest days implied for any date without a session, and it references the single-workout and strength-workout shapes as building blocks. It also handles the conflict case explicitly, telling the agent to ask the user and offering "replace" vs "keep" semantics. It stops short of naming the sibling to use instead for a lone session, so it falls just shy of a 5.

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