Skip to main content
Glama

Get the goal race and training blocks

ourpr_training_blocks
Read-onlyIdempotent

The goal race and its Block: race day, distance, goal time, which week of the Block today falls in, and for each week the miles run beside the miles planned, with the planned miles still ahead. Use it to answer how the Build is going. Also the Blocks before past races, each with its result, weeks and peak week. A Block is the race-anchored Monday to Sunday weeks before a race.

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": "ourpr_training_blocks"
  }
}

Input Schema

NameRequiredDescriptionDefault
pastNoHow many past Blocks to include, newest first.

Output Schema

NameRequiredDescriptionDefault
goalYes
pastYes
total_racesYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • changedOutput schema / properties / goal / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": {},
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": {},
      +    "propertyNames": {
      +      "type": "string"
      +    },
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / past / items / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint and openWorldHint, so safety is covered. The description adds genuine domain context beyond that — it defines what a Block is (race-anchored Monday-to-Sunday weeks before a race) and states that past Blocks come with results, which helps an agent interpret the payload. It does not mention volume, date anchoring for 'today', or cost of increasing 'past'.

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?

Compact and front-loaded with the primary payload, and the closing sentence productively defines the key term. The first sentence is a dense run-on with an awkward trailing clause ('with the planned miles still ahead') that costs a little 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?

An output schema exists, so return values need no explanation, and the description supplies the conceptual scaffolding (goal race, current Block, weekly planned-vs-run, past Blocks) an agent needs to interpret it. Only the lack of any alternative-tool routing and of date/volume behavior keeps it below a 5.

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 there is only one parameter, so the schema already explains 'past' as the count of prior Blocks, newest first. The description only alludes to this vaguely ('also the Blocks before past races') and adds no syntax or interaction detail, so the baseline of 3 applies.

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 a specific resource (the goal race and its Block) and enumerates exactly what comes back: race day, distance, goal time, current week, weekly miles run vs. planned, plus prior Blocks with results and peak week. It's clearly distinguishable in substance from the course/run/plan siblings, though it never names an alternative to contrast with.

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

Usage Guidelines3/5

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

"Use it to answer how the Build is going" is the only usage cue — it implies the tool is for training-progress questions but gives no exclusions, no guidance on when to prefer ourpr_plan_week, ourpr_list_plans or ourpr_records instead, and no prerequisites. Implied usage only.

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