Skip to main content
Glama

Apply training plan

tp_apply_training_plan

Apply a training plan to an athlete's calendar from a specified start date by copying each workout to its relative day, resulting in a complete schedule.

Instructions

Apply a training plan to an athlete's calendar from a start date by copying each plan workout (with structure) to start_date + its relative day. Targets the athlete given via the athlete parameter.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
athleteNoTarget athlete name or ID (coach accounts only). Omit to use your own profile.
plan_idYesPlan id
start_dateYesCalendar date for plan day 1 (YYYY-MM-DD)
Behavior4/5

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

The description discloses the copying behavior and the date-offset calculation, which adds context beyond the annotations' readOnlyHint/idempotentHint. It does not discuss duplication if applied multiple times, but the annotations already signal non-idempotency, so the added value is sufficient.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is two concise sentences with the core action front-loaded. It contains no redundant filler and efficiently delivers the key behavioral information.

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?

Given the tool's complexity, annotations, and full schema coverage, the description is adequate. It explains the core operation and the athlete parameter. It could mention what happens on success (e.g., returning calendar entries), but that is not required given the output schema is absent.

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 descriptions already cover all parameters (100% coverage). The description mentions the athlete parameter and start_date but largely repeats schema info. It adds minimal extra meaning, so baseline 3 is appropriate.

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?

The description clearly states the action ('Apply') and the specific resource ('training plan'), and further explains the mechanism: copying each plan workout to start_date + its relative day. This distinguishes it from sibling tools like tp_get_training_plan or tp_list_training_plans, which are read-only.

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?

The description provides context by explaining the action, but it does not explicitly indicate when to use this tool versus alternatives, nor does it mention exclusions or prerequisites. Usage is implied rather than spelled out.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/JamsusMaximus/TrainingPeaks-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server