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.

Add training sessions

add_sessions

Put one or more training sessions on the user's calendar in a single call: a list of up to 30, each with at least a date. dry_run: true returns what would be written, with the weekday of each day and the sessions already there, and writes nothing. Pick the closest type from the list and put the workout itself in notes. A whole training block is add_training_plan, not this. Where the user has Google Calendar connected, each session is written there too. All dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone. Requires signing in.

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": {
      "sessions": "<sessions>"
    },
    "name": "add_sessions"
  }
}

Input Schema

NameRequiredDescriptionDefault
dry_runNoTrue shows what would be written and writes nothing.
sessionsYesThe sessions to add, in any order.

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 only declare the generic write profile (readOnly=false, destructive=false, idempotent=false); the description adds non-obvious behavior the agent could not infer: the 30-item cap, that dry_run returns weekday plus existing sessions and writes nothing, that sessions also land in Google Calendar when connected, that dates are the user's local calendar dates, and that sign-in is required. The external Google Calendar write-through is exactly the kind of side effect annotations do not capture.

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?

The batch capability and cap are front-loaded, followed by the dry_run preview, field guidance, the sibling exclusion, and the side-effect/auth notes in descending priority. Every sentence contributes a distinct fact with no repetition of the schema.

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 compensates by describing what dry_run returns, and it covers the constraints that matter for a write tool: item cap, required date, local time zone, auth requirement, and the Google Calendar side effect. Nothing an agent needs to call this 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 already 100%, so the schema baseline carries the field definitions, but the description adds real semantic guidance beyond it: type should be chosen from the list, the workout detail belongs in notes rather than title, and date format/time zone are local (YYYY-MM-DD). That resolves the main ambiguity (type vs. notes vs. title) the schema leaves to inference.

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?

"Put one or more training sessions on the user's calendar in a single call" gives a specific verb, resource, and batch scope (up to 30), and the description explicitly names add_training_plan as the tool for whole blocks. An agent can separate this from add_training_plan, log_session, or update_session without opening any 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 when to use it (batch session creation), when not to ("A whole training block is add_training_plan, not this"), and how to populate ambiguous fields ("Pick the closest type from the list and put the workout itself in notes"). The dry_run branch is also framed as a pre-write preview, so the agent knows the safe path before committing.

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