Skip to main content
Glama
liftoff-mcp
by mpvii

routine_create

Create a Liftoff training routine with exercises, sets, reps, and weights; previews changes first and writes only when confirm=true.

Instructions

Create a routine in Liftoff (dry-run unless confirm=true).

exercises is a list like: [{"exercise": "Bench Press", "sets": [{"weight_kg": 80, "reps": 8}, {"weight_kg": 80, "reps": 8}]}, {"exercise": "Dips", "sets": [{"weight_kg": 0, "reps": 10}]}]

Each exercise needs exercise (a name) or exercise_id (from exercises_search). Each set takes weight_kg and reps (or duration_s, distance_km for cardio), an optional type (normal/warmup/dropset), and an optional exercise-level notes. Weights are kilograms.

Nothing is written until you call this again with confirm=true; the first call returns the exact preview, including any duplicate routine names.

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": {
      "name": "<name>",
      "exercises": "<exercises>"
    },
    "name": "routine_create"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameYes
confirmNo
exercisesYes
is_publicNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does so well: it discloses the two-step dry-run/confirm safety model, states that nothing is persisted on the first call, and notes the preview surfaces duplicate routine names. It does not cover permissions/auth or what happens if a duplicate name is eventually confirmed.

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?

Front-loaded with the action and the dry-run caveat, followed by a compact JSON example that genuinely aids the caller. Minor flaw: the 'optional exercise-level `notes`' is mentioned inside the sentence describing set fields, which muddies which object it attaches to.

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?

An output schema exists, so return values need not be spelled out, yet the description still explains the preview payload. For a 4-parameter mutation tool the main remaining gap is the undocumented is_public flag and duplicate-name handling on the confirming call.

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 0%, so the description must compensate, and it does for the hardest parameter: the exercises array shape, the exercise/exercise_id alternative, per-set weight_kg/reps or duration_s/distance_km, optional type enum, and the kilogram unit. However, `name` and `is_public` receive no explanation at all, leaving two of four parameters undocumented.

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 and resource: 'Create a routine in Liftoff', with the default dry-run qualifier up front. An agent can distinguish this from routine_update or routine_show by the verb alone, though the description never explicitly names those siblings.

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?

Gives a clear operational rule: the first call is a preview, and nothing is written until you call again with confirm=true. It also points to exercises_search as the source of exercise_id. It stops short of saying when to use routine_update instead of creating a new routine.

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