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.

Read the training blocks

get_blocks
Read-onlyIdempotent

The user's training blocks with their dates, goals and how many weeks each runs. The ones covering today also carry week_of_total ('3/16'), so an answer can say which week of the block they are in. Use when the user asks what they are working on, before adding a block (to see what is already there), or to review a block against its goal with get_training_log. 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_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
whenNoWhich blocks: covering today, starting later, already finished, or all. Default 'all'.
limitNoMax blocks, default 50, max 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the safety profile is covered; the description adds context that annotations cannot: the sign-in requirement, that all dates are the user's local calendar dates (YYYY-MM-DD) in their own time zone, and that week_of_total ('3/16') is only present on currently-running blocks. That conditional-field note is genuinely useful. It stops short of describing ordering of results or what happens when no blocks exist.

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?

Four sentences, front-loaded with what is returned, then usage, then time-zone/auth caveats. Nothing is redundant, though the time-zone and sign-in sentences could be merged for tighter reading.

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

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, so the description must carry return-value information; it does name the fields (dates, goals, weeks, week_of_total) but does not describe the shape of the response or ordering. For a two-parameter read tool with full annotation coverage this is adequate, but the return contract is only sketched.

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 description coverage is 100% and the enum for 'when' is fully documented in the schema, so the description adds no parameter-level syntax or format detail. Baseline 3 applies since the schema carries the parameter burden here.

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 names the resource and its payload precisely — training blocks with dates, goals, and week counts — so an agent knows exactly what comes back. It is phrased as a noun phrase rather than an explicit verb ('lists/fetches'), and only partly distinguishes itself from siblings (it points at get_training_log but not at add_block/update_block by name).

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 gives three concrete triggering conditions: when the user asks what they are working on, before adding a block to see what already exists, and for reviewing a block against its goal with get_training_log. The third case explicitly names the companion tool and the condition that pairs with it, leaving little to infer.

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