Skip to main content
Glama
Loopback Training Server

Loopback Training Server

move_strength_session

Move a strength session to another date, preserving its title and routine. Use when a scheduled session doesn't fit that day, for individual sessions or one weekly occurrence.

Instructions

Move the strength session on one date to another date, keeping its title and routine.

Works for an individual session and for one occurrence of a weekly pattern; the pattern's other weeks stay where they are. Use it when the athlete says a session doesn't fit that day this week.

Args: plan_id: UUID of the strength plan. date: The day the session is on now (YYYY-MM-DD). to_date: The day to move it to (YYYY-MM-DD).

Returns: The resolved schedule after the move. An error when nothing is scheduled on date.

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>",
      "to_date": "<to_date>"
    },
    "name": "move_strength_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
plan_idYes
to_dateYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden: it usefully discloses that only the targeted occurrence moves while 'the pattern's other weeks stay where they are,' and it names a failure mode ('An error when nothing is scheduled on `date`'). That is meaningful behavioral context, but it says nothing about permissions, whether the move is reversible, conflicts with existing sessions on the target date, or rate limits for a mutation tool.

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?

Front-loaded with the verb and outcome, then scope caveat, then usage trigger, then a compact Args/Returns block. Every sentence adds information the schema and annotations do not already carry.

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?

No output schema exists, but the description explains the return value ('the resolved schedule after the move') and the error condition. For a three-parameter required-arg mutation tool, that plus the parameter formats leaves nothing an agent needs missing.

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 description coverage is 0%, so the Args section does real work: it identifies plan_id as the strength plan UUID, date as the current day, and to_date as the destination, and supplies the YYYY-MM-DD format. The only gap is that the raw schema types are bare strings, so format is not enforced, but the description compensates for the missing schema documentation.

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?

States a precise verb and resource ('Move the strength session on one date to another date') plus the invariants preserved ('keeping its title and routine'). It also scopes the operation by distinguishing a single session from one occurrence of a weekly pattern, so an agent knows exactly what is being mutated.

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 an explicit trigger: 'Use it when the athlete says a session doesn't fit that day this week.' That is a clear use context. It does not name when-not conditions or point to an alternative sibling such as edit_scheduled_workout, so it stops short of full routing guidance.

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