Skip to main content
Glama

plan_workout

Schedule planned workouts on an athlete's calendar with exercises, sets, reps, load, distance, duration, and debrief notes; batch sessions to build full sessions or multi-day week plans.

Instructions

Schedule PLANNED exercise(s) on the athlete's calendar (prefer passing sessions=[...] + debrief_summary in a single batch call for a full session or multi-day week plan).

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

Input Schema

NameRequiredDescriptionDefault
rpeNo
dateNo
repsNo
setsNo
replaceNo
commentsNo
exerciseNo
sessionsNo
weight_kgNo
distance_kmNo
duration_minNo
exercise_typeNostrength
session_titleNo
debrief_summaryNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed11 schema fields changedv1.4.0
    • addedInput schema / properties / date / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / date / default
      Added value: +null
    • removedInput schema / properties / date / type
      Removed value: -"string"
    • addedInput schema / properties / debrief_summary
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Debrief Summary"
      +}
    • addedInput schema / properties / exercise / anyOf
      Added value: +[
      +  {
      +    "type": "string"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedInput schema / properties / exercise / default
      Added value: +null
    • removedInput schema / properties / exercise / type
      Removed value: -"string"
    • addedInput schema / properties / replace
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "boolean"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Replace"
      +}
    • addedInput schema / properties / session_title
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Session Title"
      +}
    • addedInput schema / properties / sessions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": true,
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Sessions"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "exercise",
      -  "date"
      -]
  2. First observedv1.3.1

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already disclose that this is a mutation, open-world, and non-destructive operation. The description adds scheduling context and batch preference, but it does not explain side effects of replace, duplicate sessions, calendar permissions or target, or what happens to existing planned entries.

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 single sentence is front-loaded with the verb and resource and contains no filler. The parenthetical batch guidance is useful, though the definition is very terse for a 14-parameter tool; that is more a completeness issue than verbosity.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 14-parameter, open-world mutation with 0% schema descriptions, the definition supplies only purpose and one batch usage pattern. It omits semantics for most parameters and behavior around replace or existing sessions; the output schema covers returns, but invocation safety remains under-described.

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

Parameters2/5

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

Schema description coverage is 0% across 14 parameters, and the description only explains sessions and debrief_summary as batch inputs. It leaves rpe, date, reps, sets, replace, comments, exercise, weight_kg, distance_km, duration_min, exercise_type, and session_title undocumented, including the consequential replace flag.

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?

States a specific verb, 'Schedule', and resource, 'PLANNED exercise(s) on the athlete's calendar', and the emphasis on planned scheduling distinguishes it from logging performed work. It does not explicitly name log_workout or another sibling, so the differentiation is implied rather than stated.

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?

Recommends passing sessions=[...] plus debrief_summary in a single batch call for a full session or multi-day week plan, which gives useful invocation guidance. It does not say when to use plan_workout versus log_workout or get_sessions, nor when not to use it.

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