Skip to main content
Glama
Loopback Training Server

Loopback Training Server

add_strength_session

Schedule a strength session on a specific date in a training plan without changing other scheduled sessions, and add extra sessions alongside an existing weekly pattern or as the first session.

Instructions

Put one strength session on one date, leaving the rest of the plan's schedule as it is.

This is how to schedule strength for an athlete without fixed gym days: look at the week's runs with get_training_calendar, then add each session on the day it fits. It also adds an extra session next to a weekly pattern. A plan needs no weekly pattern at all; the first session added starts its schedule.

Like every strength session it is a plan marker, not a watch workout, and it counts as done when a Hevy workout syncs in on that date. Adding the same title on the same date again replaces it.

Args: plan_id: UUID of the strength plan (create_plan with activity_type "strength"). date: The day of the session (YYYY-MM-DD). title: What the session is, e.g. "Lower body + core". routine_id: Optional Hevy routine id (from the hevy-mcp).

Returns: The resolved schedule: dated sessions (recurring is false for individual ones, each with a conflict flag) and warnings for run collisions.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "plan_id": "<plan_id>",
      "date": "<date>",
      "title": "<title>"
    },
    "name": "add_strength_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
titleYes
plan_idYes
routine_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does so well: it discloses that sessions are plan markers not watch workouts, that completion is inferred from a Hevy sync on that date, and that re-adding the same title on the same date replaces the prior one (upsert semantics). It also notes the first session starts a plan's schedule when no weekly pattern exists, which is non-obvious mutation behavior.

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 prose is front-loaded with the core action and the Args/Returns blocks make lookup fast. A couple of sentences (the extra-session-next-to-a-weekly-pattern note, the marker explanation) overlap slightly with surrounding content, but nothing is wasted enough to obscure the definition.

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

Completeness5/5

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

There is no output schema, yet the Returns section explains the shape of the response — dated `sessions` with a `recurring` flag and per-session `conflict` flags, plus `warnings` for run collisions. Combined with the parameter documentation and mutation semantics, an agent has everything needed to call and interpret this tool.

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

Parameters5/5

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

Schema coverage is 0%, so the description must compensate, and it documents all four parameters: plan_id as a UUID from create_plan with activity_type "strength", date format YYYY-MM-DD, a title example, and routine_id as an optional Hevy routine id sourced from hevy-mcp. This adds meaning well beyond the bare string types in the 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 opening sentence gives a specific verb and resource ("Put one strength session on one date") plus the key scoping guarantee ("leaving the rest of the plan's schedule as it is"). It further distinguishes itself from schedule-setting siblings by noting it works alongside a weekly pattern or with no pattern at all, so an agent can separate it from set_strength_schedule and move/remove_strength_session.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It supplies a concrete workflow ("look at the week's runs with `get_training_calendar`, then add each session on the day it fits") and a clear use case (athletes without fixed gym days), naming a sibling tool for the prerequisite step. It implies rather than names the alternative of setting a weekly pattern via set_strength_schedule, so the when-not guidance is present but not fully explicit.

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