CourtsApp

v1.0.1
com.courtsapp/mcp Checked 1 day ago Published 8 days ago

Find pickleball, tennis and padel courts, open play, coaches and tournaments, and book on CourtsApp.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_courts Find Courts

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. Typical asks: "pickleball courts near me", "where can I play tennis tonight?", "book a padel court Saturday at 9am", "any indoor pickleball courts open now in Austin?", "court rental prices near 85016". Sport 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 c…

ParameterTypeDescription
datestringOptional 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. Pass the user's spoken…
durationintegerOptional play duration in minutes, used with a sport: 30, 60, 90 or 120. Defaults to 60.
facilityNamestringName 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 sear…
locationobjectWhere 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 s…
maxResultsintegerOnly 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.
sortBystringOnly used for live open times (with a sport). How to sort results. "distance" (default) returns closest facilities first. "price" returns cheapest facilities first.
sportstringSport 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). C…
timestringOptional 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…

get_facility_details Get Facility Details

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. Typical asks: "what time does the club open?", "does it have indoor courts?", "how much is the per-player fee?", "what's the cancellation policy?", "is there a pro shop or parking?". Accepts 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 fiel…

ParameterTypeDescription
citystringCity name (case-insensitive partial match). E.g. "Austin", "New York".
facilityIdstringOptional. 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.
namestringFacility name or partial name (case-insensitive). E.g. "Lifetime", "Central Park Tennis", "YMCA".
statestringState name or abbreviation (case-insensitive). E.g. "Texas", "TX", "New York", "NY".
zipstringZip/postal code (exact match)

search_open_play Search Open Play Sessions

Use this when the user wants open play, drop-in, or to join a game with other players instead of reserving a whole court. Typical asks: "pickleball open play near me tonight", "drop-in tennis this weekend", "beginner open play in Scottsdale", "I'm solo, where can I find a game?". Finds open play sessions with spots left at CourtsApp facilities near a location, or at one facility. Requires 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 opti…

ParameterTypeDescription
datestringOptional facility-local date as YYYY-MM-DD. Omit to search the next 7 days.
facilityIdstringOptional facility UUID from another CourtsApp tool, to list one facility's sessions. Never invent one.
facilityNamestringFacility 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…
levelstringOptional skill level: Beginner, Advanced beginner, Intermediate, Advanced intermediate, Advanced, Expert, or Professional. Omit when the user has not said, or says any level.
locationobjectWhere 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…
maxResultsintegerNumber of facilities to return (1–10, default 3).
sportstringOptional sport filter (e.g. "pickleball"). Omit to include every sport.
timestringOptional 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.

search_lessons Find Lessons

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). Typical asks: "pickleball lessons near me", "find a tennis coach in Phoenix", "tennis lessons for my kid", "a private pickleball lesson this weekend", "who can help me fix my serve?". Read-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…

ParameterTypeDescription
sport *stringSport to find a coach for: pickleball or tennis.
locationobjectWhere 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.
maxResultsintegerNumber of coaches to return (1-6, default 3).

get_lesson_times Lesson Times

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). Typical asks: "when is that coach free Saturday morning?", "any evening times next week?". Read-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 a…

ParameterTypeDescription
listingId *stringThe coach's listingId from search_lessons.
earliestTimestringOnly times starting at or after this local time, HH:MM 24-hour (for example 17:00 for evenings).
endDatestringLast day to show, YYYY-MM-DD. Defaults to a week from the first day; at most 14 days in all.
latestTimestringOnly times starting at or before this local time, HH:MM 24-hour.
lessonLengthintegerLesson length in minutes. Leave out for the coach's usual length.
locationIdstringThe locationId from search_lessons (the coach's place nearest the user). Needed when the coach teaches at more than one place.
startDatestringFirst day to show, YYYY-MM-DD, a local day at the location. Defaults to today.

search_tournaments Find Tournaments

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). Typical asks: "pickleball tournaments near me", "tennis leagues in Dallas", "any tournaments this weekend?", "when does registration close for Moneyball?". Read-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. Location is opti…

ParameterTypeDescription
fromstringOptional first day to include, as YYYY-MM-DD: events still on or after it are returned. Defaults to today.
locationobjectWhere 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 gu…
maxResultsintegerNumber of events to return (1-10, default 6).
qstringOptional event name or venue to look for, e.g. "Moneyball".
sportstringOptional sport to find events for. Pass it whenever the user names one. Case-insensitive. Common aliases accepted (e.g. "pickle ball" → pickleball).
tostringOptional last day to include, as YYYY-MM-DD: events starting on or before it are returned. Omit for no end date.
typestringOptional: only tournaments, or only leagues. Leave it out for both.

get_facility_times Get Facility Times

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.

ParameterTypeDescription
facilityId *stringThe facility's id (a UUID), as returned by search_courts or get_facility_details.
datestringDay to list, YYYY-MM-DD. Defaults to today where the facility is.
sportstringSport slug or name, e.g. "pickleball" or "Table Tennis". Defaults to the facility's first sport.

record_click Record Click

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.

ParameterTypeDescription
kind *stringWhat kind of link it was.
url *stringThe link that was opened (http or https).
facilityIdstringThe facility's id (a UUID), when the card knows it.

record_card_error Record Card Error

Records that a CourtsApp card hit an error in its own code, so CourtsApp can fix the card. The CourtsApp cards call this on their own; it is not needed to answer a user and does not need to be called. It keeps which card, the kind of error, the error's message and where in the card it happened, and which assistant showed the card, and nothing about the person.

ParameterTypeDescription
card *stringWhich card hit the error.
kind *stringAn error a script threw, or a promise nobody caught.
message *stringThe error's message.
atstringWhere in the card's script it happened (line and column), when known.

get_coach_profile Coach Profile

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.

ParameterTypeDescription
listingId *stringThe coach's listingId from search_lessons.