Skip to main content
Glama
Loopback Training Server

Loopback Training Server

remove_strength_session

Remove a single strength session from a training plan for a specific date, skipping only that weekly occurrence while keeping the recurring schedule.

Instructions

Take the strength session on one date off the plan.

An individual session is removed. One occurrence of a weekly pattern is skipped for that date only and the pattern carries on. To drop the whole schedule use clear_plan_schedule.

Args: plan_id: UUID of the strength plan. date: The day of the session to remove (YYYY-MM-DD).

Returns: The resolved schedule after the removal. 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>"
    },
    "name": "remove_strength_session"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateYes
plan_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does most of it: it discloses the partial-mutation behavior (pattern survives), the success return (resolved schedule after removal), and a failure condition ('An error when nothing is scheduled on date'). It stops short of stating whether the call is idempotent, what permissions are needed, or whether a UUID mismatch produces a distinct error.

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 the disambiguation, then Args/Returns — a clean structure with no filler. The sentence 'An individual session is removed.' is mildly redundant with the opening line, but it usefully reinforces that this is a mutation rather than a query.

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 two-parameter mutation with no annotations and no output schema, the definition covers purpose, alternative, parameters, return shape, and one error case — enough to call it correctly. The remaining gaps (timezone handling of date, permission requirements) are real but secondary for this tool's complexity.

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% — the schema only declares two untyped-feeling strings — so the description must compensate, and it does: plan_id is identified as the UUID of the strength plan and date is pinned to the YYYY-MM-DD format. It adds real meaning beyond the schema, though it does not say whether date is interpreted in the plan's timezone, which matters for an off-by-one-day error.

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 first line names a specific verb and resource with a scoping qualifier ('Take the strength session on one date off the plan'), and the second paragraph distinguishes it from clear_plan_schedule by contrasting single-occurrence removal against dropping the whole schedule. An agent can route between the two without opening either schema.

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

Usage Guidelines5/5

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

Explicitly states when to use this tool (remove one session on one date) and when not to (use clear_plan_schedule to drop the whole schedule). It also clarifies the non-obvious semantics that removing one occurrence of a weekly pattern does not alter the pattern itself, which is exactly the ambiguity an agent would otherwise guess at.

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