Skip to main content
Glama

Pair workout

tp_pair_workout
Idempotent

Attach data from a completed workout to a planned workout by providing both IDs, merging them into one record. Ideal for post-training analysis.

Instructions

Pair a completed workout with a planned workout. Attaches the completed data to the planned workout, merging them into one.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
athleteNoTarget athlete name or ID (coach accounts only). Omit to use your own profile.
planned_workout_idYesThe ID of the planned workout to pair with.
completed_workout_idYesThe ID of the completed (actual) workout.
Behavior4/5

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

The description adds behavioral context beyond the annotations by explaining the merge semantics ('Attaches the completed data to the planned workout'). It does not contradict the readOnlyHint=false or idempotentHint=true annotations, and the non-destructive nature is consistent with destructiveHint=false. However, it does not clarify whether the completed workout remains after merging.

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 short sentences, front-loaded with the primary action and outcome. Every phrase earns its place, with no redundant or vague wording.

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 relatively simple operation with three parameters, full schema coverage, and relevant annotations, the description is sufficient. It does not explain return values, but no output schema exists, and the core merge behavior is covered. It could mention preconditions or post-merge state, but overall it is complete enough for an agent to invoke correctly.

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?

The schema covers all parameters with descriptions, so the baseline is 3. The description itself adds no additional parameter semantics beyond what is already in the schema, but it does not need to given 100% schema coverage.

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 uses a specific verb 'Pair' with clear resources ('completed workout' and 'planned workout'), and explains the outcome ('merging them into one'). This clearly distinguishes it from sibling tools like tp_unpair_workout and tp_create_workout.

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 implies the use case (when you have a completed and planned workout to merge) but does not explicitly state when to avoid it or mention alternatives like tp_unpair_workout for reversing. No exclusions or comparison with related tools are provided.

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