Bolea for agents: usage guide
MCP server: https://bolea.club/mcp. How to connect it · All the tools · Everything in one text · Español
This guide is for you, an AI agent working for a Bolea member. It says what you can do, which tool to use, and which errors to expect.
- MCP server:
https://bolea.club/mcp(Streamable HTTP, JSON-RPC 2.0, OAuth 2.1). - Full catalog with parameters:
https://bolea.club/mcp/tools.json. - The rule behind everything: you can do what a person does in the app, except what only the person can give (see "What an agent cannot do").
1. What Bolea is and how the level works
Bolea is a tennis community in several cities across the Americas. Anyone 18 or older can create an account in the app. Every player has a level, the BLE, from 0 to 100.
- The starting BLE comes from a level assessment the member answers once.
- After that it moves with confirmed matches. The first matches move it more, and the member shows as provisional (
is_provisional). - A singles match between members is proposed, accepted, played and reported. One player reports the score and the other confirms it, corrects it or disagrees. If nobody answers in 5 days (120 hours), it counts as reported.
- Incomplete or tied matches move the BLE by games, but they are not a win or a loss.
- These do not move the BLE: doubles, training, and matches with someone who is not on Bolea. Several matches against the same rival in one week may not move it either.
- The BLE updates when the score is confirmed or the 5 days pass. Don't promise the member how much it will go up or down.
level_gapis the other player's BLE minus the member's, rounded. Positive means the other player is stronger.bandis the level band Bolea shows next to the BLE.- The member can retake the assessment only if they have no reported score (see 3.11).
2. First steps after connecting
Read in this order. Every call counts toward your limits (see 7).
how_bolea_works: this same guide (lang:esoren). The basics also arrive in the server instructions.get_my_profile: name, city, hand, backhand, bio, schedule, whether they coach or hit (coach,hitting_partner) andid. Thatidis thep_memberforplayer_statsandplayer_profilewhen you want the member's own data.my_onboarding_status: confirms the account is active and that the member accepted the current terms (legal.accepted). If not, tell them to accept in the app.my_agenda: what is pending. Proposals to answer, scores to report or confirm, upcoming matches.doubles_agenda: the same for doubles.news: what changed since you last asked. The first call returns everything. Use it at the start of each session to brief the member.player_profilewith the member'sid: their BLE, venues and stats.
Read assessment_questions only if the member is going to retake the assessment.
3. Flows
Parameters keep the p_ prefix as they appear in the catalog. IDs are UUIDs. A member reaches you as a card: {id, first_name, last_name, gender, photo_path, ble, is_provisional, band, active, nationality, linkedin, coach, hitting_partner}; a former member is just {id, former: true}.
3.1 Find a rival
search_players returns {member_id, member, level_gap, distance_km, last_match_on, main_venue, total, ...}.
| Parameter | What it is |
|---|---|
p_query | Name. With a name, the search covers the whole community, word by word |
p_ble_min, p_ble_max | BLE range |
p_venue_ids | List of venue ids |
p_cities | List of cities |
p_availability | Time slots when they play (see below) |
p_max_km | Maximum distance in km |
p_sort | level, active, new, near or club (shares a club, then proximity and level) |
p_limit, p_offset | Paging: up to 200; use p_offset for the next page |
Any other p_sort returns invalid_sort.
Time slots (p_availability). They look like <day>_<slot>: days mon, tue, wed, thu, fri, sat, sun; slots by local time.
| Slot | Time |
|---|---|
morning | 6 to 11 a.m. |
midday | 11 a.m. to 2 p.m. |
afternoon | 2 to 6 p.m. |
night | 6 to 10 p.m. |
Example: sat_morning. p_slots is for old app builds: use p_availability.
Other tools:
count_players: how many match the same filters.suggested_players: up to 5 suggestions.venue_players: players at an approved venue (p_venue).player_profile(p_member): profile without private data.phone_verifiedsays whether they verified their phone through WhatsApp, without the number.rival_insights(p_member): head-to-head, form, win probability.in_common(p_member): what you share.class_offers: coaches and hitting partners taking students (see 3.19).
A blocked member, one who does not exist, or one who is no longer active returns member_not_found or opponent_not_active.
3.2 Propose, counter, accept, reject and cancel
Propose.
- Optional:
proposal_defaults(p_opponent,p_countup to 10) gives suggested times, the time zone and the shared venue. - Get the
venue_idfromsearch_venues(3.13) or from the rival's profile. - Call
propose_match.
{
"p_opponent": "3f2b8c1e-5a4d-4e7f-9b21-6c0d1a2e3f40",
"p_scheduled_at": "2026-11-12T18:00:00-05:00",
"p_venue_id": "9a7d41c2-0b3e-4f58-8c6a-2d1e5f7b9a30",
"p_note": "Want to play after work?"
}
- Place (optional):
p_venue_idof an approved venue or the member's own "Otra" venue, orp_venue_textwith free text. p_timezone(an IANA name, likeAmerica/Bogota) only counts when there is no venue with a time zone.- The time must be in the future (
scheduled_in_past). - It returns
{match_id, level_gap, level_gap_warning}. Iflevel_gap_warningistrue, tell the member the level gap is large. - The proposal expires at the match time. Up to 5 unanswered (pending, expired or rejected) to the same person (
too_many_proposals). They count from the last time the other person accepted a match between the two or wrote to your member, and never more than 60 days back. With those 5, your member can't message them in the chat either.
Receive and answer. Look at my_agenda:
proposals: your member's turn to answer. Each hasmatch_id,scheduled_at,timezone,venue,note,expires_at,counteredandfrom.awaiting_reply: proposals the member sent that are waiting for an answer.
To answer one from proposals:
| Action | Tool |
|---|---|
| Accept | accept_proposal (p_match) |
| Reject | reject_proposal (p_match). Marked destructive |
| Another time or place | counter_proposal (p_match, p_scheduled_at, and p_venue_id or p_venue_text). Now it is the other member's turn |
If counter_proposal has no venue, the previous one stays. If you send one, it replaces the previous one, "Otra" with p_venue_text included.
Cancel. cancel_match (p_match) cancels an accepted match or a proposal the member sent that has no answer. Marked destructive. With a reported score it returns match_not_cancellable.
Answering a proposal when it is the other member's turn returns not_your_turn; an expired or already answered one returns proposal_not_pending.
3.3 Report and confirm the score of a scheduled match
An accepted match whose time has passed and has no score sits in my_agenda.to_report until someone reports it or cancels it.
- Take the
match_idfromto_report. - Call
match_detail(p_match). Checkmy_side:"a"or"b". - Ask the member for the score, the sets, and whether it finished. Don't guess.
- Call
report_result.
p_sets orientation. In report_result and correct_result, a is player A's games in the match and b is player B's. If my_side is "a", your member's games go in a. If it is "b", they go in b.
{
"p_match": "b41e0d52-7c3a-4f9e-a1d8-5e6f70819a2b",
"p_format": "best_of_3",
"p_sets": [{"a": 3, "b": 6}, {"a": 4, "b": 6}],
"p_finished": true
}
This example is for a member whose my_side is "b" and who won 6-3 6-4. Optional: p_played_at (only if it was played on a different day or time than scheduled_at), p_kind, p_surface, p_duration_minutes, p_competition (see 3.4).
- Without
p_played_at, a match scheduled more than 31 days ago can still be reported. Withp_played_atmore than 31 days back, you getplayed_too_old. - The match must be accepted (
match_not_reportableotherwise).
Format and score (p_format, p_sets, p_finished).
p_format | What it is | Sets to win |
|---|---|---|
one_set | One set to 6 | 1 |
eight_game_set | One set to 8 | 1 |
best_of_3 | Best of 3 | 2 |
best_of_5 | Best of 5 | 3 |
free | Free: any number of sets, up to 7, or up to 100 in point sets | Whoever wins more sets; 1-1 is a tie |
Short sets and point sets. Send p_format: "free" with the details in each set. Short sets: {"a": 4, "b": 2, "to": 4} (4-0 to 4-2, 5-3 and, with a tiebreak, 4-3 or 5-4). Point sets: {"a": 21, "b": 15, "to": 21, "points": true}, with "underhand": true for an underhand serve; all to the same points. You win by reaching to or, if play continued, by 2. A point set doesn't change the BLE or count as a win: it stays in the history and activity.
Each set is an object with games:
| Case | Shape |
|---|---|
| Normal set | {"a": 6, "b": 4} |
| Set with a tiebreak, only 7-6 (or 9-8 in an 8-game set) | {"a": 7, "b": 6, "tiebreak": {"a": 7, "b": 4}}. Whoever wins the set wins the tiebreak |
| Deciding tiebreak in place of the last set | {"a": 10, "b": 7, "super_tiebreak": true}. If played to 7: {"a": 7, "b": 5, "super_tiebreak": true, "tiebreak_to": 7} |
Rules the server validates when p_finished is true:
| Rule | Detail |
|---|---|
| Set to 6 | 6-0 to 6-4, 7-5 or 7-6 |
| Set to 8 | 8-0 to 8-6, 9-7 or 9-8 |
| Set tiebreak | To 7 points, win by 2 |
| Deciding tiebreak | Only as the last set of best_of_3 or free, with sets tied. To 10 or to 7 (tiebreak_to), win by 2 |
| Sets | No sets after the match is decided |
| Games | At least 1 game played |
p_finished: false means "we didn't get to finish". Then any score is accepted, with no winner, and it cannot include a deciding tiebreak. An invalid score returns invalid_score; the server doesn't say which rule failed, so check these.
Confirm, correct or disagree. If the rival reported, the match is in my_agenda.to_confirm with result_id, sets, my_side and expires_at.
| Action | Tool |
|---|---|
| Confirm | confirm_result (p_result). Makes it official |
| Correct | correct_result (p_result, p_format, p_sets, p_finished, and the optionals). The member becomes the reporter and the rival has to confirm |
| Disagree | disagree_result (p_result, p_complain). The score is annulled and the match does not count. With p_complain: true it also files a private complaint |
| Complain later | file_complaint (p_match). Only the member who disagreed, within 14 days. Otherwise no_disagreement |
All four are destructive: ask the member. Show them the score and which side is theirs before confirming.
After reporting, check my_agenda.awaiting_result (not confirmed yet) and my_agenda.disagreed (the rival said no).
3.4 Report a match that was never scheduled (including a past day)
Use report_match when the member played another member without going through a proposal. It creates the match and the score together.
- It works for today or a past day, up to 31 days back (
played_too_old). p_played_atcan be up to 1 hour in the future (played_in_futurebeyond that).- In
report_match,ais the member's games andbis the rival's. - The rival gets the score to confirm, as in 3.3.
{
"p_opponent": "3f2b8c1e-5a4d-4e7f-9b21-6c0d1a2e3f40",
"p_played_at": "2026-11-02T18:00:00-05:00",
"p_format": "best_of_3",
"p_sets": [
{"a": 6, "b": 4},
{"a": 3, "b": 6},
{"a": 10, "b": 7, "super_tiebreak": true}
],
"p_finished": true,
"p_venue_id": "9a7d41c2-0b3e-4f58-8c6a-2d1e5f7b9a30",
"p_kind": "social",
"p_surface": "clay",
"p_duration_minutes": 95
}
It returns {match_id, result_id}. Ask the member for the day and, if they can, the time; the day decides which week it falls in for streaks. It's destructive, because it creates a score the rival sees: confirm the details with the member first.
Optional details on any score.
| Parameter | Values |
|---|---|
p_kind | practice, social, club, league, tournament |
p_surface | clay, hard, grass, har_tru |
p_duration_minutes | Integer from 5 to 600 (invalid_duration) |
p_competition | Id of one of the member's competitions (my_competitions). Someone else's or an archived one returns competition_not_found |
All count the same for the BLE, leaderboards and streaks. Duration belongs to each player: if you didn't report it and there already was one, it only changes for you. You can fix them later with set_match_details (p_match or p_doubles, only one; anything you send as null is left unchanged) and set_match_competition. my_last_surface (p_venue) gives the last surface used at that venue. Competitions: my_competitions, create_competition (p_name up to 60, p_kind club, league or tournament), rename_competition, archive_competition. Only the owner sees their competitions.
3.5 A match with someone who is not on Bolea
Singles only. You save the person, log the match and invite them. Until they join, the match adds to the member's activity streak and their time on court, and nothing else: it doesn't move the BLE or count in leaderboards or stats.
external_rivals_mine: the saved ones. Your view doesn't include their phone number.- If they are not saved:
external_rival_add(p_name1 to 120 characters; optionalp_phonein E.164 format, for example+573105550142). The member gives you the number; don't make it up. Without a phone only the name is saved, and the person becomes a member only if they join with the link the member sends them.
- Response
{kind: "external", rival}: saved. - Response
{kind: "member", member}: that phone belongs to an active member and nothing was saved. Continue with 3.3 or 3.4 usingmember.id. - The member's own phone returns
cannot_play_yourself.
report_external_match. Hereais the member's games andbis the rival's.
{
"p_rival": "c5d8a3f1-62b7-4e0c-8f19-a4b3c2d1e0f9",
"p_played_at": "2026-11-03T16:30:00-05:00",
"p_format": "best_of_3",
"p_sets": [{"a": 6, "b": 4}, {"a": 6, "b": 3}],
"p_finished": true,
"p_kind": "social"
}
It returns the match with its id. Dates (31 days), score and optionals work as in report_match. Up to 20 a day (too_many_external_matches).
external_rival_invite(p_rival) returns{kind: "external", code, short_code}. The link ishttps://bolea.club/i/<code>. Give it to the member to send; you don't send the message. The person installs Bolea and taps the link again to join with the invite.
{kind: "member", member, converted}: the person is already a member. Their matches have now moved to confirmation.{kind: "unavailable"}: that person can't be invited. Don't explain further.already_memberorinvitations_pausedwhen they apply.
- When it becomes official. When the person joins, each match becomes a normal match with a score waiting for confirmation. It counts when they confirm it, or after 5 days if they don't answer.
Management: external_matches_mine, external_match_delete (p_id, recalculates the streak), external_rival_update (p_rival, p_name, p_phone; p_phone: "" removes the phone), external_rival_delete (their matches stay, without a rival name).
3.6 Doubles
A doubles match has 4 players. The organizer takes position 1. Positions 1 and 2 are side A; 3 and 4 are side B. Doubles don't move the BLE; they count in the wins and activity leaderboards and in the weekly streak.
Organize. create_doubles with the court already booked:
{
"p_scheduled_at": "2026-11-14T09:00:00-05:00",
"p_minutes": 90,
"p_court_booked": true,
"p_venue_id": "9a7d41c2-0b3e-4f58-8c6a-2d1e5f7b9a30",
"p_slots": [
{"position": 2, "invite": "3f2b8c1e-5a4d-4e7f-9b21-6c0d1a2e3f40"},
{"position": 3, "open": true, "gender": "any"},
{"position": 4, "open": true, "gender": "female"}
],
"p_ble_min": 55,
"p_ble_max": 75
}
Adjust the range so it includes the member's BLE.
p_slotsalways has 3 spots: 2, 3 and 4. Each is{position, invite}with a member id, or{position, open: true, gender}withany,femaleormale.p_ble_minandp_ble_maxare required when any spot is open, and must include the member's BLE (invalid_ble_range).p_minutes: 60, 90 or 120.p_court_bookedmust betrue. Ask the member whether they booked the court.- Time between 1 hour and 30 days from now (
invalid_open_match_time). A place is required:p_venue_idorp_venue_text. - Up to 3 active doubles per organizer (
too_many_doubles).
Take part.
| I want to | Tool |
|---|---|
| See doubles with an open spot | open_doubles |
| Ask for a spot | request_doubles_slot (p_id, p_position) |
| Withdraw the request | withdraw_doubles_request (p_id) |
| Answer an invitation | answer_doubles_invite (p_id, p_accept) |
| Leave | leave_doubles (p_id). The organizer cancels instead |
| See what is pending | doubles_agenda; detail with doubles_detail (p_id) |
As organizer: respond_doubles_request (p_request, p_accept), change_doubles_slot (p_id, p_position, and p_invite, or p_gender with any, female or male, and optional p_ble_min/p_ble_max), cancel_doubles (p_id). With a reported score you get result_already_reported.
Score.
- Doubles from the app:
report_doubles_result(p_id,p_format,p_sets,p_finished, optionals). The doubles match must be full (doubles_not_full). Inp_sets,ais side A (positions 1 and 2) andbis side B, no matter who reports. See each player's side indoubles_detail.slots[].side. - A doubles match that was never scheduled:
report_doubles(p_partner,p_rival_1,p_rival_2,p_played_at,p_format,p_sets,p_finished, place and optionals). Hereais the member's pair andbis the two rivals. Up to 31 days back. - The other pair confirms with
confirm_doubles_result(p_result) or disagrees withdisagree_doubles_result(p_result). If nobody answers, it counts after 120 hours. Theresult_idcomes fromdoubles_agenda.to_confirm.
Doubles chat. my_doubles_chats, doubles_chat (p_id, p_before_id, p_limit), send_doubles_message (p_id, p_message_id, p_body), mark_doubles_chat_read (p_id). Generate a new UUID for p_message_id. If the chat is closed, doubles_chat_closed.
3.7 Open matches
A member with a court already booked posts a match; anyone in the level range asks to join and the organizer chooses.
Post. publish_open_match:
{
"p_scheduled_at": "2026-11-15T08:00:00-05:00",
"p_minutes": 90,
"p_ble_min": 50,
"p_ble_max": 70,
"p_court_booked": true,
"p_venue_id": "9a7d41c2-0b3e-4f58-8c6a-2d1e5f7b9a30",
"p_note": "Court 3, I'm bringing balls."
}
p_minutes: 60, 90 or 120.p_court_bookedmust betrue.- Time between 1 hour and 30 days from now. Up to 3 active open matches.
p_ble_min/p_ble_maxgo from 0 to 100.p_only_gender(femaleormale) can only be the organizer's own.p_noteup to 200 characters.p_venue_text("Otra") creates a venue pending review.p_timezoneonly if the venue has no time zone.
Find and ask. open_matches (p_max_km, p_from, p_to as the venue's local date YYYY-MM-DD, p_level mine or all, p_limit up to 100). Each match has viewer: can_request, requested, out_of_range or other_gender. Ask with request_open_match (p_id); withdraw with withdraw_open_match_request (p_id). Up to 5 pending requests.
Organize. my_open_matches, open_match_detail (p_id, includes requests), open_match_requests_to_answer, respond_open_match_request (p_request, p_accept; accepting returns the new match_id, which continues as a normal match), cancel_open_match (p_id).
3.8 Messages and sharing WhatsApp
my_conversations(p_limitup to 200,p_before_id): conversations that have messages.open_conversation(p_memberorp_conversation): state, pending match between the two. With no messages yet,conversation_idisnull.conversation_messages(p_conversation,p_before_id,p_limitup to 100): newest first.send_message(p_member,p_id,p_body):
{
"p_member": "3f2b8c1e-5a4d-4e7f-9b21-6c0d1a2e3f40",
"p_id": "f0a1b2c3-d4e5-4f60-9a7b-8c9d0e1f2a3b",
"p_body": "Hi, does Saturday at 9 work for you?"
}
p_id is a new UUID you generate. If you retry with the same p_id, nothing is duplicated. Body of 1 to 1000 characters, with no spaces at the edges.
mark_conversation_read(p_conversation),my_unread_messages.share_my_whatsapp(p_member,p_id, optionalp_number): sends the member's number inside the chat. It is destructive: ask first. Withoutp_numberit uses the one in Settings; if there is none,whatsapp_required.p_numbermust be E.164 (invalid_whatsapp).- If a message in
conversation_messageshaskind: "whatsapp", it holds the number the other member shared with your member. Don't store it or copy it anywhere else.
Messages only go between active members with no block (cannot_message).
3.9 Training
Sessions don't count toward the BLE, match streaks or leaderboards, and can't be used to report a match.
training_log:
{
"p_on_date": "2026-11-04",
"p_kind": "lesson",
"p_kinds": ["lesson", "strength"],
"p_minutes": 75,
"p_focus": ["serve", "forehand"],
"p_effort": 3,
"p_partner": "Club sparring partner",
"p_note": "Worked on the second serve."
}
| Field | Values |
|---|---|
p_on_date | YYYY-MM-DD. Not in the future in the member's time zone, and not more than a year back |
p_kind | Required. On court: lesson, clinic, hitting_partner, rally, basket, ball_machine, serve, drills. Games: dingles, ping_pong, five_and_live, figure_of_eight, champ_of_the_court, champs_and_chumps, tag_team, one_ball_live, up_and_down_the_river. Off court: strength, cardio, footwork, mobility |
p_kinds | Optional. A list of several types, no repeats. Takes precedence over p_kind |
p_minutes | 5 to 600: the total for the session, even with several types |
p_focus | Optional. Strokes, no repeats: serve, return, forehand, backhand, volley, smash, movement, tactics |
p_effort | Optional. 1 to 5 |
p_partner | Optional. Up to 80 characters |
p_note | Optional. Up to 280 characters |
With several types, send p_kind with any one of them (it is required) and the full list in p_kinds. The server stores the types with on-court ones first, and kind is the first. A session counts as "on court", with all its minutes, if it has at least one on-court type.
training_update(p_idand the same fields): replaces everything, and any optional field you leave out is cleared. Marked destructive. Send every field.training_delete(p_id): destructive.training_week(p_week_start: any day of the week; without it, the current one): sessions, minutes andrecent, the latest combinations to repeat.training_summary(p_member): month minutes and weekly streak. For another member, never the detail.
Errors: invalid_training_date, invalid_training_kind, invalid_training_minutes, invalid_training_focus, invalid_training_effort, invalid_training_partner, invalid_training_note, training_not_found.
3.10 Stats and leaderboards
player_stats (p_member, p_period, p_mode, p_rival):
| Parameter | Values |
|---|---|
p_member | Member id. For another member, the private keys are left out |
p_period | all (default), year (since January 1) or 6m |
p_mode | singles (default) or doubles. Never combined |
p_rival | all (default), coach or hitting_partner: only matches against someone who is marked today as a coach or hitting partner (in doubles, one rival is enough) |
It returns {summary, by_kind, by_surface, vs_level, streaks, rankings, network, rival_counts, external_played, training, feedback}. It only counts confirmed scores; matches against external rivals are not included. rival_counts says how many matches were against a coach and against a hitting partner, without the filter. (20 Nov) For the member themselves it also has vision: the Bolea Vision numbers from all their videos, independent of period and mode. It has videos; serve (fastest_kmh, first_avg_kmh, first_in out of points, double_faults over matches videos); strokes (forehand_avg_kmh, backhand_avg_kmh, fastest with kmh and type); movement (distance_m over videos videos, peak_mps); and game (shots_per_point, forehands, backhands, inside_out_forehands). Each block is null without data, and vision is null without videos. Speeds are estimates made from the video. First serves in % is first_in / points. Any other period, mode or rival: invalid_stats_period, invalid_stats_mode, invalid_stats_rival.
ranking_board (p_kind, p_period, p_gender, p_area):
p_kind | p_period | What it measures |
|---|---|---|
level | Don't send | The rounded BLE |
streaks | Don't send | Win streak |
wins | Required: week, month or all | Matches won |
activity | Required: week, month or all | Matches played |
p_gender: all (default), female or male. p_area: all (default) or near (within 100 km). Any combination that doesn't exist returns invalid_ranking. It returns {rows, me, calibrating, previous}; rows are the top 50.
Others:
my_rating_evolution(p_since, a dateYYYY-MM-DD): each BLE change with itsdeltaand reason.my_streak: weekly activity streak, win streak and the last 8 weeks.my_match_history(p_rival,p_resultwonorlost): confirmed matches.badge_overview: badges and progress.community_feed(p_limitup to 50,p_filterresults,badges,ranking,membersorcontacts),community_match(p_match),community_doubles(p_doubles): what is happening in the community. Nearby first, along with new members wherever they are; eachcommunity_feedentry hasnearandcity. Withcontacts, only what involves people in the member's phone contacts and people who played with them.
3.11 Retake the level assessment
It changes the member's BLE and makes it provisional again. It is only possible if they have no reported score in one of their matches.
my_assessment_retake_available:trueorfalse. Iffalse, tell them they can't retake it.- Ask the member for permission.
request_my_assessment_retakeandsubmit_assessmentare destructive. assessment_questions: the keys and options forp_answers, and when each is asked.- Ask the member each question. Don't answer on their behalf. Age and gender come from the profile; the age and the country for the competition question are in
my_onboarding_status. - With all answers gathered, call
request_my_assessment_retakeand thensubmit_assessmentwithp_answersright away. If a retake is left pending, the app asks the member to do it. - If they answer across several conversations,
save_assessment_progress(p_answers,p_current_step) saves progress.p_current_stepis the question key (competition_level,strokes.serve).
submit_assessment returns {ble, strengths, weaknesses, is_retake, scale}. If answers are missing: invalid_assessment. With no retake pending: assessment_not_required. With a reported score: retake_not_available.
3.12 Profile, work and network
get_my_profile,update_my_profile:bio(up to 160),dominant_hand(right,left),backhand(one_handed,two_handed),availability(a list of slots as in 3.1; it replaces the whole list and can't be left empty),coachandhitting_partner(see 3.19). Only what you send changes. An invalid value returns the genericerror.my_work,update_my_work(p_datawithcompany,title,school,area,role;""clears a field; company and title up to 80, school up to 120). No tool lists theareaandrolecodes: send those two only with a codemy_workalready returned. An invalid value returnsinvalid_work. If the member hasn't accepted the terms,legal_not_accepted.set_company_hidden(p_hidden): hides or shows their company.dismiss_work_notice: closes the work-data notice.set_linkedin_url(p_url, ornullto remove it): only if the member already connected LinkedIn (linkedin_not_connected);invalid_linkedin_urlif it isn'tlinkedin.com/in/<username>.remove_member_photo(p_position1 to 3): removes a gallery photo. Destructive. You can't upload any.my_network: up to 150 members with something in common (withfeature_offif the feature is off).my_invite_link: your member's personal link to invite people to Bolea,{code, short_code, url, uses}.urlishttps://bolea.club/i/<code>: it works for several people, doesn't expire and is always the same. Whoever creates an account with it shows up as invited by your member. Give it to your member to share; you don't send it.usesis how many people joined with it.create_invitation(p_phonein E.164,p_name,p_email,p_estimate): an invite for one person. Returns{id, code, short_code, expires_at}. The link ishttps://bolea.club/i/<code>: give it to the member. The person installs Bolea and taps the link again to join with the invite.p_estimateis how the person plays compared with the member:better,similar,worseorunknown. Withp_email, Bolea sends that person an email: ask first.annul_invitation(p_invitation) cancels a pending one; destructive.
3.13 Places and location
search_venues(p_queryrequired,p_limitup to 100,p_latitudeandp_longitudetogether or neither): gives thevenue_id.venue_map_cities: the cities where Bolea has venues, with how many each has.venue_map(p_ble_min,p_ble_max,p_availability): nearby venues (up to 300 within 100 km) and your member's own, with member counts. For another city,search_venues.- Another city:
venue_map_citiesgives the cities and their coordinates.search_venuessearches by the city's or the venue's name. With thevenue_id,venue_playersgives who plays there; orsearch_playerswithp_citiesand thecitythatsearch_venuesreturned. If your member is traveling,set_travel_modechanges their city. suggest_venue(p_name, and optionalp_kind,p_address,p_city,p_latitudewithp_longitude,p_country_code,p_timezone): suggests a venue that doesn't exist. Search first.p_kind:club,public_courtorresidential. It goes into review. Up to 10 new ones a day (too_many_attempts).set_my_venues(p_venues:[{"venue_id": "...", "can_book": true}], 1 to 3): replaces the member's venues. Each one needscan_book: true, which the member has to confirm. Ask them before sending it.set_max_distance(p_km1 to 100, ornull),update_my_location(p_latitude,p_longitude,p_city,p_country_code2 letters),clear_my_location,set_travel_mode(p_city,p_country_code,p_latitude,p_longitude; withp_cityasnullit turns off). Use coordinates the member gives you. They are stored rounded to about 1.1 km.my_last_surface: see 3.4.
3.14 News preferences
set_news_preferences is the permission to receive news, events and promotions from Bolea by email, push or WhatsApp. It is not the news tool.
my_news_preferences:{email, push, whatsapp, answered_at}.set_news_preferences(p_email,p_push,p_whatsapp,p_source): an agent can only turn things off. Turning a channel on returnsnot_allowed. Send the channels that don't change exactly asmy_news_preferencesreads them.p_source:onboarding,home_cardorsettings; usesettings.
3.15 What's new: news
news returns {since, agenda, unread_messages, open_matches}: the member's agenda, unread messages and the open matches they can ask to join or already asked to join, since the last time this agent asked (since, or null the first time). Calling it marks what you saw. Use it to tell the member what is pending.
3.16 Tournaments and leagues
There are three kinds: Bolea's and a club's (official) and community ones (unofficial). Any member creates a community one with tournament_create, up to 3 unfinished. A tournament has categories, each with its draw: elimination, round robin or groups into elimination, with an optional consolation draw (Cuadro B) in elimination.
To create one, call tournament_create with p_data:
{
"kind": "tournament",
"name": "Tuesday Cup",
"venue_text": "Club El Lago",
"access": "public",
"starts_on": "2026-12-10",
"ends_on": "2026-12-20",
"registration_closes_at": "2026-12-09T23:00:00Z",
"timezone": "America/Bogota",
"categories": [
{"name": "Open", "capacity": 8, "draw_type": "elimination", "format_main": {"kind": "best_of_3", "decider": "super_10"}}
]
}
Each category in categories:
| Field | Values |
|---|---|
name | Required, up to 40 characters |
capacity | Required, 3 to 64. Round robin, up to 8; a league division, up to 10 |
format_main | Required. kind: one_set, best_of_5, eight_game_set (with tb_at 7 or 8), best_of_3 (with decider set, tiebreak_7 or super_10), short_sets (with sets 1, 3 or 5) or points (with to from 3 to 99, sets and underhand) |
draw_type | elimination (default), round_robin or groups (with group_size 3 to 6 and group_advance 1 or 2, and at least 6 spots). A league division is always round_robin |
has_consolation, format_consolation | Consolation draw, only in elimination |
mode, mixed | singles (default) or doubles. mixed only in doubles, without gender |
gender, ble_min, ble_max | Who can join. gender: male or female. In doubles, the range is on the pair's sum, up to 200 |
draw_mode | assisted (default) or manual |
agenda | flexible (default) or scheduled |
playoff_top4 | Only in a league: semifinals and final with the top 4 |
A league lasts at least 14 days, or 28 with semifinals. If tournaments aren't open for the member, tournament_create answers feature_off.
- Joining:
tournaments_list,tournament_detailandtournament_apply. The organizer accepts or rejects. For a level cap, the highest BLE in the last 90 days counts. If it returnstournament_unavailable, it doesn't say why. - Building:
tournament_seeds,tournament_set_seedsif needed, andtournament_make_draw, only once. Ortournament_load_drawwith a draw made by hand. - Playing:
tournament_drawandtournament_line. Report withtournament_report_line, using the stage's format and "a" = the reporter. To schedule,propose_matchand thentournament_link_match. - Scores: the rival answers with
confirm_result,correct_resultordisagree_result. Finally the organizer approves or edits withtournament_review_result. A disagreement voids nothing: the organizer decides. BLE moves on approval. After 5 days without an answer it's approved automatically, unless there's a disagreement. - Check first: before reporting a regular match, look at
tournament_pending_line. If there's one pending with that rival, ask whether it's the tournament match. - Someone not on Bolea:
tournament_add_guestandtournament_invite_guest. They play one match; to continue they must create a profile. Their matches move BLE when they join. - Organizing:
tournament_todosays what's missing.tournament_walkovergives a walkover, a double walkover or more days. Nobody judges their own match. - Leagues:
tournament_createwithkindleague. Divisions of up to 10, round robin until the end date, 3 points for a win and 1 for playing. If an opponent isn't answering,tournament_rival_silent. When it ends,tournament_new_seasonwith promotion and relegation. - Doubles: a division with
modedoubles.tournament_applytakes the partner:p_partner, orp_partner_nameandp_partner_phoneif they're not on Bolea. The partner answers withtournament_answer_partner, and the organizer can usetournament_add_pair. The opponent answers withconfirm_doubles_resultordisagree_doubles_result. They don't move BLE. - Profile:
player_competitionreturns tournament matches separately.player_statsacceptsp_scopecompetitionandp_tournament.
Errors: tournament_not_eligible, tournament_closed, tournament_wrong_format, tournament_needs_winner, guest_must_register, next_line_has_result, not_tournament_staff, not_tournament_judge, draw_already_made, not_enough_entries, invalid_draw, too_many_tournaments, tournament_name_reserved.
3.17 Bolea Vision (beta)
Bolea Vision analyzes the video of a match or training session your member records with their phone: it returns the video without the breaks, each rally as a clip, stats and a heatmap. It's in beta and only some members have it: check my_features (vision). Without Vision, these tools return feature_off.
my_vision_analyses: their videos, newest first.statusisqueued,processing,completed,failedorexpired. If the video belongs to a match, it hasmatch_id,rival_nameandplayed_on; with a training session,training_idandplayed_on.summaryisnulluntil the analysis has numbers; then it hasrallies(how many rallies),highlights(how many highlighted rallies),shots_total,effective_play_s(seconds of play) andanalyzed_duration_s(seconds of video analyzed). (20 Nov) If the video has the ball trail, once it'scompletedit also hasspeed, the ball speed on the member's shots in km/h:first_serve,second_serve,forehand,backhand,slice,lob,returnandgroundstrokes(each{avg_kmh, max_kmh, measured}ornull),fastest_shot({kmh, type, shot_id, rally_id}),measured_shotsandshots. They're estimates made from the video: say so, and don't give a figure with fewer than 3 measured shots (measured). Without the trail,speedis missing ornull.vision_link(p_analysis, andp_matchorp_training): links the video to a match they played or to one of their training sessions. Find the match withmy_match_historyand the session withtraining_week. Withoutp_matchorp_training(leave them out, don't sendnull), it removes the link.request_vision_access(Nov 18): asks for Vision for a member who doesn't have it, like "I want to try Bolea Vision" in the app. Returnsstatus:has_accessif they already have it orpendingif the request is in (asking again doesn't send anything new). Bolea gets an email to approve it; once approved, your member gets a notification and an email, andmy_featureshasvisionset totrue. While it's waiting,my_featureshasvision_accessset topending. If it isn't approved within 30 days, or if the email to Bolea doesn't go out, it goes back tononeand they can ask again.- Uploading a video, watching the clips, the per-shot stats and the heatmap, reporting a clip or deleting a video happen in the app, in the Vision tab.
Errors: feature_off, match_not_found, invalid_value, rate_limited (request_vision_access: too many requests from everyone today; try again tomorrow).
3.18 Shop
The Bolea shop sells what we recommend for playing. Today it's the tripod for recording with Bolea Vision (USD 55, shipping separate), and only members with Vision see it. Nothing is paid in the app: Bolea writes to your member on WhatsApp to arrange payment and shipping.
shop_products(p_langesoren): the products withid,name,description,specs,shipping,price_centsandcurrency, and incontactthe WhatsApp number and city your member has on Bolea.request_product(p_product,p_quantityfrom 1 to 5,p_whatsappin E.164,p_city, optionalp_noteup to 300): places the order and returnsorder_id. It's a purchase: show your member the product, quantity, total before shipping, WhatsApp number and city, and wait for their yes.
Errors: not_found (a product that doesn't exist or your member can't see), invalid_value, rate_limited (more than 5 orders in 24 hours).
3.19 Classes and hitting (pilot)
Some members teach tennis (coaches) or get paid to hit (hitting partners). It's a pilot:
- Each one says it about themselves. Bolea only puts them in touch: it doesn't verify it, give the class or charge for it.
- The day, time, place and price are agreed in the Bolea chat.
- Classes happen at public courts or at clubs that rent the court to anyone. Never inside private clubs, residential complexes or compensation funds: those are booked with the venue and follow its rules.
- Classes aren't matches: they don't move the BLE or count in stats.
Finding one.
class_offers(p_kind:coach,hitting_partneror nothing for both): up to 50 people taking students. First those who come to your member's court (travels_to_you), then by distance to their nearest court (venue,distance_km). Each one hasmember,coach_rate,hitting_rate(per hour; withp_kind, only that role's),currency,note,books_court,court_included,city,rating(the average, from 3 reviews; before that,null) andreviews_count.player_profile:classeshas the same, with all their places,travelsandtravel_km, and whether your member can review them (can_review,my_review). If that person isn't taking students,null.class_reviews(p_coach,p_limitup to 50,p_offset):{items, summary}. Each review has who wrote it (member),rating,body,created_atandmine.
Requesting a class. request_class (p_coach, p_kind, p_message from 1 to 1000, p_accept_terms): sends the first message to that person's chat, even if they aren't connected, and returns {conversation_id, message_id, created_at}. Then they continue in the chat (3.8). If they aren't connected, the first message always goes this way: send_message returns chat_needs_match.
- First, show your member who they're writing to, whether it's a class or hitting, and the message. Wait for their yes.
- The first time, the student confirmation is required (
class_terms_required).my_classessays whether they already gave it (class_terms_accepted). Show them this text exactly and sendp_accept_terms: trueonly if they say yes:
> If the class is at a private club, residential complex or compensation fund, I make sure its rules allow it. Bolea only puts us in touch: it doesn't give the class or charge for it. What we agree is between the two of us.
- Up to 5 requests every 24 hours, and 1 to the same person every 24 hours.
Reviews. The stars and the text are your member's to decide: don't write them yourself. Show them the review and wait for their yes.
review_class(p_coach,p_ratingfrom 1 to 5, optionalp_bodyup to 300): creates or changes your member's review. Only if they requested a class through Bolea, that person replied in the chat and 24 hours have passed (review_not_allowed).delete_my_class_review(p_coach): deletes theirs. If Bolea hid it, it removes the text and it stays hidden.report_class_review(p_review): reports someone else's review. It goes to the admin, who hides it or keeps it.
If your member coaches or hits.
update_my_profilewithcoachorhitting_partnerset totrue(falseremoves it). Everyone sees it on their card. Do it only if your member asks.my_classes: what's saved,attested(they signed the current confirmations),phone_verified,listed(they already show up in Classes) andhas_identity(they already gave their ID and address; you don't get them).set_my_classessaves everything at once. Anything you leave out is cleared, except the ID and the address: start frommy_classesand send every field.
| Parameter | What it is |
|---|---|
p_open | "I take students". Required |
p_coach_rate, p_hitting_rate | Hourly rate for each role, per person, a whole number (37.5 is saved as 38). More than 0 and less than 100,000,000 |
p_currency | ISO 4217 code (COP, USD, MXN, EUR). Defaults to COP |
p_note | Optional, up to 140 characters: packages, groups, kids |
p_books_court, p_court_included | "I book the court" and whether the rate includes it |
p_venue_ids | Up to 3 approved places where they book: public courts or clubs. Never residential complexes or compensation funds (venue_not_allowed) |
p_travels, p_travel_km | "I go to your court" and how many km from their city, 1 to 100 |
p_attest | Signs the coach's 4 confirmations |
p_id_document, p_notice_address | Their ID number (4 to 30 characters) and an address for legal notices (5 to 200). Not published: Colombian consumer law requires Bolea to keep them and give them to a student who files a complaint or to an authority. If you leave them out, the saved ones stay |
To take students (p_open: true) they need:
- to be marked as a coach or hitting partner (
not_a_coach); - their phone verified through WhatsApp (
phone_not_verified); the person verifies it in the app, not you; - the rate for their role (
rate_required); - to book the court or go to the student's (
court_mode_required), and a place if they book (venue_required); - the 4 confirmations (
attestation_required); - their ID and an address for legal notices (
identity_required). Ask your member for them: don't make them up or take them from elsewhere.
If Bolea removed their roles (classes_removed), they can't mark themselves again or take students.
Before p_open: true or p_attest: true, ask. Taking students publishes their rate and places. The confirmations are your member's personal statement. Show them the 4 texts exactly and send p_attest: true only if they say yes to all 4:
- I coach or hit on my own, without breaking a contract with a club or employer, or their rules.
- I book in my name at public courts or at clubs that rent to anyone, or I go to the student's court.
- I only teach where the venue's rules allow it. I don't offer classes through Bolea inside private clubs, residential complexes or compensation funds.
- I agree on price, payment and cancellations with each student. I'm responsible for the class and for any conflict with a club or employer. Bolea only puts us in touch.
Also tell them: "By confirming, you agree that people who ask you for a class through Bolea can rate you. Reviews show on your profile." Bolea saves whether they confirmed in the app or through an agent.
What's signed stays. Don't send p_attest again unless my_classes returns attested: false.
Errors: see "Classes and hitting" in 8.
4. Dates and time zones
| Data | Format |
|---|---|
A moment (p_scheduled_at, p_played_at) | ISO 8601 with a zone: 2026-11-12T18:00:00-05:00 or 2026-11-12T23:00:00Z. Always send the offset or Z |
A day (p_on_date, p_week_start, p_from, p_to, p_since) | YYYY-MM-DD |
A zone (p_timezone) | IANA name, like America/Bogota. One that doesn't exist returns invalid_timezone |
- The venue decides. A match is stored in its venue's time zone.
p_timezoneonly counts with no venue that has a zone; if you don't send one either, the member's zone is used. Responses includescheduled_atandtimezone: convert the time to the match's zone when you show it to the member. - Future dates.
propose_matchandcounter_proposalrequire a future time (scheduled_in_past).publish_open_matchandcreate_doublesneed a time between 1 hour and 30 days from now (invalid_open_match_time). - Past dates. To report a match already played (
report_match,report_external_match,report_doubles, andreport_resultwithp_played_at): up to 31 days back (played_too_old) and up to 1 hour in the future (played_in_future). A training session can be up to a year back and not in the future. - Weeks. The week runs Monday to Sunday in the member's time zone. The match day decides which week it belongs to for streaks.
- Don't assume the time. If the member says "Saturday", confirm the time and the zone.
5. Rules
- You act in the member's name. You use their account, with the same rules as in the app. What you do is done in their name and other members see it.
- Ask before anything Bolea marks as destructive. The tools with
annotations.destructiveHintare these (44):
| Area | Tools |
|---|---|
| Matches | cancel_match, reject_proposal |
| Scores | report_match, report_result, confirm_result, correct_result, disagree_result, file_complaint, archive_competition |
| External rivals | external_rival_add, external_rival_update, external_rival_delete, external_rival_invite, report_external_match, external_match_delete |
| Doubles | report_doubles, report_doubles_result, confirm_doubles_result, disagree_doubles_result, leave_doubles, cancel_doubles, withdraw_doubles_request |
| Open matches | cancel_open_match, withdraw_open_match_request |
| Training | training_update, training_delete |
| Messages | share_my_whatsapp |
| Assessment | request_my_assessment_retake, submit_assessment |
| Safety | block_member, unblock_member, report_member, report_message, report_doubles_message |
| Account and profile | stop_sharing_contacts, disconnect_linkedin, remove_member_photo |
| Invitations | annul_invitation |
| Shop | request_product |
| Classes and hitting | set_my_classes, request_class, review_class, delete_my_class_review, report_class_review |
Show the member what you are about to do, with the details, and wait for a yes. With p_attest or p_accept_terms, also show them the texts in 3.19 exactly.
- If the member didn't ask for it, ask before anything that commits them to other people, even if Bolea doesn't mark it:
send_message,propose_match,create_invitationandset_my_venues. - Don't make things up. Don't guess scores, times, phone numbers, locations or assessment answers. If something is missing, ask. Use the tools, not your memory.
- Other members' data is for helping your member. Don't store it, don't summarize it somewhere else, don't share it.
- Don't use errors to guess. A block looks like a member who doesn't exist. Don't push or try to work it out.
- Retry sparingly. If an action fails, read the code, fix what applies or tell the member. Don't loop.
6. What an agent cannot do
Only the person can give these. There is no tool for them. Tell the member to do them in the app.
| Thing | Why | What to tell them |
|---|---|---|
| Apple Health | No agent sees or touches their Health activity, per the published privacy policy | To bring it in from the app, on a training session or a match |
| Sharing phone contacts | They are on their phone and the permission is theirs | To do it in the app. You can only stop sharing them |
| Connecting LinkedIn | It goes through the LinkedIn sign-in | To connect it in the app. You can only disconnect it or set the link, once connected |
| Giving AI permissions | The person gives the permission | To turn it on in Settings |
| Turning news on | They can only be turned off | To turn them on in Settings or on the Home card |
| Uploading a photo | The tools don't upload files | To upload it in Edit profile. You can only remove one |
| Uploading a video to Bolea Vision or watching its clips | The tools don't upload files and the clips live in the video engine | To do it in the app, in the Vision tab. You can list their videos and link them to a match |
| Accepting the terms | The person accepts them | To accept them in the app |
| Confirming their email | The person confirms it | To confirm it in the app |
| Verifying their phone | It's verified from their WhatsApp | To verify it in the app. It's needed to take students |
| Deleting the account | Only the person can do it | To do it in Settings |
| Removing or revoking an agent | The person decides | More → Settings → Connected agents. my_agents only lists them |
| Links to sign back in | They open another person's account | To use the app |
| Other members' WhatsApp | The number would end up in the system that runs you | To open it from the conversation in the app |
| The community group link | Same | To ask for it in the app |
7. Limits
| Limit | Value |
|---|---|
| Calls per minute, per member | 60 (all their agents together) |
| Writes per minute, per member | 20 |
| Matches with someone not on Bolea | 20 logged every 24 hours |
| New external rivals or changed phone numbers | 30 every 24 hours |
| Reporting a score | Up to 31 days back |
| Unanswered score | Counts after 5 days (120 hours) |
| Match proposals | Expire at the match time. Up to 5 unanswered to the same person, in the last 60 days |
Distinct profiles viewed (player_profile) | 300 a day |
| Active open matches per organizer | 3 |
| Active doubles per organizer | 3 |
| Pending requests to open matches or doubles | 5 per member |
| Messages | 30 per minute; 20 new conversations every 24 hours |
| New suggested venues | 10 per day |
| Invitations by email | 30 per day |
| Invitations by phone | 100 per day |
| New member reports | 10 every 24 hours |
Feedback (send_feedback) | 10 every 24 hours |
| Shop orders | 5 every 24 hours |
| Class or hitting requests | 5 every 24 hours; 1 to the same person every 24 hours |
Sizes and pages: bio 160 characters; message 1000; open match note 200; training note 280; competition name 60; external rival name 120; class note 140; class review 300; up to 3 places where they teach; search_players up to 200 per page; my_conversations up to 200; conversation_messages up to 100; open_matches up to 100; community_feed up to 50; external_matches_mine up to 100; search_venues up to 100; class_offers up to 50; class_reviews up to 50.
When you hit the per-minute cap, wait a few seconds and retry once.
8. Errors
An error arrives as text: code: message. Only the code says what happened; the message on domain errors is generic ("La acción no se pudo hacer", Spanish for "the action couldn't be done"). An error with no recognizable code arrives as error.
If the server responds 401, the member hasn't connected or has removed your access. If it responds 403 with not_an_agent_token, the token isn't an agent's.
Access and account
| Code | What to do |
|---|---|
not_a_member | The account isn't an active member's. Tell the member to finish joining in the app |
agents_off | Agents aren't open for this member yet. Don't retry |
agent_revoked | The member removed your access. Stop |
agent_not_granted | The member didn't give you permission. Ask them to connect you again |
agent_gateway_required | Server failure. Retry later |
too_many_agent_calls | You passed 60 calls or 20 writes in a minute. Wait and retry |
legal_not_accepted | The member hasn't accepted the current terms. They must accept in the app |
not_allowed | An agent can't do this (for example, turning news on), or the thing isn't the member's |
feature_off | The feature is off for this member. Don't use it |
error | A rejection with no code: a value outside the list, a malformed UUID, an empty schedule list or a server failure. Check the parameters; if they are fine, retry once |
People
| Code | What to do |
|---|---|
member_not_found | That person doesn't exist, isn't an active member, or there is a block. Don't push |
opponent_not_active | The rival isn't an active member or there is a block. Pick someone else |
cannot_play_yourself | You chose the member themselves |
player_unavailable | In doubles: a repeated player, an inactive one, or one with a block |
cannot_message | You can't message that person: inactive, the member themselves, or a block |
too_many_profiles | Your member viewed more than 300 distinct profiles today. Try again tomorrow |
Proposals and matches
| Code | What to do |
|---|---|
scheduled_in_past | The time has passed. Send a future one |
proposal_not_pending | The proposal was already answered, cancelled or expired. Check my_agenda |
not_your_turn | It is the other member's turn to answer |
not_a_participant | The member isn't in that match or score |
match_not_found | The match doesn't exist or isn't the member's |
match_not_cancellable | Only proposals and accepted matches without a score can be cancelled |
too_many_proposals | There are already 5 unanswered proposals to that person. Wait until they accept a match or write |
invalid_venue | The venue doesn't exist, isn't approved or isn't the member's. Look it up with search_venues |
invalid_timezone | An IANA zone that doesn't exist |
invalid_match_target | In set_match_details or set_match_competition, send p_match or p_doubles, not both and not neither |
Scores
| Code | What to do |
|---|---|
invalid_score | The score breaks the rules in 3.3. Check format, sets, tiebreaks and p_finished |
played_in_future | More than 1 hour in the future |
played_too_old | More than 31 days back. It can't be reported |
match_not_reportable | The match isn't accepted, or already has a score |
result_not_found, result_not_pending | The score doesn't exist, was already answered or expired |
match_not_played | set_match_details on a match with no score |
no_disagreement | file_complaint without a recent disagreement by the member |
invalid_duration | Minutes outside 5 to 600 (60, 90 or 120 for open matches and doubles from the app) |
competition_not_found | The competition doesn't exist, isn't the member's or is archived |
competition_exists, invalid_competition_name, invalid_competition_kind | Repeated name, empty or over 60 characters; a type that isn't club, league or tournament |
External rivals and invitations
| Code | What to do |
|---|---|
rival_not_found | The rival doesn't exist or belongs to another member |
rival_already_saved | The member already has another rival with that phone |
invalid_rival_name | Empty name or over 120 characters |
external_match_not_found | The external match doesn't exist or belongs to someone else |
too_many_external_matches | 20 in 24 hours. Wait |
too_many_attempts | You passed a daily cap (rivals, invitations, suggested venues). Wait |
already_member | That person is already a member (or was). Don't invite them |
invalid_phone, invalid_whatsapp | The phone must be E.164: + and 7 to 15 digits |
invalid_email, invalid_estimate, already_invited, invitations_paused | Malformed email; p_estimate outside the list; a pending invitation already exists; invitations are paused |
invitation_not_pending | That invitation is no longer pending |
Doubles and open matches
| Code | What to do |
|---|---|
invalid_doubles_slots | p_slots is malformed: it must be positions 2, 3 and 4, each invited or open |
invalid_ble_range | Range outside 0 to 100, reversed, or not including the member's BLE |
court_not_booked | p_court_booked must be true |
invalid_open_match_time | Must be between 1 hour and 30 days from now |
invalid_gender_limit | p_only_gender must be the organizer's own |
too_many_open_matches, too_many_doubles | They already have 3 active |
too_many_requests | They already have 5 pending requests |
own_open_match, not_in_range, wrong_gender, already_requested, already_in_doubles | They can't ask for that spot or already did |
open_match_not_found, open_match_not_open, doubles_not_found, doubles_not_open, doubles_not_full, doubles_started | The match doesn't exist, is already full, cancelled, expired or started |
slot_not_open, slot_taken | The spot isn't open or already has someone |
request_not_pending, invite_not_pending | Already answered or withdrawn |
not_organizer, not_in_doubles, organizer_cannot_leave | The member doesn't have that role |
result_already_reported | That doubles match already has a score |
doubles_chat_closed | The chat has closed |
Messages, training and stats
| Code | What to do |
|---|---|
invalid_message | Empty message or over 1000 characters, or a p_id another member already used. Generate a new UUID |
too_many_messages, too_many_conversations | Message or new-conversation cap. Wait |
conversation_not_found, message_not_found | It doesn't exist or isn't the member's |
whatsapp_required | The member has no WhatsApp in Settings. Ask them to add it or send p_number |
invalid_training_date, invalid_training_kind, invalid_training_minutes, invalid_training_focus, invalid_training_effort, invalid_training_partner, invalid_training_note, training_not_found | See 3.9 |
invalid_ranking, invalid_stats_period, invalid_stats_mode, invalid_stats_rival, invalid_sort, invalid_result_filter | A value or combination outside what is allowed. See 3.1 and 3.10 |
Profile, venues, assessment and safety
| Code | What to do |
|---|---|
invalid_location | Latitude or longitude missing or out of range |
invalid_distance | p_km outside 1 to 100 |
invalid_name, invalid_venue_details | Venue: name of 2 to 120 characters; invalid type, address, city, country or zone |
venue_required, too_many_venues, duplicate_venue, booking_confirmation_required | set_my_venues: 1 to 3 distinct venues, each with can_book: true |
invalid_work, invalid_linkedin_url, linkedin_not_connected | See 3.12 |
assessment_not_required, retake_not_available, invalid_assessment, invalid_answers | See 3.11 |
invalid_source | p_source outside onboarding, home_card, settings |
reason_required, invalid_reason, try_later | Reports: missing reason, a reason that doesn't fit (profile: content, harassment, fake, other; message: offensive, harassment, spam, other), or more than 10 in 24 hours |
invalid_feedback_kind, invalid_feedback_message, too_many_feedback | A type other than improvement or bug; empty text or over 1000 characters; 10 in 24 hours |
Classes and hitting
| Code | What to do |
|---|---|
not_a_coach | Your member isn't marked as a coach or hitting partner. If they ask, update_my_profile with coach or hitting_partner |
phone_not_verified | They need to verify their phone through WhatsApp in the app |
rate_required, court_mode_required, venue_required | Missing the rate for their role, the choice between booking the court or going to the student's, or a place where they book |
attestation_required | The 4 confirmations are missing. See 3.19 |
identity_required, invalid_identity | The ID or the address for legal notices is missing, or doesn't have the required length (4 to 30 and 5 to 200). Ask your member for them |
classes_removed | Bolea removed their coach and hitting partner roles: they can't mark themselves again. If they think it's a mistake, they can write to hola@bolea.club |
invalid_currency, invalid_rate, invalid_note, invalid_travel_km | A currency that isn't a 3-letter code; a rate out of range; a note over 140; km outside 1 to 100 |
too_many_venues, venue_not_found, venue_not_allowed | More than 3 places; a place that doesn't exist or isn't approved; a residential complex, a compensation fund or a place closed to classes |
invalid_class_kind | p_kind must be coach or hitting_partner |
not_taking_students | That person isn't taking students for that kind |
class_terms_required | The student confirmation is missing. See 3.19 |
class_request_recent, class_requests_daily | They already asked that person in the last 24 hours, or already made 5 requests. Wait |
invalid_rating, invalid_review | Stars outside 1 to 5; text over 300 |
review_not_allowed | They can't review yet: they need to ask through Bolea, get a reply and wait 24 hours |
review_not_found | The review doesn't exist, is hidden or is your member's own |
All the tools
There are 181. With their types and what each one returns, in /mcp/tools.json. A parameter with * is required.
Finding players
count_players
Counts how many players match the search_players filters without returning the list. Use it to test filters before searching.
in_common
What your member and another player have in common: matches together, contacts, venues and who invited whom. Use it to decide whom to message.
player_profile
A member's profile without private data: level, venues, stats, recent matches and head-to-head against your member. With your member's own id it returns their BLE.
rival_insights
How your member does against another player: head-to-head, recent form, win probability and common rivals. Use it before proposing a match.
search_players
Searches players by name, BLE level, venue, city, schedule or distance. Use it first to find a rival and get their member_id.
suggested_players
Up to 5 players Bolea suggests for the member, with the level gap. A good starting point when the member has nobody specific in mind.
venue_players
Players at one approved venue, with level and schedule filters. Use it to look for rivals at a specific place.
Proposing and scheduling
accept_proposal
Accepts a match proposal someone sent. It only works if it is your member's turn to answer and the proposal has not expired.
cancel_match
Cancels an accepted match or an unanswered proposal your member sent. It does not work once a score has been reported.
counter_proposal
Answers a proposal you received with another time or place, without accepting or rejecting it. The other member must now answer.
match_detail
Detail of one of the member's matches: status, rival, venue, current score and which side they play (my_side). You need it to orient p_sets.
my_agenda
Everything pending for the member: proposals to answer or awaiting reply, scores to report or confirm, and upcoming matches. Read it first.
proposal_defaults
Suggested times to propose a match to a rival, based on both schedules, plus their shared venue. Use it before propose_match.
propose_match
Proposes a match to another member with date, time and place. It stays pending until they answer and expires at the match time.
reject_proposal
Rejects a match proposal someone sent and notifies them. It only works if it is your member's turn to answer.
Scores, match type and competitions
archive_competition
Archives a competition: it leaves the list and cannot be used on new matches, but matches that already have it keep it.
confirm_result
Confirms the score the rival reported. It makes the match official and updates levels; if nobody answers, it counts after 5 days.
correct_result
Proposes a different score when the rival's report is wrong. Your member becomes the reporter and the rival must confirm it.
create_competition
Creates the member's own competition (club, league or tournament) or returns the one already using that name. Only the member sees it.
disagree_result
Says your member disagrees with the score: it is annulled and the match does not count. With p_complain it also files a private complaint.
file_complaint
Files the private complaint about the rival, within 14 days of a disagreement your member recorded. It fails if there was no disagreement.
my_competitions
The member's competitions (league, tournament or club), without archived ones, with the id to use when reporting a score.
my_last_surface
The last surface your member used at a venue, to suggest when reporting. Returns null if there is none.
rename_competition
Renames one of the member's competitions. It fails if the member already has another one with that name.
report_match
Reports a played match that was never scheduled in Bolea, up to 31 days back. It creates the match and its score at once; the rival confirms.
report_result
Reports the score of a match that was already accepted in Bolea. For a match that was never scheduled, use report_match.
set_match_competition
Sets, changes or removes (with null) your member's competition on a match or doubles. It does not touch the other player's.
set_match_details
Sets type, surface or duration on a match or doubles that has a reported score. Duration belongs to each player: if you didn't report it and there already was one, it only changes for you. Anything you send as null is left unchanged.
Matches with people not on Bolea
external_match_delete
Deletes a match logged with an external rival and recalculates the streak. It does not work for matches with members.
external_matches_mine
Matches logged with rivals who are not on Bolea, newest first, with the id you need to delete them.
external_rival_add
Saves someone who is not on Bolea as a rival, with a name and, if there is one, a phone. If the phone belongs to a member, nothing is saved and the answer says so.
external_rival_delete
Deletes a saved rival. Their matches stay, with no rival name.
external_rival_invite
Creates the code to invite a saved rival; the link is bolea.club/i/code. Give it to your member: you do not send the message.
external_rival_update
Changes the name or phone of a saved rival; an empty phone removes it. With a new phone number, it drops the invitation the rival had.
external_rivals_mine
Saved rivals who are not on Bolea, most recent opponent first. For an agent, the phone number comes back empty.
report_external_match
Logs a match with a saved rival who is not on Bolea, up to 31 days back. It becomes official when that person joins and confirms it.
Doubles
answer_doubles_invite
Accepts or declines the invitation your member received to play a doubles match.
cancel_doubles
As the organizer, cancels the doubles match. It does not work if it has started or has a score.
change_doubles_slot
As the organizer, changes a spot: invites another person or opens it with gender and level limits. It does not work once a score exists.
confirm_doubles_result
Confirms the score of a doubles match that the other pair reported. If nobody answers, it counts after 120 hours.
create_doubles
Organizes a doubles match with a booked court. The organizer takes position 1; you send positions 2, 3 and 4, invited or open.
disagree_doubles_result
Says your member disagrees with a doubles score. The score does not count.
doubles_agenda
What is pending in doubles: the member's own, invitations, requests to answer, scores to report or confirm, and those waiting on the other pair.
doubles_detail
Detail of a doubles match: spots, players, each one's side (a or b), score and, for the organizer, the requests for each open spot.
leave_doubles
Your member leaves a doubles match they play in. The organizer cannot leave and must cancel. It does not work once a score exists.
open_doubles
Other members' doubles matches that have an open spot. Use request_doubles_slot to ask for one.
report_doubles
Reports a played doubles match that was never scheduled in Bolea, with partner and two rivals, up to 31 days back. In p_sets, a is your member's pair.
report_doubles_result
Reports the score of a filled, played doubles match from the app. In p_sets, a is side A (positions 1 and 2) and b is side B.
request_doubles_slot
Asks for an open spot in a doubles match, using p_position. The organizer decides.
respond_doubles_request
As the organizer, accepts or rejects someone's request for a spot in the doubles match.
withdraw_doubles_request
Withdraws a spot request in a doubles match that has not been answered yet.
Open matches
cancel_open_match
As the organizer, cancels an open match that has not been played yet.
my_open_matches
The member's own open matches that are still open or yet to be played.
open_match_detail
Detail of an open match. If the member is the organizer, it includes the pending requests.
open_match_requests_to_answer
Other members' requests to your member's open matches that are waiting for an answer.
open_matches
Other members' open matches. With p_level mine it keeps only those your member can request; viewer says whether they can.
publish_open_match
Posts an open match with an already booked court, for anyone in the level range to request. The member picks a rival from those who ask.
request_open_match
Asks to join another member's open match. The organizer accepts or rejects.
respond_open_match_request
As the organizer, accepts or rejects a request. Accepting creates the match and returns its id.
withdraw_open_match_request
Withdraws your member's request to join an open match.
Messages
conversation_messages
Messages in a conversation, newest first. Use p_before_id to page back to older ones.
doubles_chat
Messages in a doubles match chat, newest first, with its participants.
mark_conversation_read
Marks a conversation as read, so the other member sees your member has read it.
mark_doubles_chat_read
Marks a doubles match chat as read.
my_conversations
Conversations that have messages, newest first, with the last message and whether any are unread. Gives you the conversation_id.
my_doubles_chats
Chats for the member's doubles matches, with the last message and whether any are unread.
my_unread_messages
How many unread messages your member has in total.
open_conversation
State of a conversation with a member (p_member) or by id: blocks and any pending match between them. With no messages yet, conversation_id is null.
send_doubles_message
Sends a message to a doubles match chat. p_message_id is a new UUID you generate. The chat must be open.
send_message
Sends a text message of 1 to 1000 characters to another member. p_id is a new UUID you generate; resending the same one does not duplicate.
share_my_whatsapp
Sends your member's WhatsApp number to another member inside the chat. It is personal data: ask first. p_id is a new UUID.
Training
training_delete
Deletes one of the member's training sessions.
training_log
Logs a training session: day, type(s), total minutes, strokes, effort. It does not count toward the BLE or as a match.
training_summary
Month minutes and weekly training streak, for your member or another member. Never the session detail of someone else.
training_update
Replaces a whole session: any optional field you leave out is cleared. Send every field, not only the change.
training_week
The sessions in one week (Monday to Sunday), total and on-court minutes, and recent combinations to repeat.
Stats, leaderboards and community
badge_overview
How many members hold each badge, and your member's progress: matches, rivals, venues and invitees.
community_doubles
A doubles match from the community, with both pairs and the score.
community_feed
What is happening in the community, nearby first along with new members from any city: results, badges and arrivals. Filter with p_filter. For context, not for storing. With p_tournaments it also brings the champion of each public tournament that ended.
community_match
A singles match from the community, with players, levels before and after, and their head-to-head.
my_match_history
The member's confirmed matches, newest first. Filter by rival or by won and lost.
my_rating_evolution
The member's BLE history: each change with its value, the delta and the reason. p_since is a date.
my_streak
Weekly activity streak, win streak and the last 8 weeks. Says whether this week is still pending.
player_stats
Confirmed stats for a member by period and by singles or doubles: record, type, surface, rival level, streaks and rankings.
ranking_board
A leaderboard: level, wins, activity or streaks. wins and activity require p_period; level and streaks do not accept it.
Level assessment
my_assessment_retake_available
Says whether the member can retake the assessment: only if they have no reported score.
request_my_assessment_retake
Opens a level assessment retake. Call it only once you have all the answers, and call submit_assessment right after.
save_assessment_progress
Saves partial answers to the pending assessment, with the current step. Useful if the retake spans several conversations.
submit_assessment
Submits your member's answers and sets their new BLE, provisional again. Use only answers the member gave, never invented ones.
Profile and work
get_my_profile
The member's profile: id, name, city, hand, backhand, bio, schedule and maximum distance. Their id works in player_stats and player_profile.
update_my_profile
Changes the bio (up to 160), hand, backhand or schedule. Only what you send changes; the schedule replaces the whole list.
dismiss_work_notice
Dismisses the pending notice about work data, once the member has reviewed it.
my_work
The member's work and studies: company, title, schools, area and role, and whether they came from LinkedIn or from the member.
remove_member_photo
Removes one photo from the member's gallery, by position 1 to 3. You cannot upload a new one.
set_company_hidden
Hides or shows your member's company on their profile for others.
set_linkedin_url
Saves or removes (with null) the LinkedIn profile link. Only works if the member already connected LinkedIn in the app.
update_my_work
Edits company, title, school, area or role. An empty string clears the field. Send area and role only with codes my_work returned.
Network and invitations
annul_invitation
Cancels a pending invitation your member sent; its link stops working.
create_invitation
Creates a Bolea invitation with the invitee's phone (p_phone) or email. With an email, Bolea sends them a message: ask first.
my_invite_link
Your member's personal link to invite people to Bolea (url): it works for several people and doesn't expire. Whoever creates an account with it shows up as invited by your member. Give it to your member to share; you don't send it.
my_network
Up to 150 members who share something with your member (venue, company, school, contacts, matches), closest first. It may return feature_off.
Places and location
clear_my_location
Clears the last saved location; distances go back to being measured from the member's home city.
search_venues
Searches venues by name or city, with each one's member count. Gives you the venue_id for proposing, reporting or posting.
set_max_distance
Sets the maximum distance in km (1 to 100) for suggestions and searches; null means no limit.
set_my_venues
Replaces your member's venues (1 to 3). Each needs can_book true: the member must confirm they can book there.
set_travel_mode
Puts your member in travel mode in another city so they can find players there, with coordinates. With p_city null it turns it off.
suggest_venue
Suggests a new venue when search_venues does not find it. It goes into review. Up to 10 new ones a day.
update_my_location
Saves your member's location (latitude and longitude, rounded to about 1.1 km) to measure distances. Use it only with real coordinates they give you.
venue_map
Venues near your member (up to 300 within 100 km) and their own, with member counts, how many match a level and schedule range, and whether they are your member's. For another city, use search_venues.
venue_map_cities
The cities where Bolea has venues, with how many each has. To look at another one, use search_venues or venue_players.
Account and permissions
contacts_status
Whether your member shares their phone contacts with Bolea, how many, and their permission to classify them with AI.
disconnect_linkedin
Disconnects the member's LinkedIn. You cannot connect it again: that happens in the app.
linkedin_status
Whether the member connected LinkedIn, their link, and whether they need to reconnect. Connecting happens in the app.
my_agents
The agents with access to the member's account and when each was last used. To remove one, the member does it in the app.
my_features
Which features are turned on for your member (venue pins, network, LinkedIn, agents, contact types).
my_news_preferences
Whether the member receives Bolea news by email, push or WhatsApp. It is not the news tool.
my_onboarding_status
The member's account state: whether it is active, what is missing and whether they accepted the current terms. Also gives the age and country the assessment needs.
set_news_preferences
Turns Bolea news off per channel. An agent can only turn off: turning on returns not_allowed. Send the other channels as they are.
stop_sharing_contacts
Stops sharing the member's contacts and deletes the uploaded ones. You cannot share them again: that happens in the app.
Safety: blocks, reports and feedback
block_member
Blocks another member: neither sees the other, and their proposals and unplayed matches are cancelled. They are not notified.
my_blocks
The members your member blocked, newest first. Use it to find whom to unblock.
report_doubles_message
Reports a doubles chat message by its id and reason. Ask first.
report_member
Reports a member to the Bolea team (content, harassment, fake or other), with optional text. Ask first.
report_message
Reports a chat message (offensive, harassment, spam or other) by its id. Ask first.
send_feedback
Sends feedback to the Bolea team: an improvement or a bug, 1 to 1000 characters. Up to 10 a day. Do not send screenshots.
unblock_member
Removes a block on a member. What was cancelled when blocking does not come back.
Bolea itself
assessment_questions
The level assessment questions, with the keys and options for p_answers. Read it before a retake.
news
What is new for the member since this agent last asked: agenda, unread messages and open matches. Use it to brief the member.
how_bolea_works
Explains in plain text how Bolea works: the level, matches, scores and the rules for agents. Read it when you connect.
Tournaments
my_admin_venues
The clubs I administer, where I can create official tournaments.
player_competition
A member's tournament matches, separate from the rest: figures, titles and each tournament. Private ones only if the caller is in them.
report_tournament
Reports a tournament to Bolea or, in a community one, a fake score. It doesn't stop the tournament.
tournament_accept_all
Accepts every applicant who qualifies, up to capacity. Team only.
tournament_add_guest
Adds someone who isn't on Bolea, with name and phone: they show in the draw with a "?". They can play one match; to continue they must create a profile.
tournament_add_pair
The organizer signs up a doubles pair, with a member or a name and phone for each. Ask first.
tournament_answer_invite
Accepts or declines a tournament invitation.
tournament_answer_partner
Answers whether they'll be the partner of the person who chose them, in doubles. Ask first.
tournament_apply
Applies to a category of a public tournament. The organizer accepts or rejects. In doubles, with p_partner or with p_partner_name and p_partner_phone.
tournament_cancel
Cancels a tournament and notifies players. Approved scores stay. Ask first.
tournament_category_entries
A category's players. The team also sees who is awaiting an answer.
tournament_create
Creates a tournament with its categories. A member creates an unofficial one; Bolea and a club administrator, an official one. Pass the name, dates, sign-up close and at least one category with its draw and format. kind: tournament or league; each category with mode: singles or doubles. Each category needs name, capacity and format_main, such as {"kind":"best_of_3","decider":"super_10"}. The other fields and a full example are in how_bolea_works, under Tournaments and leagues.
tournament_detail
A tournament: organizer, dates, rules, categories, where I stand and whether I can apply.
tournament_draw
A category's draw: stages, matches, scores and group tables.
tournament_home
My next tournament match and how much I have to resolve.
tournament_invite_guest
Creates that person's personal invitation, with the tournament included. Returns the code to build the message.
tournament_invite_member
Invites a member to a category. Team only.
tournament_line
A draw match: players, deadline, format, score and what the caller can do.
tournament_link_match
Links a match proposed with the same rival to a draw line.
tournament_load_draw
Loads a draw made by hand: each player on their line, or the groups. It then advances the same way. Ask first.
tournament_make_draw
Makes the draw using USTA rules. It happens once and is published. Ask first.
tournament_move_line
Moves or replaces someone before the first match is played. The draw shows it. Team only. Use one of movable_entries from tournament_line.
tournament_new_season
Creates the next season of a finished league, with promotion and relegation. Each player gets an invite. Ask first.
tournament_pending_line
Whether I have a pending tournament match with this rival. Use it before reporting a regular match.
tournament_report_line
Reports the score of a tournament match, with "a" = the reporter and the stage's format. The rival confirms and then the organizer approves. Ask first.
tournament_review_entry
Accepts, rejects or waitlists an applicant. Team only.
tournament_review_result
Approves, edits or removes a score. With 'edit', "a" is the line's side a. With 'clear', the match goes back to not played. Nobody judges their own match. Ask first.
tournament_rival_silent
"My opponent isn't answering": lets the organizer know. Ask first.
tournament_seeds
Players in seed order, with how many seeds and byes the draw will have. Team only.
tournament_set_deadline
Changes a match's deadline. Team only.
tournament_set_schedule
Sets a match's day, time and court. Team only.
tournament_set_seeds
Reorders seeds before the draw. The draw will say the organizer adjusted them. Team only.
tournament_staff_add
Adds an admin or judge to the tournament team.
tournament_staff_remove
Removes someone from the tournament team.
tournament_todo
What the team has to resolve: disagreements, scores to approve, overdue deadlines and applications.
tournament_update
Changes tournament data: name, rules, fee, prizes and dates. Team only.
tournament_walkover
Gives a walkover to one side ('a' or 'b'), a double walkover ('double') or more days ('extend'). Judges only. Ask first.
tournament_withdraw
Withdraws a player from a tournament. After the draw, their pending matches become walkovers. Ask first.
tournaments_list
Lists tournaments: mine, official ones and community ones nearby (p_area 'near') or everywhere ('all').
Bolea Vision (beta)
my_vision_analyses
The videos your member analyzed with Bolea Vision: status, which match or training session they belong to and the summary (rallies, shots, active play). Only if they have Vision.
request_vision_access
Asks for Bolea Vision for a member who doesn't have it. Bolea gets an email to approve it; once approved, your member gets a notification. If they already asked, nothing is sent again.
vision_link
Links a Vision video to a match your member played or to one of their training sessions. With neither, it removes the link.
Shop
request_product
Orders a shop product. Nothing is charged here: Bolea writes to your member on WhatsApp to arrange payment and shipping.
shop_products
The products in the Bolea shop, with price and shipping, plus your member's WhatsApp and city for the order. Today it's the tripod for Bolea Vision, only for members who have Vision.
Classes and hitting (pilot)
class_offers
Coaches and hitting partners taking students: first those who come to your member's court, then by distance, with hourly rate, currency, note, court and reviews. Each one says it themselves; Bolea doesn't verify it.
class_reviews
A coach's or hitting partner's reviews, newest first, with the average (from 3 reviews) and how many there are.
delete_my_class_review
Deletes the review your member wrote about a coach or hitting partner. Ask first.
my_classes
Your member's class profile: whether they coach or hit, whether they take students, rates, court and places, whether they signed the confirmations, whether their phone is verified and whether they already show up in Classes.
report_class_review
Reports someone else's review: Bolea checks it and hides it or keeps it. Ask first.
request_class
Requests a class or a hitting session: sends the first message to that person's chat, even if they aren't connected. Everything else is agreed in the chat. The first time, your member gives their confirmation. Ask first.
review_class
Rates a coach or hitting partner from 1 to 5 stars, with optional text. One per person; doing it again changes it. Only after asking them through Bolea and getting a reply. Ask first.
set_my_classes
Saves the whole class profile at once: anything you leave out is cleared (except the ID and the address), so start from my_classes. Taking students, the 4 confirmations and their details are your member's decision. Ask first.