Skip to main content
Glama
This connector has been deprecated

Replaced by Goal Race.

This page moved. Goal Race is now listed under its official MCP registry name, com.goalrace/goal-race.

Training log

get_training_log
Read-onlyIdempotent

What the user planned and what they actually did over a range: sessions, minutes, distance and vertical gain, planned and completed, the same split per session type, and the sessions themselves. Defaults to the current week (Monday to Sunday) in the user's zone; week_of picks another week, start_date / end_date or days any other range. Distances and vertical gain are in metres (10 km = 10000). Completed totals use what was actually logged and fall back to the plan. A session with no distance adds 0: when sessions_without_distance is there, the distance totals are a floor, not the whole truth. effort covers the completed sessions with an rpe: how many, the mean rpe, and load = rpe × minutes summed (session-RPE load), the number to compare week against week. tag narrows everything to the sessions carrying that tag. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "get_training_log"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoOnly sessions with this tag, e.g. 'hills'. Optional.
daysNoDays from start_date, when end_date is easier left out.
week_ofNoAny date (YYYY-MM-DD) inside the week you want.
end_dateNoLast day of the range, YYYY-MM-DD (inclusive).
start_dateNoFirst day of the range, YYYY-MM-DD.
include_sessionsNoFalse returns the totals only. Default true.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Annotations only declare read-only/idempotent/non-open-world, and the description adds substantial behavior beyond that: completed totals fall back to the plan, sessions without distance make distance totals a floor (flagged by sessions_without_distance), effort aggregates rpe with load = rpe × minutes, dates are the user's local calendar dates, and sign-in is required. This is exactly the kind of semantic caveat annotations cannot carry.

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 what is returned, then defaults and range selection, then caveats — a sensible order with no filler. A few sentences are dense run-ons (the sessions_without_distance clause), costing a point on readability.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/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 carries the return-value burden and does so thoroughly: totals, per-type split, embedded sessions, and the effort/load block. Minor gaps remain — include_sessions is never described, and the shape of the effort breakdown is only sketched — but nothing critical for correct invocation 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 coverage is 100%, so the baseline is 3; the description still adds meaning by explaining how week_of, start_date/end_date and days interact and how tag scopes the entire response. Units are clarified (metres, 10 km = 10000), though that applies to output rather than inputs. include_sessions is left entirely to the schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states a specific resource and scope: planned vs completed sessions, minutes, distance, vertical gain, per-session-type splits, plus the sessions themselves, over a date range. An agent can tell this is the aggregate training-log view rather than a single-session fetch. It does not explicitly name a sibling (e.g. get_session or get_calendar) to sharpen the boundary, so it stops short of a 5.

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?

Clear context is given: it defaults to the current week (Monday–Sunday) in the user's zone, week_of selects another week, and start_date/end_date or days define any other range, with tag narrowing everything. No explicit when-not or named-alternative routing is provided, which keeps it at 4 rather than 5.

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