Skip to main content
Glama

Set the training plan (local file, pushes nothing)

set_plan
DestructiveIdempotent

Stores the training plan as LOCAL state: a goal, optional start/end dates, phases and planned sessions per date, in ~/.suunto-mcp/plan.json (SUUNTO_PLAN_PATH overrides it).

Instructions

Stores the training plan as LOCAL state: a goal, optional start/end dates, phases and planned sessions per date, in ~/.suunto-mcp/plan.json (SUUNTO_PLAN_PATH overrides it). Writes only that file, never contacts Suunto, needs no Suunto credentials and NEVER pushes anything to the watch: to put a planned session on the watch, take its guide from get_plan and send it with push_strength_guide / push_week_plan. mode 'replace' (default) is DESTRUCTIVE to the stored plan: the call IS the whole plan (goal required; start, end, phases and sessions left out become empty) and overwrites the stored one, so clients may ask for permission; the result's previous is the complete plan it replaced (null when there was none), so nothing is lost and setting previous again undoes it. mode 'merge': goal, start, end and phases replace the stored ones when given, sessions are merged by date (a given date replaces that day's session, other dates stay; replacedDates lists them); a merge needs at least one field, and a first merge needs a goal. Start and end cannot be cleared in a merge (use replace). A session is { date, title, guide? } where guide is an optional push_strength_guide spec whose date must equal the session's. Strict: unknown fields, bad dates, from after to, sessions or phases outside start..end (when both are given), duplicate dates, and more than 20 phases / 200 sessions / 500 characters of text (100 for names and titles) / 8000 characters of guide JSON are refused with an error and nothing is written. A damaged or other-version plan file is refused, never overwritten. Result: { saved, mode, plan: { goal, start, end, phases, sessions } (counts), replacedDates, previous, note }. In demo mode the plan is kept in memory only.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "set_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoLast day of the plan, YYYY-MM-DD.
goalNoThe goal of the plan in the user's words, e.g. 'Sub-50 10k in January'. Required unless mode is 'merge' on an existing plan.
modeNo'replace' (default): the call is the whole plan. 'merge': update the stored plan; sessions are merged by date.replace
startNoFirst day of the plan, YYYY-MM-DD.
phasesNoTraining phases. In merge mode a given list replaces the stored one.
sessionsNoPlanned sessions, at most one per date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.0.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations flag a destructive, non-read-only, idempotent write; the description goes well beyond them by naming exactly what is destroyed (the whole stored plan in replace mode), that the returned `previous` makes the change reversible, that nothing is ever pushed to Suunto or the watch, that a damaged or other-version file is refused rather than overwritten, and that demo mode keeps the plan in memory only.

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?

The most decision-critical fact (local only, never pushes) is front-loaded in the first clause, and the replace/merge explanation follows logically. It is a very dense single block of prose, though, and some detail such as the numeric caps is already carried by the schema.

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 six-parameter mutation tool with no output schema, the description covers the result shape ({ saved, mode, plan counts, replacedDates, previous, note }), the failure modes, and the demo-mode caveat, leaving nothing an agent needs in order to call 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?

Schema coverage is already 100%, so the baseline would be 3; the description still adds meaning the schema lacks, notably the full replace/merge semantics per field, the rule that a session's guide `date` must equal the session date, and the exhaustive validation limits that cause refusal with nothing written.

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 plus its scope: stores the training plan as LOCAL state in ~/.suunto-mcp/plan.json (SUUNTO_PLAN_PATH override), and explicitly contrasts that with pushing to the watch. An agent can distinguish it from push_strength_guide, push_week_plan and get_plan without opening any 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 explicit routing: to actually put a planned session on the watch, take its `guide` from get_plan and send it with push_strength_guide / push_week_plan. It also spells out when to choose mode 'replace' versus 'merge', including that a first merge needs a goal and that start/end cannot be cleared in a merge.

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