Skip to main content
Glama

PB-Runner: Running Coach

propose_coach_note

Read-only

Stage a new or regenerated coach note for the athlete to confirm (does NOT write). CALL THIS WHEN THE ATHLETE ASKS TO PLAN A NEW WEEK — regenerate the note FIRST, then propose the plan. Apply the ONLY-PERSIST rule: an item carries forward ONLY if you re-assert it here as still true; everything you omit is dropped (regeneration is REPLACE, not append). Answer the previous note's carry_forward_question as part of regenerating. Record ANY change to a working pace in calibration_delta ({metric, from_val, to_val, reason}) — paces never change silently, and the change requires the athlete's confirmation. Also usable mid-week for a material change. Pass: week_of (YYYY-MM-DD, MUST be a Monday), reasserted {calibration {threshold,easy,long,race_pace_status}, guidance [{label,range,hr,note}], watch_fors [string, max 6]}, last_week (a short recap of the session/week just gone that informs this week — shown in-app as 'Recent'), carry_forward_question (REQUIRED — the single thread for next planning), calibration_delta []. Author all display strings in the athlete's units. Keep each section short (the server rejects over-long notes — the note must fit a phone screen). Returns a rendered draft + confirmation_token; show the draft and call commit_coach_note only after the athlete confirms.

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": {
      "week_of": "<week_of>",
      "carry_forward_question": "<carry_forward_question>"
    },
    "name": "propose_coach_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
week_ofYesMonday of the week the note covers (YYYY-MM-DD).
last_weekNoA short recap of the session(s) or week just gone that informs this week — shown in the app as 'Recent'. Use it for the latest meaningful session early in a block, or a one-line week summary once a week has elapsed; it collapses the prior note at regeneration.
reassertedNoWhat is STILL TRUE this week — only these survive (replace, not append).
calibration_deltaNoOne entry per working-pace change this regeneration.
carry_forward_questionYesREQUIRED. The single thread handed to next planning.

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 a safe read-only staging operation, and the description adds substantial context they cannot carry: the ONLY-PERSIST/replace-not-append semantics of regeneration, that omitted items are dropped, that a working-pace change requires confirmation, that the server rejects over-long notes, and the draft + confirmation_token return shape. This is exactly the behavioral context that determines correct invocation.

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?

Purpose and trigger are front-loaded and little is wasted, but the content is delivered as one dense, capitalization-heavy paragraph that intertwines usage, semantics, and formatting constraints, and it re-states a couple of schema facts (week_of format, required carry_forward_question). Readable and information-dense, but not structurally clean.

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?

For a nested-object tool with no output schema, the description covers the full lifecycle: what is staged, what the server returns (rendered draft + confirmation_token), and which tool finalizes it. Nothing an agent needs to call it correctly is absent.

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 already 100%, yet the description still adds meaning: week_of must land on a Monday, reasserted is the sole survival channel for prior items, carry_forward_question is required as the single hand-off thread, and calibration_delta must capture every pace change with reason. Some of this restates the schema, so it lands at a strong 4 rather than 5.

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 a new or regenerated coach note'), its non-writing nature, and implicitly contrasts with commit_coach_note by requiring confirmation before that call. An agent can distinguish it from the commit sibling 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 an explicit trigger ('CALL THIS WHEN THE ATHLETE ASKS TO PLAN A NEW WEEK'), orders it against a sibling workflow ('regenerate the note FIRST, then propose the plan'), names a secondary condition ('Also usable mid-week for a material change'), and states the follow-on call ('call commit_coach_note only after the athlete confirms').

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