Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_plan_schedule

Expand a training plan into dated sessions with weekly patterns and conflict flags, so you can see exactly when each workout falls and where it collides with a queued run.

Instructions

Get a plan's schedule (weekly pattern and individual sessions) expanded into concrete dated sessions.

Args: plan_id: UUID of the plan.

Returns: {plan_id, schedule, sessions[], warnings[]} — sessions carry a conflict flag where they collide with a queued run.

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

Input Schema

NameRequiredDescriptionDefault
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A3.7/5.0
Behavior4/5

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

No annotations exist, so the description carries the full burden, and it does disclose non-obvious behavior: the output carries a warnings[] array and each session carries a `conflict` flag when it collides with a queued run. Read-only nature is only conveyed by the verb 'Get'; there is nothing about permissions, size of expansion, or what conditions produce warnings.

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 purpose, then a clearly separated Args/Returns block with no filler prose. The 'Args: plan_id: UUID of the plan' line is near-redundant and the docstring indentation is slightly awkward as free text, but nothing is wasted.

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?

For a single-parameter read tool with no annotations and no output schema, the definition covers purpose, the parameter's type, and the exact return shape including warnings and conflict flags — enough to call it correctly. The only real gap is the absence of routing guidance against the many sibling plan/schedule tools.

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

Parameters3/5

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

Schema description coverage is 0% (plan_id is a bare string), and the description compensates partially by identifying it as a UUID. It does not say where to obtain the plan_id or what happens with an unknown or deleted plan, so the added meaning is thin.

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 (get a plan's schedule) and clarifies the transformation: a weekly pattern plus individual sessions expanded into concrete dated sessions. That distinguishes it in spirit from get_plan and get_plan_workouts, but no sibling is named explicitly, so differentiation is inferred 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?

Usage is only implied by the phrase 'expanded into concrete dated sessions' — an agent can guess this is the tool for dated, conflict-aware sessions rather than the raw plan definition. There is no explicit when-to-use, when-not-to-use, or pointer to get_plan / get_plan_workouts / get_training_calendar as alternatives.

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