Skip to main content
Glama

PB-Runner: Running Coach

coach_propose_athlete_note

Read-only

COACH TOOL — stage a note on a consented athlete (does NOT write). visibility 'coach_private' = your own reference, never visible to the athlete or their AI (allowed on any active grant); 'coach_shared' = feedback the athlete sees in their app and their AI reads (requires the grant's write permission). Anchor it with target_type: 'athlete' (general), 'planned_session' (+ target_date YYYY-MM-DD), or 'workout' (+ target_run_hk_uuid from coach_get_runs). body ≤ 2000 chars. Returns a draft + confirmation_token; show the draft to the coach and call coach_commit_athlete_note ONLY after they confirm.

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>",
      "visibility": "<visibility>",
      "target_type": "<target_type>",
      "body": "<body>"
    },
    "name": "coach_propose_athlete_note"
  }
}

Input Schema

NameRequiredDescriptionDefault
bodyYes
athlete_idYesFrom coach_list_athletes
visibilityYes
target_dateNoYYYY-MM-DD — required iff target_type=planned_session
target_typeYes
target_run_hk_uuidNorequired iff target_type=workout

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Annotations declare readOnlyHint=true and the description is consistent, reinforcing 'does NOT write'. Beyond annotations it discloses the return payload ('draft + confirmation_token'), the permission requirement for coach_shared, the 2000-char body limit, and the two-step propose/commit protocol — all things structured fields do not carry.

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?

Dense single paragraph but front-loaded with the tool's identity and the non-write guarantee, then ordered by visibility → anchoring → limits → next step. Every clause carries operational information; nothing is restated from the schema or annotations.

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 6-parameter mutation-adjacent staging tool with no output schema, the description covers permissions, conditional parameter requirements, size limits, and the return value, and it routes the agent to the commit step. Nothing needed to call it correctly is missing.

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 only 50%, but the description compensates fully: it defines what each visibility enum value means and who can see it, maps all three target_type values to their conditional companion parameter (target_date format, target_run_hk_uuid source tool), and states the body length cap. This is meaning well beyond the bare enum and type declarations.

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 note on a consented athlete') plus the critical scoping fact '(does NOT write)', which separates it from coach_commit_athlete_note named later in the same description. An agent can classify it without opening the 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 enumerates both visibility modes with the condition that selects each (coach_private allowed on any active grant; coach_shared requires the grant's write permission) and gives the exact workflow: show the draft, then call coach_commit_athlete_note ONLY after confirmation. It also names the anchor variants and where target_run_hk_uuid comes from.

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