ourpr.

Measured race courses, open to all, and your own runs, Blocks and plans once you sign in.

Sollte ich dies verwenden

Qualität und Sicherheit

A
Qualität der Beschreibung
99%
Vollständigkeit des Schemas
97%
Qualität der Benennung
80%
Risiko der Vergiftung
80%
Übereinstimmung der Berechtigungen
100%
Einhaltung des Protokolls
100%

Befunde (2)

  • HIGHTool description contains system tag or markerin ourpr_get_trail_system
  • HIGHTool poisoning patterns detected

Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.

Kontextkosten

~9,122Tokens (Tool-Definitionen)
~3.2 KBTypische Antwortgröße
Erhebliche Auswirkung auf die Aufmerksamkeit (7.13% von 128k Kontext)

Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.

Installieren

Installation mit einem Klick

Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:

{
  "mcpServers": {
    "ourpr-courses": {
      "url": "https://ourpr.app/api/mcp"
    }
  }
}

Remote-Endpunkte

https://ourpr.app/api/mcpstreamable-http

Was es kann

Tool-Inventar

Tools (18)

🟢 Nur lesen🟡 Schreiben🔴 Löschen⚪ Unbekannt
🟢ourpr_list_courses(query, kind, course_type, min_distance_mi, max_distance_mi, ...)

List every running course published on ourpr., with its place, distance, climb and next race date. Each course is a MEASURED centerline built from recorded runs, with elevation from the USGS 3DEP 10 m model. It is not a course map traced by hand. START HERE. Every other course tool takes a slug, and this is where slugs come from. Args: - query (string, optional): Match the name and the place. Partial, case-insensitive. - kind ('race' | 'trail' | 'route', optional): Keep one kind. - course_type ('loop' | 'out-and-back' | 'point-to-point', optional): Keep one shape. - min_distance_mi / max_distance_mi (number, optional): Bound the distance in miles. - upcoming_only (boolean): Keep only courses whose race date has not passed. Default false. - limit (number): 1 to 50. Default 20. - offset (number): Skip this many. Default 0. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "total": number, // matched the filters "count": number, // in this answer "offset": number, "has_more": boolean, "next_offset": number, // present when has_more "published_total": number, // every published course "courses": [{ "slug": string, // "boston-marathon" "name": string, // the event's own name, title sponsor included "place": string | null, // "Hopkinton → Boston, MA" "kind": string, "course_type": string, "distance_mi": number, "climb_ft": number | null, "steepest_pct": number | null, "next_race_date": string | null, // YYYY-MM-DD "days_out": number | null, // null once the date has passed "page_url": string }] } The order is the race calendar: the soonest race first, then undated courses by distance. Examples: - "What marathons does ourpr. have?" -> min_distance_mi=26 - "Which race is next?" -> upcoming_only=true, limit=1 - "Anything in Fort Worth?" -> query="fort worth" - Do not use when: you want the hills on one course. Use ourpr_get_course_terrain. Error handling: - Returns "No course matched" with the filters echoed when nothing matches.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "maxLength": 120,
      "description": "Match against the course name and its place. Case-insensitive, partial. Example: 'boston', 'fort worth', 'half'."
    },
    "kind": {
      "type": "string",
      "enum": [
        "race",
        "trail",
        "route"
      ],
      "description": "Keep only this kind. 'race' is a published event course, 'trail' is a trail segment, 'route' is an everyday loop."
    },
    "course_type": {
      "type": "string",
      "enum": [
        "loop",
        "out-and-back",
        "point-to-point"
      ],
      "description": "Keep only this shape of course."
    },
    "min_distance_mi": {
      "type": "number",
      "minimum": 0,
      "maximum": 200,
      "description": "Keep only courses at least this long, in miles."
    },
    "max_distance_mi": {
      "type": "number",
      "minimum": 0,
      "maximum": 200,
      "description": "Keep only courses no longer than this, in miles."
    },
    "upcoming_only": {
      "type": "boolean",
      "default": false,
      "description": "Keep only courses whose next race date is today or later. A course with no date is dropped by this filter."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 50,
      "default": 20,
      "description": "The most courses to return."
    },
    "offset": {
      "type": "integer",
      "minimum": 0,
      "default": 0,
      "description": "How many courses to skip. Use it with `next_offset`."
    },
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "total": {
      "type": "number",
      "description": "Courses that matched the filters."
    },
    "count": {
      "type": "number",
      "description": "Courses in this answer."
    },
    "offset": {
      "type": "number"
    },
    "has_more": {
      "type": "boolean"
    },
    "next_offset": {
      "type": "number"
    },
    "published_total": {
      "type": "number",
      "description": "Every published course, before any filter."
    },
    "courses": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "place": {
            "type": [
              "string",
              "null"
            ]
          },
          "kind": {
            "type": "string"
          },
          "course_type": {
            "type": "string"
          },
          "distance_mi": {
            "type": "number"
          },
          "climb_ft": {
            "type": [
              "number",
              "null"
            ]
          },
          "steepest_pct": {
            "type": [
              "number",
              "null"
            ]
          },
          "next_race_date": {
            "type": [
              "string",
              "null"
            ]
          },
          "days_out": {
            "type": [
              "number",
              "null"
            ]
          },
          "page_url": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name",
          "place",
          "kind",
          "course_type",
          "distance_mi",
          "climb_ft",
          "steepest_pct",
          "next_race_date",
          "days_out",
          "page_url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "total",
    "count",
    "offset",
    "has_more",
    "published_total",
    "courses"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_get_course(slug, response_format)

Read one published course: its place, distance, climb, how it was measured, and which streets carry it. DELIBERATELY WITHOUT the elevation profile, the amenities and the centerline. Those are three more tools, because one course payload is about 83 KB and 91% of it is the profile. Args: - slug (string): From ourpr_list_courses. Example: 'boston-marathon'. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, // the event's own name, title sponsor included "place": string | null, "alternate_names": string[], // curated geographic aliases "kind": string, "course_type": string, "distance_mi": number, // the stated race distance "measured_mi": number | null, // the centerline ourpr. measured "next_race_date": string | null, "days_out": number | null, "climb_ft": number | null, "descent_ft": number | null, "min_ft": number | null, "max_ft": number | null, "steepest_pct": number | null, "provenance": string | null, // one sentence on how it was built "sources": [{ "label": string, "value": string }], "recorded_on": string | null, // the watch that recorded the seed run "main_ways": [{ "name": string, "mi": number, "share_pct": number }], "through": string[], // named places the line passes through "photo_count": number, "counts": { "named_climbs_and_descents": number, "amenities": number, "mile_markers": number, "profile_points": number }, "page_url": string, "gpx_url": string } `distance_mi` is what the race calls itself; `measured_mi` is what the centerline measures. They differ by a few hundredths and both are reported rather than reconciled. Examples: - "Tell me about the Boston Marathon course" -> slug="boston-marathon" - "How much does San Diego climb?" -> slug="san-diego-marathon", read climb_ft - Do not use when: you want the hill-by-hill shape. Use ourpr_get_course_terrain. Error handling: - Returns the slug list suggestion when the slug is unknown.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "The course's slug, exactly as ourpr_list_courses returns it. Example: 'boston-marathon'."
    },
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "place": {
      "type": [
        "string",
        "null"
      ]
    },
    "alternate_names": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "kind": {
      "type": "string"
    },
    "course_type": {
      "type": "string"
    },
    "distance_mi": {
      "type": "number"
    },
    "one_way_mi": {
      "type": [
        "number",
        "null"
      ]
    },
    "next_race_date": {
      "type": [
        "string",
        "null"
      ]
    },
    "days_out": {
      "type": [
        "number",
        "null"
      ]
    },
    "climb_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "descent_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "min_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "max_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "steepest_pct": {
      "type": [
        "number",
        "null"
      ]
    },
    "measured_mi": {
      "type": [
        "number",
        "null"
      ]
    },
    "provenance": {
      "type": [
        "string",
        "null"
      ]
    },
    "sources": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "label": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        },
        "required": [
          "label",
          "value"
        ],
        "additionalProperties": false
      }
    },
    "recorded_on": {
      "type": [
        "string",
        "null"
      ]
    },
    "main_ways": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "mi": {
            "type": "number"
          },
          "share_pct": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "mi",
          "share_pct"
        ],
        "additionalProperties": false
      }
    },
    "through": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "photo_count": {
      "type": "number"
    },
    "counts": {
      "type": "object",
      "properties": {
        "named_climbs_and_descents": {
          "type": "number"
        },
        "amenities": {
          "type": "number"
        },
        "mile_markers": {
          "type": "number"
        },
        "profile_points": {
          "type": "number"
        }
      },
      "required": [
        "named_climbs_and_descents",
        "amenities",
        "mile_markers",
        "profile_points"
      ],
      "additionalProperties": false
    },
    "page_url": {
      "type": "string"
    },
    "gpx_url": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "name",
    "place",
    "alternate_names",
    "kind",
    "course_type",
    "distance_mi",
    "one_way_mi",
    "next_race_date",
    "days_out",
    "climb_ft",
    "descent_ft",
    "min_ft",
    "max_ft",
    "steepest_pct",
    "measured_mi",
    "provenance",
    "sources",
    "recorded_on",
    "main_ways",
    "through",
    "photo_count",
    "counts",
    "page_url",
    "gpx_url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_get_course_terrain(slug, points, response_format)

The elevation profile of one course, sampled, plus every climb and descent ourpr. named on it. THIS IS THE TOOL FOR "what are the hills and where". Each named section carries the street it runs on, the miles it spans, its net rise or fall and its average grade. The elevation comes from the USGS 3DEP 10 m model sampled along the measured centerline, not from a watch barometer. A barometer drifts; the model is checked against published race figures. Args: - slug (string): From ourpr_list_courses. - points (number): Elevation samples to return, 2 to 200. Default 40. The stored profile holds up to 4,873. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "distance_mi": number, "climb_ft": number | null, "descent_ft": number | null, "min_ft": number | null, "max_ft": number | null, "steepest_pct": number | null, "climb_ft_per_mi": number | null, "elevation_source": string, "profile_points_stored": number, "profile": [{ "mi": number, "ft": number }], "named_sections": [{ "kind": "climb" | "descent", "name": string, "from_mi": number, "to_mi": number, "net_ft": number, "grade_pct": number }], "page_url": string } The sampled profile always keeps the first point, the last point, the highest and the lowest, so its extremes agree with min_ft and max_ft. A course with no named sections returns an empty array. That means the seeder found no stretch that qualified, not that the course is flat: read climb_ft. Examples: - "What are the hills on Boston?" -> slug="boston-marathon" - "Is Houston flat?" -> slug="houston-marathon", read climb_ft_per_mi - "Give me the profile in detail" -> points=200 Error handling: - Returns the slug list suggestion when the slug is unknown.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "The course's slug."
    },
    "points": {
      "type": "integer",
      "minimum": 2,
      "maximum": 200,
      "default": 40,
      "description": "How many elevation samples to return. The stored profile holds up to 4,873 points, which no agent should read whole. 40 describes the shape; 200 is close to the source."
    },
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "distance_mi": {
      "type": "number"
    },
    "climb_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "descent_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "min_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "max_ft": {
      "type": [
        "number",
        "null"
      ]
    },
    "steepest_pct": {
      "type": [
        "number",
        "null"
      ]
    },
    "climb_ft_per_mi": {
      "type": [
        "number",
        "null"
      ]
    },
    "elevation_source": {
      "type": "string"
    },
    "profile_points_stored": {
      "type": "number"
    },
    "profile": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "mi": {
            "type": "number"
          },
          "ft": {
            "type": "number"
          }
        },
        "required": [
          "mi",
          "ft"
        ],
        "additionalProperties": false
      },
      "description": "Sampled elevation. The highest and lowest points are kept."
    },
    "named_sections": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "from_mi": {
            "type": "number"
          },
          "to_mi": {
            "type": "number"
          },
          "net_ft": {
            "type": "number"
          },
          "grade_pct": {
            "type": "number"
          }
        },
        "required": [
          "kind",
          "name",
          "from_mi",
          "to_mi",
          "net_ft",
          "grade_pct"
        ],
        "additionalProperties": false
      }
    },
    "page_url": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "name",
    "distance_mi",
    "climb_ft",
    "descent_ft",
    "min_ft",
    "max_ft",
    "steepest_pct",
    "climb_ft_per_mi",
    "elevation_source",
    "profile_points_stored",
    "profile",
    "named_sections",
    "page_url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_get_course_amenities(slug, response_format)

Public drinking water and toilets on the line of one course, each placed at the mile it sits at. READ THIS LIMIT BEFORE YOU ANSWER. These come from OpenStreetMap: public taps and toilets somebody mapped near the route. It is a FREQUENCY difference, not a category one — a race day sets up many more stops than an ordinary day has. A mapped tap can also be seasonal, shut off or gone. Never present this as an aid-station plan, and never imply the count is guaranteed. It answers the training question instead: if I run this course on an ordinary day, where can I drink? Args: - slug (string): From ourpr_list_courses. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "distance_mi": number, "source": string, "is_race_aid_station_list": false, "water_count": number, "toilet_count": number, "longest_gap_without_water_mi": number | null, "longest_gap_from_mi": number | null, "longest_gap_to_mi": number | null, "amenities": [{ "kind": string, "mi": number, "lat": number, "lng": number }], "page_url": string } The longest gap counts the start and the finish as ends, so a course with one water stop at mile 3 of 6 reports a 3 mile gap, not 0. Examples: - "Where can I refill on the Cowtown ultra?" -> slug="cowtown-ultra-marathon" - "How far do I go without water on Boston?" -> read longest_gap_without_water_mi - Do not use when: you want race-day aid stations. ourpr. does not hold those. Error handling: - A course with no mapped amenity returns empty arrays and zero counts. That means none is mapped, not that none exists.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "The course's slug."
    },
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "distance_mi": {
      "type": "number"
    },
    "source": {
      "type": "string"
    },
    "is_race_aid_station_list": {
      "type": "boolean",
      "description": "Always false. These are public amenities, not race aid stations."
    },
    "water_count": {
      "type": "number"
    },
    "toilet_count": {
      "type": "number"
    },
    "longest_gap_without_water_mi": {
      "type": [
        "number",
        "null"
      ]
    },
    "longest_gap_from_mi": {
      "type": [
        "number",
        "null"
      ]
    },
    "longest_gap_to_mi": {
      "type": [
        "number",
        "null"
      ]
    },
    "amenities": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "kind": {
            "type": "string"
          },
          "mi": {
            "type": "number"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          }
        },
        "required": [
          "kind",
          "mi",
          "lat",
          "lng"
        ],
        "additionalProperties": false
      }
    },
    "page_url": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "name",
    "distance_mi",
    "source",
    "is_race_aid_station_list",
    "water_count",
    "toilet_count",
    "longest_gap_without_water_mi",
    "longest_gap_from_mi",
    "longest_gap_to_mi",
    "amenities",
    "page_url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_get_course_route(slug, include_polyline, response_format)

Where a course actually runs: its start, its finish, its bounding box, every mile marker, and the streets in the order you meet them. The GPX file is free and needs no account. Hand `gpx_url` to a person who wants the course on a watch. Args: - slug (string): From ourpr_list_courses. - include_polyline (boolean): Add the encoded centerline, about 9,800 characters. Default false. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "course_type": string, "distance_mi": number, "start": { "lat": number, "lng": number } | null, "finish": { "lat": number, "lng": number } | null, "bbox": { "min_lat": number, "min_lng": number, "max_lat": number, "max_lng": number } | null, "mile_markers": [{ "mile": number, "lat": number, "lng": number }], "streets_in_order": [{ "name": string, "from_mi": number, "to_mi": number }], "polyline": string | null, "gpx_url": string, "page_url": string } On an out-and-back the start and the finish are the same point, by design. Examples: - "Send me the Boston course for my watch" -> read gpx_url - "What streets does Dallas run down?" -> read streets_in_order - "Where does Honolulu start?" -> read start Error handling: - Returns the slug list suggestion when the slug is unknown.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "The course's slug."
    },
    "include_polyline": {
      "type": "boolean",
      "default": false,
      "description": "Add the encoded centerline. It runs to about 9,800 characters and only helps if you will decode it. Leave it off and hand over `gpx_url` instead."
    },
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "course_type": {
      "type": "string"
    },
    "distance_mi": {
      "type": "number"
    },
    "start": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "lat": {
              "type": "number"
            },
            "lng": {
              "type": "number"
            }
          },
          "required": [
            "lat",
            "lng"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "finish": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "lat": {
              "type": "number"
            },
            "lng": {
              "type": "number"
            }
          },
          "required": [
            "lat",
            "lng"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "bbox": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "min_lat": {
              "type": "number"
            },
            "min_lng": {
              "type": "number"
            },
            "max_lat": {
              "type": "number"
            },
            "max_lng": {
              "type": "number"
            }
          },
          "required": [
            "min_lat",
            "min_lng",
            "max_lat",
            "max_lng"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "mile_markers": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "mile": {
            "type": "number"
          },
          "lat": {
            "type": "number"
          },
          "lng": {
            "type": "number"
          }
        },
        "required": [
          "mile",
          "lat",
          "lng"
        ],
        "additionalProperties": false
      }
    },
    "streets_in_order": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          },
          "from_mi": {
            "type": "number"
          },
          "to_mi": {
            "type": "number"
          }
        },
        "required": [
          "name",
          "from_mi",
          "to_mi"
        ],
        "additionalProperties": false
      }
    },
    "polyline": {
      "type": [
        "string",
        "null"
      ]
    },
    "gpx_url": {
      "type": "string"
    },
    "page_url": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "name",
    "course_type",
    "distance_mi",
    "start",
    "finish",
    "bbox",
    "mile_markers",
    "streets_in_order",
    "polyline",
    "gpx_url",
    "page_url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_list_trail_systems(response_format)

List every trail system ourpr. maps. A trail system is a whole network of connected paths, measured end to end, not a single route through it. Args: - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "count": number, "trail_systems": [{ "slug": string, // "trinity-trails" "name": string, "region": string | null, // "Fort Worth, TX" "total_mi": number, // the whole network, all branches "page_url": string }] } Examples: - "What trail networks does ourpr. map?" -> no arguments - "How big is Trinity Trails?" -> read total_mi, or call ourpr_get_trail_system - Do not use when: you want one measured route. Use ourpr_list_courses with kind='trail'.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "count": {
      "type": "number"
    },
    "trail_systems": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "slug": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "region": {
            "type": [
              "string",
              "null"
            ]
          },
          "total_mi": {
            "type": "number"
          },
          "page_url": {
            "type": "string"
          }
        },
        "required": [
          "slug",
          "name",
          "region",
          "total_mi",
          "page_url"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "count",
    "trail_systems"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_get_trail_system(slug, response_format)

Read one trail system: how many miles of path it holds, how many ways were mapped, where it sits, and where the measurement came from. Args: - slug (string): From ourpr_list_trail_systems. Example: 'trinity-trails'. - response_format ('markdown' | 'json'): Default 'markdown'. Returns: { "slug": string, "name": string, "region": string | null, "total_mi": number, // every branch summed "mapped_ways": number | null, // OpenStreetMap ways in the network "source": string | null, // how the network and its coverage were built "bbox": { "min_lat": number, "min_lng": number, "max_lat": number, "max_lng": number } | null, "page_url": string } `total_mi` counts the whole network. It is not a distance anyone runs in one go. Examples: - "How many miles of trail are in Fort Worth?" -> slug="trinity-trails" - "Where does the network reach?" -> read bbox Error handling: - Returns the slug list suggestion when the slug is unknown.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string",
      "minLength": 1,
      "maxLength": 120,
      "description": "The trail system's slug. Example: 'trinity-trails'."
    },
    "response_format": {
      "type": "string",
      "enum": [
        "markdown",
        "json"
      ],
      "default": "markdown",
      "description": "Output format. 'markdown' reads well in a chat answer. 'json' carries every field for further computation."
    }
  },
  "required": [
    "slug"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "slug": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "region": {
      "type": [
        "string",
        "null"
      ]
    },
    "total_mi": {
      "type": "number"
    },
    "mapped_ways": {
      "type": [
        "number",
        "null"
      ]
    },
    "source": {
      "type": [
        "string",
        "null"
      ]
    },
    "bbox": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "min_lat": {
              "type": "number"
            },
            "min_lng": {
              "type": "number"
            },
            "max_lat": {
              "type": "number"
            },
            "max_lng": {
              "type": "number"
            }
          },
          "required": [
            "min_lat",
            "min_lng",
            "max_lat",
            "max_lng"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "page_url": {
      "type": "string"
    }
  },
  "required": [
    "slug",
    "name",
    "region",
    "total_mi",
    "mapped_ways",
    "source",
    "bbox",
    "page_url"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_list_runs(start_date, end_date, include_non_runs, limit)

Training history between two dates, newest first: date, name, type, miles, pace, time, elevation, average heart rate. Start here for totals, streaks, trends, or finding a run. For one run's splits, use ourpr_get_run with an id from here.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "description": "First day to include, YYYY-MM-DD. Example: 2026-01-01"
    },
    "end_date": {
      "type": "string",
      "description": "Last day to include, YYYY-MM-DD. Example: 2026-06-30"
    },
    "include_non_runs": {
      "type": "boolean",
      "default": false,
      "description": "Include rides, gym and other types. Runs only by default."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "default": 100,
      "description": "Most rows to return. The answer says what it left out."
    }
  },
  "required": [
    "start_date",
    "end_date"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "runs": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "returned": {
      "type": "number"
    },
    "total_in_window": {
      "type": "number"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "runs",
    "returned",
    "total_in_window",
    "truncated"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_get_run(activity_id)

One activity in full: mile splits, heart rate, cadence, calories, device. Id comes from ourpr_list_runs. For the profile along the route, use ourpr_run_stream.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "activity_id": {
      "type": "string",
      "description": "Run id from ourpr_list_runs."
    }
  },
  "required": [
    "activity_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "run": {
      "type": "object",
      "additionalProperties": {}
    },
    "splits": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "run",
    "splits"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_run_stream(activity_id)

A run's profile on a 10 m grid — elevation, heart rate, power, cadence — as min, average, max and coverage per channel, not every sample. No profile is a normal answer for an indoor run.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "activity_id": {
      "type": "string",
      "description": "Run id from ourpr_list_runs."
    }
  },
  "required": [
    "activity_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "grid_m": {
      "type": "number"
    },
    "total_miles": {
      "type": "number"
    },
    "samples": {
      "type": "number"
    },
    "channels": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "grid_m",
    "total_miles",
    "samples",
    "channels"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_run_laps(activity_id)

The laps the watch recorded for one run — the runner's own button presses. Laps follow the workout; mile splits follow the mile.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "activity_id": {
      "type": "string",
      "description": "Run id from ourpr_list_runs."
    }
  },
  "required": [
    "activity_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "laps": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "laps"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_rep_workouts(limit)

Interval sessions found across the history, with reps and distances. Detection is conservative, so a session it misses is still in ourpr_list_runs.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "integer",
      "minimum": 10,
      "maximum": 1000,
      "default": 200,
      "description": "How many recent activities to read."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "workouts": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "scanned": {
      "type": "number"
    }
  },
  "required": [
    "workouts",
    "scanned"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_detect_reps(activity_id)

Whether one particular run was an interval session, and its reps.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "activity_id": {
      "type": "string",
      "description": "Run id from ourpr_list_runs."
    }
  },
  "required": [
    "activity_id"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "detection": {
      "type": "object",
      "additionalProperties": {}
    }
  },
  "required": [
    "detection"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_similar_terrain(miles, gain_ft, limit, tolerance_ft)

Stretches of past runs matching a distance and climb — what the runner has already done that resembles a race they are training for.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "miles": {
      "type": "number",
      "minimum": 0.1,
      "maximum": 200,
      "description": "Target distance in miles."
    },
    "gain_ft": {
      "type": "number",
      "minimum": 0,
      "maximum": 30000,
      "description": "Target climb in feet."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 25,
      "default": 8,
      "description": "How many to return."
    },
    "tolerance_ft": {
      "type": "number",
      "minimum": 1,
      "maximum": 200,
      "default": 15,
      "description": "Climb tolerance, feet."
    }
  },
  "required": [
    "miles",
    "gain_ft"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "matches": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "scanned": {
      "type": "number"
    }
  },
  "required": [
    "matches",
    "scanned"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_training_blocks(past)

The goal race and its Block: race day, distance, goal time, which week of the Block today falls in, and miles for each week. 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.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "past": {
      "type": "integer",
      "minimum": 0,
      "maximum": 30,
      "default": 3,
      "description": "How many past Blocks to include, newest first."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "goal": {
      "anyOf": [
        {
          "type": "object",
          "additionalProperties": {}
        },
        {
          "type": "null"
        }
      ]
    },
    "past": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "total_races": {
      "type": "number"
    }
  },
  "required": [
    "goal",
    "past",
    "total_races"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_list_races(distance, limit)

Every race ourpr. finds in the history, newest first, tune-ups included: date, name, distance, time, pace and run id. Also the fastest result at 5K, 10K, half marathon and marathon among them.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "distance": {
      "type": "string",
      "enum": [
        "5K",
        "10K",
        "Half Marathon",
        "Marathon",
        "Ultra"
      ],
      "description": "Only races at this distance."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 500,
      "default": 50,
      "description": "Most rows to return."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "races": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "fastest": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "returned": {
      "type": "number"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "races",
    "fastest",
    "returned",
    "total"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟢ourpr_list_plans(start_date, end_date)

The runner's planned runs between two dates: day, name, miles, time, tag, the runner's note, whether a logged run fulfilled it, and whether ourpr. create wrote it. Read it before ourpr_plan_week so a new plan does not land on a day that already holds one.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "start_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "First day, YYYY-MM-DD. Default yesterday, so today is in the window in every time zone."
    },
    "end_date": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "description": "Last day, YYYY-MM-DD. Default 13 days after the first."
    }
  },
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "plans": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    },
    "start_date": {
      "type": "string"
    },
    "end_date": {
      "type": "string"
    },
    "truncated": {
      "type": "boolean"
    }
  },
  "required": [
    "plans",
    "start_date",
    "end_date",
    "truncated"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}
🟡ourpr_plan_week(plans)

Write one planned run, or a week of them, onto days still ahead. Each lands on the runner's week as a plan they can see, edit and remove. Needs a token made with the write scope and ourpr. create. Never logs a run.

Eingabe-Schema

{
  "type": "object",
  "properties": {
    "plans": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "description": "YYYY-MM-DD, after today."
          },
          "miles": {
            "type": "number",
            "minimum": 0.1,
            "maximum": 200,
            "description": "Planned distance."
          },
          "minutes": {
            "type": "number",
            "minimum": 1,
            "maximum": 1440,
            "description": "Planned time."
          },
          "name": {
            "type": "string",
            "maxLength": 120,
            "description": "A short name for the run."
          },
          "note": {
            "type": "string",
            "maxLength": 500,
            "description": "A line the runner will read."
          },
          "tag": {
            "type": "string",
            "enum": [
              "easy",
              "workout",
              "race"
            ],
            "description": "How hard: easy, workout or race."
          },
          "is_long": {
            "type": "boolean",
            "description": "The week's long run."
          }
        },
        "required": [
          "date"
        ],
        "additionalProperties": false
      },
      "minItems": 1,
      "maxItems": 14,
      "description": "One run, or up to fourteen."
    }
  },
  "required": [
    "plans"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Ausgabe-Schema

{
  "type": "object",
  "properties": {
    "written": {
      "type": "array",
      "items": {
        "type": "object",
        "additionalProperties": {}
      }
    }
  },
  "required": [
    "written"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Community

Diesen Server bewerten

Nachweis

Aktuelle Beobachtungen

verifiziertVersion nicht aufgezeichnet18 Tools