Skip to main content
Glama

PB-Runner: Running Coach

propose_manual_run

Read-only

Stage a manually-logged run the user describes in conversation (e.g. 'log my treadmill run: 8k in 42 minutes'). Validates plausibility (duration 1 minute–24 hours, pace within 2:00–20:00 min/km, started_at no older than a year — older runs are rejected), checks for an overlapping stored workout (never double-log), and returns the structured interpretation plus a confirmation_token. Echo the interpretation back in the user's units and get an explicit yes before committing. The distance is recorded as the user reported it — manual runs count toward volume, consistency and schedule tick-off, but never set personal bests and never feed Race Fitness.

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": {
      "distance_m": "<distance_m>",
      "duration_s": "<duration_s>"
    },
    "name": "propose_manual_run"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoOptional note, max 500 chars
indoorNoDefault true (treadmill is the common case)
distance_mYesDistance in metres (0.2–200 km plausible range)
duration_sYesDuration in seconds
started_atNoISO datetime, or YYYY-MM-DD (anchored 12:00Z). Omitted = ended just now. Ask the user rather than guessing an ambiguous date.
workout_typeNojust_a_run | easy | tempo | long | race | intervals | trail (default easy)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing validation bounds (1 minute–24 hours, 2:00–20:00 min/km, started_at within a year, older runs rejected), a duplicate-workout overlap check, and the confirmation_token return. It also explains downstream semantics — manual runs count toward volume and schedule tick-off but never set personal bests or feed Race Fitness — which an agent could not infer from readOnly/openWorld hints.

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-loads the core action and follows with validation, duplicate check, and the confirmation protocol in a logical order. It is dense but each clause carries actionable information; the only mild excess is the layered parenthetical of validation ranges.

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 explains what comes back (structured interpretation plus confirmation_token) and what the caller must do next. For a six-parameter staging tool, nothing an agent needs to call it correctly — bounds, duplicate handling, next step — 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?

Schema coverage is 100%, so baseline is 3; the schema already documents distance_m, duration_s, started_at, indoor, note and workout_type. The description adds cross-field validation meaning (plausible pace, age limit on started_at) and the rule that distance is recorded as reported, but adds nothing per-parameter beyond that.

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 plus the workflow stage: 'Stage a manually-logged run the user describes in conversation', with a concrete example utterance. It is clearly distinguishable from the commit step it feeds into, so an agent can tell propose from commit without opening another schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear context (user describes a run in conversation) and an explicit procedural rule: echo the interpretation back in the user's units and get an explicit yes before committing. The commit step is implied as the alternative rather than named, so it stops just short of a full when/when-not routing statement.

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