Skip to main content
Glama

Generate a cycling training plan

generate_training_plan
Read-only

Generate a 2-4 week cycling training plan using the Etapa API (getetapa.com). The plan is tailored to the rider's goal, fitness level, and available days. It is a short sample plan and is not saved anywhere.

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": "generate_training_plan"
  }
}

Input Schema

NameRequiredDescriptionDefault
notesNoAny extra context — injuries, preferences, schedule constraints.
weeksNoLength of the sample plan in weeks. Capped at 4 — use the Etapa app for longer plans.
goalTypeNoWhat the rider wants to achieve. Examples: "complete a 50km sportive", "get fitter on two wheels", "ride to work twice a week", "first 100 miles". Free text.
daysPerWeekNoDays per week the rider can train. Defaults to 3.
fitnessLevelNoRider fitness level. Defaults to beginner.
indoorTrainerNoWhether the rider has an indoor trainer.
targetDistanceKmNoTarget distance in km if the goal is distance-based (e.g. an event).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds two genuinely useful facts beyond that: the result is a short sample and is not persisted, which tells the agent not to expect durable state. It stops short of noting call cost, latency, or that repeated calls may return different plans (consistent with idempotentHint=false).

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?

Three compact sentences with the core action front-loaded and the ephemerality caveat placed early. The parenthetical domain reference is slightly incidental but not wasteful; nothing is repeated.

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?

For a zero-required-parameter, read-only generator with no output schema, the definition covers what the tool does, the hard limits, and the fact that output is not saved. The main remaining gap is the shape of the returned plan, which the agent cannot infer since no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so every parameter is already documented, making 3 the baseline. The description restates three of the seven inputs (goal, fitness level, available days) without adding format or precedence guidance, and says nothing about notes, indoorTrainer, or targetDistanceKm beyond what the schema provides.

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 names a specific verb and resource — "Generate a 2-4 week cycling training plan" — and adds the producing backend (Etapa API). It does not explicitly contrast with the closest sibling, review_cycling_plan, but the generating-versus-reviewing distinction is implicit in the verb.

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 rather than stated: the 2-4 week cap and "not saved anywhere" signal this is a throwaway sample, and the schema notes point to the Etapa app for longer plans. There is no explicit routing guidance to review_cycling_plan or ask_cycling_coach, which are the plausible adjacent tools.

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.