Skip to main content
Glama

PB-Runner: Running Coach

commit_planned_sessions

DestructiveIdempotent

Commit a previously proposed schedule. Call ONLY after the user has confirmed the draft from propose_planned_sessions — and if that draft carried pace_warnings in coaching_context, only after you have shown them to the user and they confirmed (or you restaged). Pass its confirmation_token. Upserts one session per date (replacing any existing plan for those dates) 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": "commit_planned_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmation_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, idempotentHint=true, and readOnlyHint=false, and the description reinforces the destructive surface by stating it upserts one session per date and replaces any existing plan for those dates — a genuinely useful complement. It also implies an authorization dependency (the confirmation_token must come from a prior propose call) and states the return value. However, the description does not add much beyond what the annotations plus the replacement clause already convey, so this lands at a solid but not exceptional 3.

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 core action, then the gating conditions, then the effect and return. The pace_warnings parenthetical is dense but earns its place; the only cost is a slightly convoluted single-paragraph flow.

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 mutation tool with rich annotations and no output schema, the definition covers the precondition, the destructive effect, the token source, and the response. Nothing an agent needs in order 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.

Parameters3/5

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

The schema has 0% description coverage for its single parameter, so the description must carry meaning — and it does say 'Pass its confirmation_token', clarifying the token originates from propose_planned_sessions. It still omits any format or validity/expiry details, so the compensation is partial rather than complete.

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?

Names a specific verb and resource ('Commit a previously proposed schedule') and explicitly positions itself downstream of the sibling propose_planned_sessions, so an agent can distinguish it from propose/get_planned_schedule without opening schemas.

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 precondition chain: call ONLY after user confirmation of the draft, plus an extra gate when the draft carried pace_warnings in coaching_context (show them and get confirmation, or restage). This is exactly the when-to-use guidance needed for a destructive commit.

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