Skip to main content
Glama
Loopback Training Server

Loopback Training Server

get_coaching_playbook

Load the evidence-based coaching methodology before creating or revising training plans or advising on load; returns tailored guidance for the athlete’s goal and experience.

Instructions

Load the coaching methodology to follow when acting as a running coach.

ALWAYS call this before creating a training plan, materially revising one, or advising on training structure/load. It returns the evidence-based playbook this system follows — pace zones from actual data, intensity distribution, progression and recovery rules, readiness gating, and how to map methodology onto this API's plans/queue/calendar — plus a module tailored to the athlete's goal.

Not needed for simple data questions ("what did I run last week?").

Args: goal: The athlete's training goal. Use "first_5k" for someone who has never run or is starting from zero (couch-to-5K style walk/run progression); "general_fitness" when there is no target race. Omit if the goal isn't known yet — the core playbook still applies, and its intake section helps establish the goal. experience: The athlete's experience level, judged from their actual training history (get_recent_runs / get_training_summary), not self-report alone. Omit to get guidance for all levels.

Returns: Object with: - playbook: the methodology as markdown (core principles + goal module when a goal was given) - goal / experience: what the content was tailored to (null = generic) - available_goals: valid goal values - warning: present if the requested goal was unknown

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

Input Schema

NameRequiredDescriptionDefault
goalNo
experienceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.36

TDQS

A4.7/5.0
Behavior4/5

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

With no annotations, the description carries the full behavioral burden and does well: it discloses the return payload shape, the tailored module behavior, the `warning` field for unknown goals, and what happens when params are omitted. The one omission is cost — this returns a sizeable markdown playbook, and there's no hint about payload size or that repeated calls are unnecessary, which matters for an agent deciding whether to re-fetch.

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 imperative directive, then structured Args/Returns sections — an agent scanning for the trigger condition finds it in one line. The goal-value walkthrough is slightly longer than necessary, but each entry adds selection criteria rather than restating the enum, so the length mostly earns its place.

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

Completeness5/5

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

No output schema exists, so the Returns section here does that work, documenting playbook, goal/experience echo fields, available_goals, and the conditional warning. Combined with complete param guidance and clear invocation triggers, an agent has everything needed to call this correctly and interpret the result.

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

Parameters5/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, and it does: it explains the semantic meaning of each enum value in context ('first_5k' for never-run/couch-to-5K, 'general_fitness' when no target race), and states the omission semantics for each param. It also tells the agent how to derive `experience` from actual data via get_recent_runs/get_training_summary rather than self-report, which is guidance the schema cannot express.

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?

States a specific verb and resource — 'Load the coaching methodology to follow when acting as a running coach' — and immediately clarifies what the payload contains (pace zones, intensity distribution, progression/recovery rules, readiness gating, API mapping). It is unambiguous against the sibling data-retrieval tools like get_recent_runs or get_plan, which return facts rather than methodology.

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?

Gives an explicit trigger condition ('ALWAYS call this before creating a training plan, materially revising one, or advising on training structure/load') plus an explicit exclusion with a concrete example ('Not needed for simple data questions — what did I run last week?'). The boundary between this tool and the sibling query tools is stated, not inferred.

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