Skip to main content
Glama

PB-Runner: Running Coach

coach_propose_planned_sessions

Read-only

COACH TOOL — stage planned training sessions for a consented ATHLETE's schedule (does NOT write). Requires the grant's write permission + training scope. Sessions take the exact same shape as propose_planned_sessions (date, session_type easy|tempo|intervals|long|race|rest, targets, note, interval_spec — see that tool for the full composition rules); one session per date, up to 60. Returns a draft rendered in the ATHLETE's units, rejected entries with reasons, and a confirmation_token. Show the draft to the coach and call coach_commit_planned_sessions ONLY after they confirm. Committed sessions land on the athlete's app/watch with coach provenance — the athlete (and their AI) see them badged as coach-authored.

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": {
      "athlete_id": "<athlete_id>",
      "sessions": "<sessions>"
    },
    "name": "coach_propose_planned_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
sessionsYes
athlete_idYesFrom coach_list_athletes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true, and the description reinforces it with '(does NOT write)' rather than contradicting it. Beyond the annotations it discloses the required grant permissions (write permission + training scope), the return payload (draft in athlete units, rejected entries with reasons, confirmation_token), and the downstream effect of committing (sessions badged as coach-authored for the athlete and their AI).

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?

One dense but front-loaded paragraph: purpose, permissions, shape, limits, return values, and next step in that order. Parentheticals are load-bearing rather than filler, though the sentence about athlete/AI badging is slightly redundant with 'coach provenance'.

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?

With no output schema, the description still enumerates what comes back (draft, rejected entries, confirmation_token), states the permission prerequisite, and explains the commit handoff. That is everything an agent needs to stage and then finalize sessions correctly.

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 50% and session_type has no schema description or enum, so the description usefully supplies the enum (easy|tempo|intervals|long|race|rest) plus the constraints 'one session per date, up to 60'. It defers interval_spec and target semantics entirely to propose_planned_sessions, which is reasonable given that sibling's schema is very detailed, but leaves some meaning indirect.

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 ('stage planned training sessions'), scopes it to a consented athlete, and immediately disambiguates with '(does NOT write)'. It also names the sibling whose shape it shares (propose_planned_sessions) and the commit sibling, so an agent can place it in the workflow 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?

Gives explicit sequencing: show the draft to the coach, then call coach_commit_planned_sessions ONLY after confirmation. It also routes the agent to propose_planned_sessions for composition rules, so both the when and the where-else are covered.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources