Skip to main content
Glama
Loopback Training Server

Loopback Training Server

list_plans

Retrieve training plans filtered by status or activity type, sorted newest first, with computed progress and finishability so you can see which plans are active, upcoming or ready to wrap up.

Instructions

List training plans.

Args: status: Filter by status — "active", "upcoming", "completed", "archived" or "abandoned". "upcoming" is a block built ahead of its start date: its sessions still show in the calendar and schedule checks, but it is not the plan the athlete is on. activity_type: Filter by activity type (e.g. "running").

Returns: List of plans, newest first. Each carries computed progress and finishable — see get_plan for their semantics (progress counts queued runs and scheduled strength sessions alike; finishable=true means offer a wrap-up).

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

Input Schema

NameRequiredDescriptionDefault
statusNo
activity_typeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

B3.2/5.0
Behavior3/5

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

No annotations, so the description carries the burden. It does disclose output shape (newest first), computed fields progress/finishable with semantics, and the meaning of the upcoming status. It doesn't mention pagination/limits, which matters for a list tool with no output schema.

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?

Well-structured with Args/Returns sections and front-loaded purpose. Some sentences are dense but they earn their place; the finishable explanation is slightly indirect since it refers out to get_plan.

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

Completeness3/5

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

Covers both parameters and the return shape at a high level, which is good for a list tool with no output schema. Missing pagination/result limits and whether filtering combines or is OR'd; these are relevant for a two-filter list endpoint.

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 coverage is 0%, so the description must compensate. Status gets a good explanation including the enum values and the subtle "upcoming" semantics; activity_type gets only an example ("running"), with no format details or indication whether it matches exact values or categories.

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?

Clear verb+resource: "List training plans." It distinguishes from get_plan by referring to it for field semantics, and the Returns section clarifies ordering. It doesn't explicitly say it's a filtered listing vs. full enumeration, but the intent is clear.

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?

Implied usage via filters, with a detailed explanation of the "upcoming" status which is genuinely helpful for choosing status values. However, there's no explicit when-to-use-this-vs-get_plan guidance, only a pointer to get_plan for field semantics.

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