Skip to main content
Glama

PB-Runner: Running Coach

coach_commit_planned_sessions

Destructive

COACH TOOL — commit a previously proposed athlete schedule. Call ONLY after the coach confirms the draft from coach_propose_planned_sessions; pass its confirmation_token. The consent grant is re-resolved at commit time (a revoke in between fails closed). Upserts one session per date with coach provenance and returns the resulting schedule.

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": {
      "confirmation_token": "<confirmation_token>"
    },
    "name": "coach_commit_planned_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmation_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the mutation profile is covered; the description adds genuinely new behavior: consent is re-resolved at commit time and fails closed on a mid-flight revoke, and the commit upserts one session per date with coach provenance. The only soft tension is "upserts" against idempotentHint=false — per-date overwrite reads as partially idempotent, though the re-resolved consent and mutable draft state justify the annotation.

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?

Four short sentences with no filler: identity first, then the gating condition, then the safety behavior, then the side effect and return. Each sentence carries distinct information an agent needs before invoking.

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 one-parameter destructive mutation with no output schema, the description covers everything material: prerequisite, token source, consent re-check/fail-closed semantics, write granularity, and a brief statement of the return value. Nothing an agent needs 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.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description carries the burden, and it does so meaningfully for the single parameter: it names confirmation_token explicitly, ties it to the propose call, and establishes that it is required for commit. It stops short of describing the token's format or lifetime, which the fail-closed note only partially implies.

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 description opens with a specific verb+resource pair ("commit a previously proposed athlete schedule") and the "COACH TOOL" prefix plus the explicit pairing with coach_propose_planned_sessions distinguishes it from the non-coach commit_planned_sessions sibling. An agent can identify the operation and its scope 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?

It states an explicit precondition ("Call ONLY after the coach confirms the draft from coach_propose_planned_sessions") and names the exact dependency artifact (confirmation_token) that links the two calls. The ordering constraint and the fail-closed behavior on a revoked consent grant tell the agent both when to call and what happens on a stale call.

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