Skip to main content
Glama
Loopback Training Server

Loopback Training Server

clear_plan_schedule

Remove a training plan's entire schedule—weekly pattern and every individual session—to reset it; remove single sessions separately.

Instructions

Remove a plan's whole schedule: the weekly pattern and every individual session. For a single session use remove_strength_session.

Args: plan_id: UUID of the plan.

Returns: The plan's now-empty schedule response.

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

Input Schema

NameRequiredDescriptionDefault
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.2/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, and it does well to enumerate what is destroyed (weekly pattern plus every session) and to summarize the return value. It stops short of disclosing irreversibility, whether a confirmation or permission is required, or what happens to already-completed sessions, which are the details an agent needs before calling a destructive 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?

Three tight lines: the action and its scope first, the alternative second, then the argument and return. No sentence is redundant and the most important information is front-loaded.

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 one-parameter destructive tool with no annotations and no output schema, the definition covers action, scope, alternative, argument format, and return shape. Only the destructive-behavior caveats (permanence, side effects) are 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 coverage is 0% and the schema only declares `plan_id` as a string, so the description's 'UUID of the plan' is the only source of format meaning for the caller. That compensates for the gap on the single parameter, though it adds nothing about where the UUID comes from.

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?

The description states a specific verb and resource ('Remove a plan's whole schedule') and immediately defines the scope as 'the weekly pattern and every individual session', so an agent knows exactly what is deleted. It also distinguishes itself from `remove_strength_session` by naming the narrower sibling.

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?

It gives a clear routing rule: whole schedule here, single session via `remove_strength_session`. There is no explicit note about other plan-level tools (e.g. `delete_plan`, `update_plan`) or any precondition the caller must satisfy, so the guidance is clear but not exhaustive.

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