Server definition
- Hash
- sha256:7e57935e83974c70df01645b25058d5cec53a970be8353f1c4ffff7aa6231b00
- What it is
- What a remote MCP server returned when asked what it offers: 11 tools
The blob, as servednamed by its sha256
{
"instructions": "CourtsApp finds and books racquet sport courts (pickleball, tennis, padel, etc.) and spots in open play sessions.\n\n## Links\nShare every link exactly as a tool returned it, query string included (it carries the booking details and where the visit came from). Do not shorten, clean or rebuild links.\n\n## Facility questions\nWhen the user asks about a specific facility (hours, address, phone number, amenities, policies, what sports it offers, courts, etc.), use get_facility_details. It accepts partial name matches, city, state, or zip. facilityId is optional: pass it only when you have a real facility id from another CourtsApp tool; otherwise use name and city/state or zip.\n\n## Time Handling\nPass date and time as separate plain values — no timezone conversion needed.\n - date: YYYY-MM-DD (e.g. \"2026-01-22\")\n - time: HH:MM 24-hour (e.g. \"15:00\")\nExamples:\n - User says \"3pm tomorrow\" → date: \"2026-01-23\", time: \"15:00\"\n - User says \"9am on Jan 22\" → date: \"2026-01-22\", time: \"09:00\"\n - User says \"noon\" → time: \"12:00\"\n - User says \"7:30pm\" → time: \"19:30\"\nThe server handles all timezone conversion internally.\n\n## Listing tiers\nFacilities have listingTier: bookable, connected, or listed.\n- bookable: checkout through CourtsApp. comingSoon: true means they are joining but not taking CourtsApp bookings yet.\n- connected: host a CourtsApp page and send the user to the facility booking URL (bookingUrl). Never create a CourtsApp checkout for them.\n- listed: host a CourtsApp page and send the user to the facility website. Do not search availability or create a CourtsApp checkout.\nsearch_courts without a sport (or with only a state) lists bookable, connected, and listed clubs (places to play, no times). With a sport and a place to search around, the results are bookable clubs with open times first, then up to 10 nearby connected facilities (listingTier: connected, no times): offer them after the bookable ones and send the user to their bookingUrl; then up to 10 nearby listed facilities (listingTier: listed, no times). The card shows the first 8 clubs and its Map button shows all of them: name the rest in text if the user wants more.\n\nWhen a facility is coming soon:\n- Tell the user the facility is on CourtsApp but not bookable yet — it will be soon.\n- Do not search availability or generate a booking link for coming-soon facilities.\n- Offer to share any details you do have (location, sports, amenities) and suggest they check back soon.\n\n## Workflow\n- User wants to find places to play, see open court times, or book in an area (\"courts near me\", \"pickleball in Austin\") → search_courts with the location (city+state, zip, or lat+lng) and the sport if they named one. Sport is what unlocks live open times: with a sport you get today's open times; without one you get places to play, not times, and the hint says to ask which sport. A state alone only lists places to play: ask for a city or zip to show times.\n- Date is optional and defaults to today: pass it only when the user named a day. Time is optional: if the user gave none, leave it out and the results start at the earliest open time (from now if today, otherwise from 6am); then ask whether they want a specific time. Duration defaults to 60 minutes when the user does not specify one.\n- User picks a time to book → get_booking_link with the facilityId, sportId, date, time, and duration from the results\n- After a place list, if the user wants times, ask which sport (if you do not have one) and a city or zip (if you only have a state), then call search_courts again.\n- User asks about a specific facility (hours, amenities, location, policies, courts, sports, etc.) → get_facility_details\n- User wants open play, drop-in, or to join a session/game with other players (not reserve a whole court) → if they named a facility, call search_open_play with facilityName right away; otherwise collect location (date, time, and level are optional) → search_open_play → ask user to pick a session → give them that session's url\n- User wants a coach or private lessons (\"tennis lessons near me\", \"a pickleball coach in Phoenix\") → search_lessons with the sport and a location (city+state or zip) → user picks a coach → get_lesson_times with that coach's listingId and locationId → user picks a time → share that time's checkoutUrl exactly as returned (TeachMe.To's checkout with the coach, place and time filled in; no name, email or phone needed). The user adds their details and pays on TeachMe.To; CourtsApp does not charge for lessons. See Lessons.\n- User wants a tournament or league to play in (\"pickleball tournaments near me\", \"is there a Moneyball this weekend\") → search_tournaments with the sport and a location (city+state or zip); pass q or name for an event name. Location, dates, and type (tournament or league) are optional. Give the user the event's url to register: CourtsApp does not register anyone.\n\n## Open Play\nOpen play is a scheduled drop-in session where players buy individual spots and are grouped by level; the facility assigns courts. It is NOT a court reservation: never use search_courts open times or get_booking_link for it, and never send an open play url for a court rental. Prices are per player and one booking takes 1–4 spots. Say the level (e.g. Intermediate), the facility-local time from the session's when field, the per-player price, and spots left. The url opens the CourtsApp page where the user picks how many spots, signs in, and pays — you cannot reserve a spot yourself and spots are not held until checkout.\n\n## Per-Player Fees & Check-In Policies\nSome facilities charge a per-player fee on top of the court rental. When a facility has perPlayerFeeDollars and/or perPlayerFeePolicy in its data, you MUST proactively mention this to the user — it affects total cost. Present the fee clearly (e.g. \"$5 per player\") and relay the facility's policy text so the user knows what to expect. Before calling get_booking_link for those facilities, ask how many players (1–8) and pass that as players so the booking link and total price include the fee. If the user does not say, default is 2. Similarly, when a facility has a checkInPolicy, share it with the user so they know the check-in procedure.\n\n## Lessons\nWhen the lesson tools are available and the user wants a coach or private lessons (pickleball or tennis only), the steps are:\n1. search_lessons with sport and a location (city+state or zip). Each coach comes with listingId, locationId, prices and nextOpen, the soonest open time in the coach's local time (with its own checkoutUrl).\n2. get_lesson_times with the chosen coach's listingId and the locationId from the search. Add startDate and endDate for a day or a weekend, earliestTime and latestTime for a time of day, lessonLength if the user wants 30, 90 or 120 minutes. It returns the coach's locations, prices (TeachMe.To quotes for one student, fees included: one lesson, and the 10-lesson pack where the coach sells one) and open times grouped by day, each with a checkoutUrl in the location's own time zone: say times as given, never converted to the user's zone, and offer two or three, not the whole list.\n3. Once the user picks a time, share that time's checkoutUrl (from get_lesson_times, or nextOpen.checkoutUrl from the search) exactly as returned, never edited. It opens TeachMe.To's checkout with the coach, place and time already filled in, for one lesson; the player adds their own details and pays there. Do NOT ask the user for their name, email or phone: none is needed. (The CourtsApp card shows this as one button, so you may have nothing to do here.) A time with no checkoutUrl can use the coach's own TeachMe.To page (teachmeUrl), where the player picks the time again. Times start 18 hours out, since coaches need that much notice: no time sooner is offered.\n4. Optional, only if the user asks to have their own details filled in on the checkout for them (or wants a pack of lessons): ask for the student's full name, email address and phone number, and how many lessons (default 1), tell them these go to TeachMe.To, then call get_lesson_booking_link with the coach's listingId, the locationId, the picked time's slotKey exactly as returned, the lessonLength, the lessons count and those three details. Share paymentUrl exactly as returned, with the total and what it covers.\nCourtsApp does not charge for lessons and never takes payment for them: the user finishes and pays on TeachMe.To. The time is a request, not a reservation: after the user pays, the coach accepts it or suggests another time. Never say a lesson is booked, confirmed or paid, and never say CourtsApp booked it. If a time was just taken, call get_lesson_times again and offer another.\nPrices are all-in totals (service and other fees included) in the currency shown. Say prices per lesson: startingPrice is the per-lesson rate when buying a 10-lesson pack (\"from $X per lesson\") and singleLessonPrice is one lesson (null means it is not listed, so do not guess it). The exact total for the chosen time and number of lessons comes back with the checkout link. Never quote a coach, time or price the tools did not return. If nobody is nearby, say so.\n\n## Tournaments\nsearch_tournaments finds tournaments and leagues from CourtsApp's event catalog. It is read-only: CourtsApp does not register anyone or sell entries, so never say the user is registered or signed up. Each event's url is the organizer's registration page: share it exactly as returned and let the user register there.\nWith a city or zip it returns events within 150 miles, soonest first, with distanceMiles. If nothing is that close the result says so and lists the 2 nearest: lead with \"nothing near you\", name them with how far away they are, and never call them nearby. Without a location it returns the soonest events anywhere.\nstartDate and endDate are calendar days: say them exactly as given, never shifted for a time zone. Prices are priceMinCents to priceMaxCents in the event's currency (cents; 0 means free): say a range, or one amount when they are equal. closingSoon means registration closes within 5 days: say the registrationCloseDate. Never quote an event, date, or price the tool did not return.\n",
"tools": [
{
"description": "Get a booking link for a court.\nRequires facilityId, date, time, sportId, and duration.\nOptional players (1–8, default 2) pre-fills the booking page and is used for per-player fee totals.\nReturns a URL to the booking page with pre-filled details and pricing info (court + player fees).",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"date": {
"description": "YYYY-MM-DD (from the slot the user picked)",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"duration": {
"description": "Duration in minutes, e.g. 60 (from the slot the user picked)",
"exclusiveMinimum": 0,
"maximum": 9007199254740991,
"type": "integer"
},
"facilityId": {
"description": "Facility UUID from search_courts results",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"players": {
"default": 2,
"description": "Optional number of players (1–8). Defaults to 2. Required for accurate totals when the facility charges a per-player fee — ask the user before calling when perPlayerFeeDollars is set.",
"maximum": 8,
"minimum": 1,
"type": "integer"
},
"sportId": {
"description": "Sport UUID from search_courts results",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"surface": {
"description": "Optional surface filter (e.g. \"Hard\", \"Clay\")",
"type": "string"
},
"time": {
"description": "HH:MM 24-hour (from the slot the user picked)",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"required": [
"facilityId",
"sportId",
"duration"
],
"type": "object"
},
"name": "get_booking_link",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"bookingUrl": {
"type": "string"
},
"date": {
"type": "string"
},
"duration": {
"type": "string"
},
"facilityImage": {
"type": "string"
},
"facilityName": {
"type": "string"
},
"perPlayerFeeDollars": {
"type": "number"
},
"playerFeeCents": {
"type": "number"
},
"players": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"sport": {
"type": "string"
},
"subtotalCents": {
"type": "number"
},
"surface": {
"type": "string"
},
"taxCents": {
"type": "number"
},
"time": {
"type": "string"
},
"totalCents": {
"type": "number"
}
},
"required": [
"facilityName",
"facilityImage",
"sport",
"surface",
"date",
"time",
"duration",
"players",
"bookingUrl",
"address",
"subtotalCents",
"playerFeeCents",
"taxCents",
"totalCents"
],
"type": "object"
}
},
{
"description": "The coach card calls this when someone opens a coach's profile. It is not needed to find a coach, which search_lessons does. Read-only: it returns the bio, the places, the lesson lengths and the cancellation policy. It does not return a price.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"listingId": {
"description": "The coach's listingId from search_lessons.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
}
},
"required": [
"listingId"
],
"type": "object"
},
"name": "get_coach_profile",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"acceptingNewStudents": {
"type": "boolean"
},
"bio": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"cancellation": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"guarantee": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"headline": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lessonCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"lessonLengths": {
"items": {
"type": "integer"
},
"type": "array"
},
"listingId": {
"type": "string"
},
"locations": {
"items": {
"additionalProperties": false,
"properties": {
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"name": {
"type": "string"
}
},
"required": [
"name",
"city"
],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
}
},
"required": [
"listingId",
"name",
"photoUrl",
"headline",
"bio",
"rating",
"reviewCount",
"lessonCount",
"acceptingNewStudents",
"lessonLengths",
"cancellation",
"guarantee",
"locations"
],
"type": "object"
}
},
{
"description": "Use this when the user asks about a specific facility: hours, address, phone number, amenities, policies, what sports it offers, or its courts. Looks the facility up in the CourtsApp database.\nAccepts partial name matches, city, state, or zip. facilityId is optional — use it only when you already have a real facility id from another CourtsApp tool; otherwise use name and location fields. At least one search field is required.\nReturns up to 5 matching facilities, bookable first, then connected, then listed, by name. Each includes: name, listingTier (bookable, connected, or listed), comingSoon status, description/about, seoDescription, timezone, full address, phone number, website, bookingUrl, hours of operation, amenities, booking/cancellation policies, per-player fees, check-in policy, available sports, indoorCourtCount, outdoorCourtCount, courtSurfaces, courtGroups (listed and connected: courts per sport, setting, and surface), bookable court details (name, environment, surface, sports), lat and lng (when known), photos (photoUrl is the first), and a link to the facility page. website and bookingUrl are https links, or null when the stored value is missing or not a normal web URL.\nFacilities with comingSoon: true are joining CourtsApp but not yet bookable. For connected facilities, send the user to bookingUrl. For listed facilities, send the user to website. Do not search availability or create a CourtsApp checkout for either.\nbookingPolicies.advanceBookingDays is the maximum advance booking window across all sports. When different sports have different windows, advanceBookingDaysBySport lists each sport and its window (e.g. Pickleball 7 days, Tennis 14 days). If a user asks about a date that one sport allows but another doesn't, explain which sport(s) can be booked that far out and which cannot.\nWhen bookingPolicies includes perPlayerFeeDollars or perPlayerFeePolicy, tell the user about the per-player fee — it affects total cost beyond the court rental price. When checkInPolicy is present, share it so the user knows what to expect on arrival.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"city": {
"description": "City name (case-insensitive partial match). E.g. \"Austin\", \"New York\".",
"type": "string"
},
"facilityId": {
"description": "Optional. Must be a valid UUID string (RFC 4122) when provided — used for exact lookup by id. Omit when searching by name, city, state, or zip instead.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"name": {
"description": "Facility name or partial name (case-insensitive). E.g. \"Lifetime\", \"Central Park Tennis\", \"YMCA\".",
"maxLength": 100,
"type": "string"
},
"state": {
"description": "State name or abbreviation (case-insensitive). E.g. \"Texas\", \"TX\", \"New York\", \"NY\".",
"type": "string"
},
"zip": {
"description": "Zip/postal code (exact match)",
"type": "string"
}
},
"type": "object"
},
"name": "get_facility_details",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"facilities": {
"items": {
"additionalProperties": false,
"properties": {
"about": {
"type": "string"
},
"address": {
"type": "string"
},
"amenities": {
"items": {
"type": "string"
},
"type": "array"
},
"bookingPolicies": {
"additionalProperties": false,
"properties": {
"advanceBookingDays": {
"type": "number"
},
"advanceBookingDaysBySport": {
"items": {
"additionalProperties": false,
"properties": {
"days": {
"type": "number"
},
"sport": {
"type": "string"
}
},
"required": [
"sport",
"days"
],
"type": "object"
},
"type": "array"
},
"cancellationWindowHours": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"checkInPolicy": {
"type": "string"
},
"hasGuestFee": {
"type": "boolean"
},
"perPlayerFeeDollars": {
"type": "number"
},
"perPlayerFeePolicy": {
"type": "string"
}
},
"required": [
"advanceBookingDays",
"hasGuestFee"
],
"type": "object"
},
"bookingUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"type": "string"
},
"comingSoon": {
"type": "boolean"
},
"courtGroups": {
"items": {
"additionalProperties": false,
"properties": {
"count": {
"type": "number"
},
"setting": {
"type": "string"
},
"sportName": {
"type": "string"
},
"surface": {
"type": "string"
}
},
"required": [
"sportName",
"setting",
"surface",
"count"
],
"type": "object"
},
"type": "array"
},
"courtSurfaces": {
"items": {
"type": "string"
},
"type": "array"
},
"courts": {
"items": {
"additionalProperties": false,
"properties": {
"environment": {
"type": "string"
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"sports": {
"items": {
"type": "string"
},
"type": "array"
},
"surface": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"environment",
"sports"
],
"type": "object"
},
"type": "array"
},
"hoursOfOperation": {
"items": {
"additionalProperties": false,
"properties": {
"close": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"day": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"open": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"type": "object"
},
"type": "array"
},
"id": {
"type": "string"
},
"indoorCourtCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"lat": {
"type": "number"
},
"listingTier": {
"enum": [
"listed",
"connected",
"bookable"
],
"type": "string"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
},
"outdoorCourtCount": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"phone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"photos": {
"items": {
"type": "string"
},
"type": "array"
},
"seoDescription": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sports": {
"items": {
"additionalProperties": false,
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"type": "object"
},
"type": "array"
},
"state": {
"type": "string"
},
"timezone": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"zipCode": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"comingSoon",
"listingTier",
"about",
"courtSurfaces",
"courtGroups",
"timezone",
"address",
"city",
"state",
"amenities",
"hoursOfOperation",
"bookingPolicies",
"sports",
"courts"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"facilities"
],
"type": "object"
}
},
{
"description": "Lists every open court time at one bookable CourtsApp facility on one day, grouped by indoor or outdoor and surface, with per-hour prices and a booking link for each. The CourtsApp facility card calls this to show a club's times on its profile; it is not needed to find courts for a user, which search_courts does (it returns the first few times per club). Needs the facility's id (from search_courts or get_facility_details). The date is optional and defaults to today where the facility is (tomorrow when nothing is left today); sport defaults to the facility's first sport.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"date": {
"description": "Day to list, YYYY-MM-DD. Defaults to today where the facility is.",
"format": "date",
"type": "string"
},
"facilityId": {
"description": "The facility's id (a UUID), as returned by search_courts or get_facility_details.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"sport": {
"description": "Sport slug or name, e.g. \"pickleball\" or \"Table Tennis\". Defaults to the facility's first sport.",
"type": "string"
}
},
"required": [
"facilityId"
],
"type": "object"
},
"name": "get_facility_times",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"date": {
"description": "The day listed, YYYY-MM-DD.",
"type": "string"
},
"facilityId": {
"type": "string"
},
"groups": {
"items": {
"additionalProperties": false,
"properties": {
"setting": {
"enum": [
"Indoor",
"Outdoor"
],
"type": "string"
},
"slots": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"description": "YYYY-MM-DD.",
"type": "string"
},
"discountedPrice": {
"description": "Price per hour after any discount, in cents.",
"type": "number"
},
"duration": {
"description": "Minutes.",
"type": "number"
},
"originalPrice": {
"description": "List price per hour, in cents.",
"type": "number"
},
"startTime": {
"description": "Start time in the club's local time, HH:MM (24-hour).",
"type": "string"
},
"url": {
"description": "The CourtsApp booking page for this time.",
"type": "string"
}
},
"required": [
"startTime",
"date",
"duration",
"originalPrice",
"discountedPrice",
"url"
],
"type": "object"
},
"type": "array"
},
"surface": {
"description": "Short surface name, e.g. Hard.",
"type": "string"
}
},
"required": [
"setting",
"surface",
"slots"
],
"type": "object"
},
"type": "array"
},
"rolledOver": {
"description": "True when no date was given and nothing was left today, so this is tomorrow.",
"type": "boolean"
},
"sport": {
"description": "Sport slug.",
"type": "string"
},
"sportName": {
"type": "string"
}
},
"required": [
"facilityId",
"sport",
"sportName",
"date",
"rolledOver",
"groups"
],
"type": "object"
}
},
{
"description": "Optional: use this only when the user asks to have their own details filled in on the checkout for them. The default way to book needs no contact details: share the picked time's checkoutUrl from get_lesson_times exactly as returned. This tool prepares a TeachMe.To checkout for that lesson and returns a link where the user pays, with the coach, location, time and the student's details already filled in.\nIt sends the student's full name, email address and phone number to TeachMe.To to prepare that checkout (they are what lets TeachMe.To fill them in), and creates their TeachMe.To account if the email is new. Ask the user for all three first, and use only what the user gave you. Nothing is charged by this tool, and CourtsApp takes no payment for lessons: the user pays on TeachMe.To, and the coach then accepts the time or suggests another, so it is a request, never a confirmed booking.\nRequires listingId, locationId and slotKey (from get_lesson_times, exactly as returned), lessonLength (minutes, the one used for the times), studentName, studentEmail and studentPhone. lessons is how many lessons to buy as a prepaid pack, 1-20 (default 1).\nReturns paymentUrl (share it exactly as returned), the coach, location and local time, and the quote: lessons, pricePerLesson, fees, total and currency.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"lessonLength": {
"description": "Lesson length in minutes: the lessonLength of the times the user picked from.",
"enum": [
30,
60,
90,
120
],
"type": "integer"
},
"lessons": {
"default": 1,
"description": "How many lessons to buy as a prepaid pack (1-20). Defaults to 1. The first lesson is at the time picked.",
"maximum": 20,
"minimum": 1,
"type": "integer"
},
"listingId": {
"description": "The coach's listingId from search_lessons or get_lesson_times.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationId": {
"description": "The locationId the time is at, from get_lesson_times.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"slotKey": {
"description": "The slotKey of the time the user picked, copied exactly as returned. It cannot be edited.",
"maxLength": 2000,
"minLength": 1,
"type": "string"
},
"studentEmail": {
"description": "The student's email address, as the user gave it.",
"maxLength": 254,
"minLength": 3,
"type": "string"
},
"studentName": {
"description": "The student's full name, as the user gave it.",
"maxLength": 200,
"minLength": 1,
"type": "string"
},
"studentPhone": {
"description": "The student's phone number with area code, as the user gave it.",
"maxLength": 40,
"minLength": 7,
"type": "string"
}
},
"required": [
"listingId",
"locationId",
"slotKey",
"lessonLength",
"studentName",
"studentEmail",
"studentPhone"
],
"type": "object"
},
"name": "get_lesson_booking_link",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"coach": {
"additionalProperties": false,
"properties": {
"listingId": {
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sport": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"listingId",
"name",
"photoUrl",
"sport"
],
"type": "object"
},
"hint": {
"type": "string"
},
"lesson": {
"additionalProperties": false,
"properties": {
"date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"endAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"label": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lengthMinutes": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"startAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"time": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezoneAbbrev": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"startAt",
"endAt",
"timezone",
"timezoneAbbrev",
"date",
"time",
"label",
"lengthMinutes"
],
"type": "object"
},
"linkExpiresAt": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"location": {
"additionalProperties": false,
"properties": {
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"city",
"state"
],
"type": "object"
},
"paymentUrl": {
"type": "string"
},
"quote": {
"additionalProperties": false,
"properties": {
"currency": {
"type": "string"
},
"discounts": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"amount"
],
"type": "object"
},
"type": "array"
},
"fees": {
"items": {
"additionalProperties": false,
"properties": {
"amount": {
"type": "number"
},
"name": {
"type": "string"
}
},
"required": [
"name",
"amount"
],
"type": "object"
},
"type": "array"
},
"lessons": {
"type": "integer"
},
"pricePerLesson": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"savings": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"total": {
"type": "number"
}
},
"required": [
"lessons",
"pricePerLesson",
"fees",
"discounts",
"savings",
"total",
"currency"
],
"type": "object"
}
},
"required": [
"paymentUrl",
"linkExpiresAt",
"coach",
"location",
"lesson",
"quote",
"hint"
],
"type": "object"
}
},
{
"description": "Use this when the user has picked a coach from search_lessons and wants to see when that coach is free for a private lesson. Not for court times (search_courts).\nRead-only: it shows the coach's open lesson times at one location and does not book anything. Pass the coach's listingId and the locationId from search_lessons (a coach who teaches at several places needs one). Optional: lessonLength in minutes (30, 60, 90 or 120; default the coach's usual length), startDate and endDate (YYYY-MM-DD, local days at the location; default the next 7 days, at most 14; times start 18 hours out, since coaches need that much notice), and earliestTime and latestTime (HH:MM, local) to narrow each day, for example evenings.\nReturns the coach (with teachmeUrl, their own TeachMe.To page, where the player chooses a location, date and time themselves), the location and the coach's other locations, the lesson length, prices (TeachMe.To quotes for one student, fees included: one lesson, and the 10-lesson pack where the coach sells one; the exact total comes back with the checkout link) and open times grouped by local day, each with a slotKey and a checkoutUrl (TeachMe.To's checkout for that time with the coach, place and time already filled in: to book, share it exactly as returned; no contact details are needed). Times are in the location's own time zone. Each day shows a spread of its times and openTimes says how many there are in all; at most 4 days are shown.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"earliestTime": {
"description": "Only times starting at or after this local time, HH:MM 24-hour (for example 17:00 for evenings).",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"endDate": {
"description": "Last day to show, YYYY-MM-DD. Defaults to a week from the first day; at most 14 days in all.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
},
"latestTime": {
"description": "Only times starting at or before this local time, HH:MM 24-hour.",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
},
"lessonLength": {
"description": "Lesson length in minutes. Leave out for the coach's usual length.",
"enum": [
30,
60,
90,
120
],
"type": "integer"
},
"listingId": {
"description": "The coach's listingId from search_lessons.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"locationId": {
"description": "The locationId from search_lessons (the coach's place nearest the user). Needed when the coach teaches at more than one place.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"startDate": {
"description": "First day to show, YYYY-MM-DD, a local day at the location. Defaults to today.",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
"required": [
"listingId"
],
"type": "object"
},
"name": "get_lesson_times",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"coach": {
"additionalProperties": false,
"properties": {
"listingId": {
"type": "string"
},
"name": {
"type": "string"
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"teachmeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"listingId",
"name",
"photoUrl",
"rating",
"teachmeUrl"
],
"type": "object"
},
"currency": {
"type": "string"
},
"days": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"label": {
"type": "string"
},
"openTimes": {
"type": "integer"
},
"slots": {
"items": {
"additionalProperties": false,
"properties": {
"checkoutUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slotKey": {
"type": "string"
},
"startAt": {
"type": "string"
},
"time": {
"type": "string"
}
},
"required": [
"startAt",
"time",
"slotKey",
"checkoutUrl"
],
"type": "object"
},
"type": "array"
},
"timezoneAbbrev": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"date",
"label",
"timezoneAbbrev",
"openTimes",
"slots"
],
"type": "object"
},
"type": "array"
},
"daysWithOpenings": {
"type": "integer"
},
"hint": {
"type": "string"
},
"lessonLength": {
"type": "integer"
},
"lessonLengths": {
"items": {
"type": "integer"
},
"type": "array"
},
"location": {
"additionalProperties": false,
"properties": {
"address": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"timezone": {
"type": "string"
},
"timezoneAbbrev": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"address",
"city",
"state",
"timezone",
"timezoneAbbrev"
],
"type": "object"
},
"locations": {
"items": {
"additionalProperties": false,
"properties": {
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"online": {
"type": "boolean"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"city",
"state",
"online"
],
"type": "object"
},
"type": "array"
},
"moreDays": {
"type": "integer"
},
"prices": {
"items": {
"additionalProperties": false,
"properties": {
"lessons": {
"type": "integer"
},
"perLesson": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"lessons",
"perLesson",
"total"
],
"type": "object"
},
"type": "array"
},
"range": {
"additionalProperties": false,
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to"
],
"type": "object"
}
},
"required": [
"coach",
"location",
"locations",
"lessonLength",
"lessonLengths",
"currency",
"prices",
"range",
"days",
"daysWithOpenings",
"moreDays",
"hint"
],
"type": "object"
}
},
{
"description": "Records that someone followed a link on a CourtsApp card, for CourtsApp's own click statistics. The CourtsApp cards call this when a link is opened; it is not needed to answer a user and does not need to be called. It keeps the kind of link, the club's id, the destination's host and path and its utm_* tags, and which assistant showed the card, and nothing about the person.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"facilityId": {
"description": "The facility's id (a UUID), when the card knows it.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"kind": {
"description": "What kind of link it was.",
"enum": [
"facility_page",
"slot",
"book",
"booking_link",
"club_site",
"open_play",
"tournament",
"lesson_checkout",
"lesson_page",
"directions",
"other"
],
"type": "string"
},
"url": {
"description": "The link that was opened (http or https).",
"maxLength": 2048,
"minLength": 8,
"type": "string"
}
},
"required": [
"url",
"kind"
],
"type": "object"
},
"name": "record_click",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"ok": {
"description": "True when the click was recorded.",
"type": "boolean"
}
},
"required": [
"ok"
],
"type": "object"
}
},
{
"description": "Use this when the user wants to find places to play racquet sports (pickleball, tennis, padel, badminton, racquetball, squash, table tennis) near a location, or wants to see open court times.\nSport is what unlocks live open times. With a sport and a place to search around (city+state, zip code, lat+lng, or a facilityName) it returns live open times at nearby bookable clubs, followed by nearby connected and listed clubs without times (up to 10 of each). The card shows the first 8 clubs and its Map button shows all of them, so name the rest in text if the user wants more. The date is optional and defaults to today (the date where the clubs are, and if nothing more is open today the results move on to the next day), so \"near me\" or \"now\" needs no date. Time is optional: without it the tool returns the earliest open times (from now if the date is today, otherwise from 6am). Duration is optional and defaults to 60 minutes. Returns sportId (use for get_booking_link), facilities with available slots, and hint. Facilities may include perPlayerFeeDollars, perPlayerFeePolicy, and checkInPolicy when set — mention these to the user when present.\nWithout a sport it lists nearby places to play instead, not live times, and the hint says to ask the user which sport. A state alone also lists places only (a state is too wide to search around), and the hint says to ask for a city or zip. Search by city+state, zip code, or lat+lng (nearest clubs within 50 miles), by state alone (listed by name), or look up one club with facilityName. Returns up to 50 bookable (including coming soon), 25 connected, and 25 listed facilities (10 of each for a state alone), bookable first, each with a photo, address, lat and lng (when known), sports, court count, and the CourtsApp page url (plus distance for radius searches).\nThe result has mode: \"times\" (live open times) or \"directory\" (places to play, no times). To turn a place list into open times, ask the user for what the hint says (the sport, or a city or zip) and call this tool again.\nFor connected facilities, send the user to bookingUrl. For listed facilities, send the user to website. Do not create a CourtsApp checkout for either. Facilities with comingSoon: true are joining CourtsApp but are not yet bookable.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"date": {
"description": "Optional date to check live open times, as YYYY-MM-DD (e.g. \"2026-01-22\"). Defaults to today where the clubs are, so leave it out when the user named no day. Used with a sport.\nPass the user's spoken date directly — no timezone conversion.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"duration": {
"default": 60,
"description": "Optional play duration in minutes, used with a sport: 30, 60, 90 or 120. Defaults to 60.",
"enum": [
30,
60,
90,
120
],
"type": "integer"
},
"facilityName": {
"description": "Name of a club to find. With a sport it shows that club's live open times (a location is optional, the club says where to look) by narrowing the nearby bookable clubs by name and, if the location search finds none, searching by name instead. Without a sport it returns the clubs whose name has every word, in any area (a city, zip or coordinates only put the nearest first).",
"maxLength": 100,
"type": "string"
},
"location": {
"description": "Where to search. Accepts city+state, city-only, state-only, zip, or lat+lng. City+state or zip are preferred for accuracy. City-only may return broader results. Never use 0,0 or guess coordinates. A state alone lists that state's clubs by name (places only, no live times): live times need a city, zip, or lat+lng.",
"properties": {
"city": {
"type": "string"
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
},
"maxResults": {
"description": "Only used for live open times (with a sport). Number of facilities with open times to return (1–10, default 3). Use more when the user wants to compare options.",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"sortBy": {
"description": "Only used for live open times (with a sport). How to sort results. \"distance\" (default) returns closest facilities first. \"price\" returns cheapest facilities first.",
"enum": [
"distance",
"price"
],
"type": "string"
},
"sport": {
"description": "Sport to look for. Pass it whenever the user names one: with a sport and a location the tool returns live open times; without one it only lists places to play (and the hint says to ask which sport). Case-insensitive. Common aliases accepted (e.g. \"ping pong\" → table-tennis, \"paddle\" → padel).",
"enum": [
"tennis",
"pickleball",
"padel",
"table-tennis",
"badminton",
"racquetball",
"squash"
],
"type": "string"
},
"time": {
"description": "Optional start time as HH:MM in 24-hour format (e.g. \"15:00\" or \"9:00\"), used with a sport. Omit it when the user gave no time; results then start at the earliest open time that day (from now if today, otherwise from 6am).\nPass the user's spoken time directly — no timezone conversion.",
"pattern": "^\\d{2}:\\d{2}$",
"type": "string"
}
},
"type": "object"
},
"name": "search_courts",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"facilities": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"bookingUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"checkInPolicy": {
"type": "string"
},
"city": {
"type": "string"
},
"clickTrackUrl": {
"type": "string"
},
"comingSoon": {
"type": "boolean"
},
"courtCount": {
"type": "number"
},
"distance": {
"type": "number"
},
"id": {
"type": "string"
},
"lat": {
"type": "number"
},
"listingTier": {
"enum": [
"bookable",
"connected",
"listed"
],
"type": "string"
},
"lng": {
"type": "number"
},
"name": {
"type": "string"
},
"paidListing": {
"type": "boolean"
},
"perPlayerFeeDollars": {
"type": "number"
},
"perPlayerFeePolicy": {
"type": "string"
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"slots": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"discountedPrice": {
"type": "number"
},
"duration": {
"type": "number"
},
"environment": {
"description": "Indoor or Outdoor. Left out when CourtsApp does not say.",
"enum": [
"Indoor",
"Outdoor"
],
"type": "string"
},
"id": {
"type": "string"
},
"originalPrice": {
"type": "number"
},
"startTime": {
"type": "string"
},
"surface": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"surface",
"startTime",
"date",
"duration",
"originalPrice",
"discountedPrice",
"url"
],
"type": "object"
},
"type": "array"
},
"sport": {
"type": "string"
},
"sportSlug": {
"type": "string"
},
"sports": {
"items": {
"type": "string"
},
"type": "array"
},
"state": {
"type": "string"
},
"url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"website": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"zipCode": {
"type": "string"
}
},
"required": [
"id",
"name",
"city",
"state"
],
"type": "object"
},
"type": "array"
},
"fallbackReason": {
"type": "string"
},
"hint": {
"type": "string"
},
"mode": {
"enum": [
"directory",
"times"
],
"type": "string"
},
"sportId": {
"type": "string"
}
},
"required": [
"mode",
"facilities",
"hint"
],
"type": "object"
}
},
{
"description": "Use this when the user wants a coach or private lessons for pickleball or tennis near a location. Not for court availability (search_courts) or open play (search_open_play).\nRead-only: it finds TeachMe.To coaches within 25 miles who have an open lesson time in the next two weeks (times start 18 hours out, since coaches need that much notice), and does not book anything. Next, get_lesson_times shows a coach's open times, and each time has a checkoutUrl: TeachMe.To's checkout with the coach, place and time already filled in, where the user pays on TeachMe.To.\nRequires sport and a location (city+state, zip, or lat+lng). A state alone is too broad, so ask for a city or zip code. maxResults is 1-6 (default 3).\nReturns coaches, each with listingId and locationId (pass both to get_lesson_times), name, rating, reviewCount, a short headline, distanceMiles, city, singleLessonPrice (one lesson, all fees included; null when not listed, never guess it), startingPrice (the per-lesson rate when buying a 10-lesson pack, so say \"from $X per lesson\") and nextOpen (the soonest open time in the coach's local time, with its slotKey and checkoutUrl: share that link exactly as returned to book it; the player needs to give no contact details). Each coach also has locations (where they teach near the search, nearest first, with distanceMiles) and teachmeUrl, their own TeachMe.To page, where the player chooses a location, date and time themselves.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"location": {
"description": "Where to look (25-mile radius). City+state or zip are preferred. A state alone is too broad. Use lat+lng only if the user provided real coordinates. Never use 0,0 or guess coordinates.",
"properties": {
"city": {
"type": "string"
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
},
"maxResults": {
"description": "Number of coaches to return (1-6, default 3).",
"maximum": 6,
"minimum": 1,
"type": "integer"
},
"sport": {
"description": "Sport to find a coach for: pickleball or tennis.",
"enum": [
"pickleball",
"tennis"
],
"type": "string"
}
},
"required": [
"sport"
],
"type": "object"
},
"name": "search_lessons",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"coaches": {
"items": {
"additionalProperties": false,
"properties": {
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"distanceMiles": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"headline": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"lessonCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"lessonLengths": {
"items": {
"type": "integer"
},
"type": "array"
},
"listingId": {
"type": "string"
},
"locationId": {
"type": "string"
},
"locationName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"locations": {
"items": {
"additionalProperties": false,
"properties": {
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"distanceMiles": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"online": {
"type": "boolean"
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"city",
"state",
"distanceMiles",
"online"
],
"type": "object"
},
"type": "array"
},
"name": {
"type": "string"
},
"nextOpen": {
"additionalProperties": false,
"properties": {
"checkoutUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"label": {
"type": "string"
},
"lessonLength": {
"type": "integer"
},
"slotKey": {
"type": "string"
},
"startAt": {
"type": "string"
},
"timezone": {
"type": "string"
}
},
"required": [
"startAt",
"label",
"timezone",
"lessonLength",
"slotKey",
"checkoutUrl"
],
"type": "object"
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"reviewCount": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"singleLessonPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"sport": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "The sport the coach teaches, as TeachMe.To labels it (\"Tennis\")."
},
"startingPrice": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"teachmeUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"listingId",
"name",
"sport",
"photoUrl",
"rating",
"reviewCount",
"lessonCount",
"headline",
"singleLessonPrice",
"startingPrice",
"currency",
"distanceMiles",
"city",
"locationId",
"locationName",
"lessonLengths",
"locations",
"teachmeUrl",
"nextOpen"
],
"type": "object"
},
"type": "array"
},
"hint": {
"type": "string"
}
},
"required": [
"coaches",
"hint"
],
"type": "object"
}
},
{
"description": "Find open play (drop-in) sessions with spots left at CourtsApp facilities near a location, or at one facility. Use when the user wants to join a session with other players rather than reserve a whole court.\nRequires location (city+state or zip preferred), facilityName, or facilityId. When the user names a facility, pass it as facilityName right away — do not ask for the city first. date, time, sport, and level are optional filters; with no date it looks 7 days ahead.\nReturns facilities, each with up to 5 sessions: level, when (facility-local), price per player, spotsLeft, maxPlayers, and url. The url is the booking page for that session — share it once the user picks a session.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"date": {
"description": "Optional facility-local date as YYYY-MM-DD. Omit to search the next 7 days.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"facilityId": {
"description": "Optional facility UUID from another CourtsApp tool, to list one facility's sessions. Never invent one.",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
"type": "string"
},
"facilityName": {
"description": "Facility name the user said (e.g. \"Sportime Englewood\"). Every word must appear in the name, in any order, so partial names work. Searched nationwide; add location to sort same-named clubs by distance.",
"maxLength": 100,
"minLength": 1,
"type": "string"
},
"level": {
"description": "Optional skill level: Beginner, Advanced beginner, Intermediate, Advanced intermediate, Advanced, Expert, or Professional. Omit when the user has not said, or says any level.",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"location": {
"description": "Where to search (50-mile radius). With facilityName or facilityId there is no radius and location only sorts by distance. Accepts city+state, city-only, state-only, zip, or lat+lng. City+state or zip are preferred. Never use 0,0 or guess coordinates.",
"properties": {
"city": {
"type": "string"
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
},
"maxResults": {
"description": "Number of facilities to return (1–10, default 3).",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"sport": {
"description": "Optional sport filter (e.g. \"pickleball\"). Omit to include every sport.",
"enum": [
"tennis",
"pickleball",
"padel",
"table-tennis",
"badminton",
"racquetball",
"squash"
],
"type": "string"
},
"time": {
"description": "Optional earliest start time of day as HH:MM 24-hour (e.g. \"17:00\" for evening sessions). Pass the user's spoken time directly — no timezone conversion.",
"pattern": "^([01]\\d|2[0-3]):[0-5]\\d$",
"type": "string"
}
},
"type": "object"
},
"name": "search_open_play",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"available": {
"type": "boolean"
},
"facilities": {
"items": {
"additionalProperties": false,
"properties": {
"address": {
"type": "string"
},
"city": {
"type": "string"
},
"distance": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"photoUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sessions": {
"items": {
"additionalProperties": false,
"properties": {
"date": {
"type": "string"
},
"endTime": {
"type": "string"
},
"level": {
"type": "string"
},
"maxPlayers": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"price": {
"type": "string"
},
"pricePerPlayerCents": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"sessionId": {
"type": "string"
},
"sport": {
"type": "string"
},
"spotsLeft": {
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"type": "integer"
},
"startTime": {
"type": "string"
},
"url": {
"type": "string"
},
"when": {
"type": "string"
}
},
"required": [
"sessionId",
"sport",
"level",
"date",
"startTime",
"endTime",
"when",
"pricePerPlayerCents",
"price",
"spotsLeft",
"maxPlayers",
"url"
],
"type": "object"
},
"type": "array"
},
"state": {
"type": "string"
},
"timezone": {
"type": "string"
},
"url": {
"type": "string"
}
},
"required": [
"id",
"name",
"address",
"city",
"state",
"timezone",
"distance",
"photoUrl",
"url",
"sessions"
],
"type": "object"
},
"type": "array"
},
"hint": {
"type": "string"
}
},
"required": [
"available",
"facilities",
"hint"
],
"type": "object"
}
},
{
"description": "Use this when the user wants tournaments or leagues to play in, near a location or by name. Not for court availability (search_courts), open play (search_open_play) or coaching (search_lessons).\nRead-only: it searches CourtsApp's catalog of events and cannot register anyone. Each event has a registration url on the organizer's site: share it exactly as returned and let the user sign up there. Never say anyone is registered.\nLocation is optional (city+state, zip, or lat+lng; a state alone lists that state's events). With a city or zip it returns events within 150 miles, soonest first, each with distanceMiles; if none are that close it says so and returns the 2 nearest, which are not near, so never call them nearby. Without a location it returns the soonest events anywhere. Use q or name for an event name (e.g. \"Moneyball\"), type to limit to tournaments or leagues, and from/to (YYYY-MM-DD) for dates; it starts from today by default. maxResults is 1-10 (default 6).\nReturns tournaments, each with name, eventType, venueName, city, state, startDate and endDate (calendar days), registrationCloseDate, closingSoon (registration closes within 5 days), priceMinCents and priceMaxCents with currency (cents; 0 means free), url, and distanceMiles; plus total and hint.",
"inputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"from": {
"description": "Optional first day to include, as YYYY-MM-DD: events still on or after it are returned. Defaults to today.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"location": {
"description": "Where to look (150-mile radius). City+state or zip are preferred; a state alone lists that state's events with no distances. Use lat+lng only if the user provided real coordinates. Never use 0,0 or guess coordinates. Optional: leave it out to search everywhere.",
"properties": {
"city": {
"type": "string"
},
"lat": {
"type": "number"
},
"lng": {
"type": "number"
},
"state": {
"type": "string"
},
"zip": {
"type": "string"
}
},
"type": "object"
},
"maxResults": {
"description": "Number of events to return (1-10, default 6).",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"q": {
"description": "Optional event name or venue to look for, e.g. \"Moneyball\".",
"maxLength": 100,
"type": "string"
},
"sport": {
"description": "Optional sport to find events for. Pass it whenever the user names one. Case-insensitive. Common aliases accepted (e.g. \"pickle ball\" → pickleball).",
"enum": [
"tennis",
"pickleball",
"padel",
"table-tennis",
"badminton",
"racquetball",
"squash"
],
"type": "string"
},
"to": {
"description": "Optional last day to include, as YYYY-MM-DD: events starting on or before it are returned. Omit for no end date.",
"format": "date",
"pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
"type": "string"
},
"type": {
"description": "Optional: only tournaments, or only leagues. Leave it out for both.",
"enum": [
"tournament",
"league"
],
"type": "string"
}
},
"type": "object"
},
"name": "search_tournaments",
"outputSchema": {
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"hint": {
"type": "string"
},
"nothingWithinMiles": {
"type": "integer"
},
"total": {
"type": "integer"
},
"tournaments": {
"items": {
"additionalProperties": false,
"properties": {
"bannerUrl": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"categoryLabel": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"city": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"closingSoon": {
"type": "boolean"
},
"country": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"currency": {
"type": "string"
},
"distanceMiles": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
]
},
"endDate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"eventType": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"priceMaxCents": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"priceMinCents": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
]
},
"registrationCloseDate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"sportSlug": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"startDate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"state": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"url": {
"type": "string"
},
"venueName": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
}
},
"required": [
"id",
"name",
"eventType",
"categoryLabel",
"venueName",
"city",
"state",
"country",
"startDate",
"endDate",
"registrationCloseDate",
"closingSoon",
"priceMinCents",
"priceMaxCents",
"currency",
"url",
"bannerUrl",
"sportSlug",
"distanceMiles"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"tournaments",
"total",
"hint"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:7e57935e83974c70df01645b25058d5cec53a970be8353f1c4ffff7aa6231b00 | sha256sum