Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_plan_workouts

Retrieve all queued workouts that belong to a specific training plan by plan ID, so an assistant can review or adjust upcoming sessions.

Instructions

Get all queued workouts belonging to a plan.

Args: plan_id: UUID of the plan.

Returns: List of queued workouts for this plan.

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_workouts"
  }
}

Input Schema

NameRequiredDescriptionDefault
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

B3.3/5.0
Behavior3/5

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

No annotations are provided, so the description carries the full burden. "Get" plus "Returns: List of queued workouts" establishes this is a read returning a collection, but it says nothing about ordering, pagination, size limits, whether completed or historical workouts are excluded, or authorization requirements.

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?

Short and front-loaded: the purpose sentence comes first, followed by a conventional Args/Returns block. The Args line slightly restates the schema, but there is no wasted prose.

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?

For a single-parameter read tool with no output schema, the description covers the input and the shape of the return at a high level. It leaves gaps around what "queued" means and how results are ordered or bounded, which matters for an agent deciding between this and the other queued/pending workout tools.

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%, and the description compensates by documenting the single parameter's meaning and format ("UUID of the plan"), which is meaningfully more than the schema's bare string type. It stops short of saying what happens with an invalid or unknown plan_id.

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 all queued workouts belonging to a plan") with a scoping qualifier ("queued", "belonging to a plan"). It does not, however, distinguish itself from similarly named siblings such as get_pending_workouts, list_queued_workouts, or get_plan_schedule, so the agent gets no help disambiguating.

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

Usage Guidelines2/5

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

The description provides no when-to-use guidance, no prerequisites, and no mention of any alternative tool. The only guidance is implicit in the name and the Args section; an agent must guess whether this differs from list_queued_workouts or get_plan_schedule.

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