Skip to main content
Glama
Trainzilla

Trainzilla MCP

Official
by Trainzilla

create_workout_plan

Create a structured workout plan for a client by specifying exercises with sets, reps, and optional sections like warmup or cardio. Preview the plan before finalizing with confirmation.

Instructions

Create a workout plan for a client (confirm-gated). exercises: array of { name, sets, reps, restSeconds?, section? }. section must be one of WARMUP | RESISTANCE | STRETCHING | CARDIO | COOL_DOWN (defaults to RESISTANCE so the app renders them under 'Main Workout'). days: optional [MONDAY..SUNDAY].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
clientIdYes
titleYes
descriptionNo
startDateYesYYYY-MM-DD
endDateNo
exercisesYes
daysNo
confirmNoMust be true to actually execute. If false/omitted, returns a preview only.
Behavior4/5

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

No annotations provided, so description carries full burden. It discloses the confirm-gated preview/execute behavior, default section for exercises, and valid enum values. Could add whether it overwrites existing plans, but overall transparent.

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

Conciseness3/5

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

Description is a single sentence with inline details, front-loading the confirm-gate. Could be more structured (e.g., separate lines for key behaviors), but not overly verbose.

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 8 parameters and no output schema, description covers confirm behavior, exercise structure, section, and days. Missing some details (e.g., endDate behavior), but adequate for a creation tool.

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 low (25%). Description adds significant meaning: structure of exercises array, section enum with defaults, and optional days. It compensates well for the sparse schema.

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 'Create a workout plan for a client (confirm-gated)', which is a specific verb and resource. It distinguishes from siblings like create_diet_plan by focusing on workout plans.

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 explains the confirm-gated behavior ('Must be true to actually execute. If false/omitted, returns a preview only.'). However, it does not explicitly state when to use this tool versus alternatives like create_diet_plan or create_habit.

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/Trainzilla/tzilla-mcp'

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