Run racket-sport tournaments from your AI assistant: fair draws, scores, live standings.
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Add players to the roster in bulk (parse pasted lists or spreadsheets yourself and send structured entries — never invent placeholder names; use signup mode when names aren't known yet). Duplicate names are rejected for disambiguation. If an unlocked draw exists it is regenerated automatically. Americano/mexicano take late arrivals even after results exist: americano rebuilds the rounds nobody has started, mexicano pairs them into the next round.
The tournament's organiser key (starts with tk_)
Optional idempotency id — retrying a call with the same id never applies it twice
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Add players to the roster in bulk (parse pasted lists or spreadsheets yourself and send structured entries — never invent placeholder names; use signup mode when names aren't known yet). Duplicate names are rejected for disambiguation. If an unlocked draw exists it is regenerated automatically. Americano/mexicano take late arrivals even after results exist: americano rebuilds the rounds nobody has started, mexicano pairs them into the next round.
| Argument | Type | Description |
|---|---|---|
| players* | array | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key",
"players"
],
"properties": {
"players": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120
},
"level": {
"type": "number",
"maximum": 10000,
"minimum": -10000,
"description": "Any consistent numeric level/rating — used only for seeding and balancing"
},
"gender": {
"enum": [
"m",
"f",
"x"
],
"type": "string"
}
}
},
"maxItems": 128,
"minItems": 1
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Create a new tournament. Keep setup SHORT: ask the organiser only for sport, players, court count and start time — sensible defaults cover everything else. FORMAT: never ask an open 'which format?' question. If the organiser clearly named one, pass it; otherwise omit format — the call then returns a ready-to-show menu of options (nothing is created) for you to relay so the organiser can read and choose in one reply. Players can be added later with add_players. NEVER invent placeholder or fake player names ('Player 1', made-up names): if the organiser only knows the headcount, create with signup_open: true and signup_cap set to it — players add themselves by name via the page link. If the organiser gives a time budget instead of rounds (e.g. 'we have 2 hours'), derive rounds ≈ total minutes ÷ (match + break minutes) and confirm. If they ask for a format that is not listed, offer to note it with record_feedback. Returns the organiser key (tk_…): relay it with the warning that it cannot be recovered, plus the shareable page link.
| Argument | Type | Description |
|---|---|---|
| name | string | Defaults to '<Sport> tournament 14 Aug 2026 (<location>)' — start date (or today) plus the location when known |
| pairs | array | Doubles: fixed pairs as [name, name] arrays. Omit to auto-pair. |
| sport* | string | Write sport names to the organiser in words — 'table tennis', never the enum spelling 'table_tennis'. |
| courts | integer | Default 2 |
| format | string | Tournament format. round_robin: everyone plays everyone. groups_playoff: round-robin groups then a knockout. single_elimination: knockout with byes. americano/mexicano: rotating-partner doubles, points per round (mexicano pairs each round from standings). OMIT when the organiser hasn't clearly chosen — the call then returns a menu of explained options to show them instead of creating anything. |
Soft-delete the whole tournament (recoverable by support for 7 days, then gone). Preview first; confirm: true to apply.
| Argument | Type | Description |
|---|---|---|
| confirm | boolean | |
| tournament_key* | string |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"confirm": {
"type": "boolean"
},
"tournament_key": {
"type": "string"
}
}
}Finish the tournament. If matches are still pending it ends early and current standings freeze as the final results. Preview first, confirm to apply.
| Argument | Type | Description |
|---|---|---|
| confirm | boolean | Omit or false: return a preview of what would change. True: apply it. |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "Omit or false: return a preview of what would change. True: apply it."
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Generate (or regenerate) the draw and schedule. This IS the start action: the first draw moves the tournament from setup to active and closes self-signup — when the organiser says "start the tournament", call this. The result includes rounds_text — SHOW it to the organiser as-is, in whatever language they are writing to you in (it is English already, so relay it unchanged unless they are writing something else) so they can check who plays whom — and the seed that produced the draw: preview first, then confirm with that SAME seed to apply exactly the previewed draw. Free until the first result is recorded; after that this DISCARDS recorded results and requires BOTH confirm: true and discard_results: true. If the organiser asks for a format that is not supported, offer to note it with record_feedback. Optional overrides adjust the format first.
| Argument | Type | Description |
|---|---|---|
| seed | integer | Draw seed returned by the preview — pass it back with confirm: true to apply exactly the previewed draw. Omit for a fresh draw. |
| rounds | integer | |
| confirm | boolean | Omit or false: return a preview of what would change. True: apply it. |
| seeding | string | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| group_count | integer |
Chronological record of every change (newest first) — the answer to "who changed that?". Paginate with before_id. Ids are global across all tournaments, so gaps between ids are normal.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| before_id | integer | |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 200,
"minimum": 1
},
"before_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Compact full state of the tournament — settings, roster, progress, next matches, standings, page link. Call this first when resuming work in a new conversation with just the key.
| Argument | Type | Description |
|---|---|---|
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Full structured export of the tournament document (players, draws, results) — for the organiser's own records or data portability.
| Argument | Type | Description |
|---|---|---|
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}The printable PDF itself, returned as a base64 embedded resource — use this when the organiser wants the file handed to them and your client cannot fetch URLs. Default "sheet": the merged tournament document (match sheet with write-in score boxes, player sheet, standings/results when they exist). "results" and "plan" are deprecated pre-merge variants kept for comparison. For a lighter response, get_pdf_link returns download URLs instead.
| Argument | Type | Description |
|---|---|---|
| doc | string | |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"doc": {
"enum": [
"sheet",
"results",
"plan"
],
"type": "string"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Download links for the printable PDF. pdf_url is the merged tournament document (match sheet with write-in score boxes, player sheet, standings/results when they exist) — hand this to the organiser. results_pdf_url and plan_pdf_url are deprecated pre-merge variants kept for comparison.
| Argument | Type | Description |
|---|---|---|
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}A blank Excel workbook the organiser fills in and hands back: Name, Level, Gender, Comments, one player per row, with a sheet explaining each column. Offer it when the organiser has no list ready, asks how to send their players, or would rather work in a spreadsheet than paste names into chat. Needs no key. The file comes back both as a download link and as an attachable file. Reading a filled-in sheet needs no tool: parse it yourself and send the rows to add_players.
No arguments.
{
"type": "object",
"properties": {}
}Final placements (or placements-so-far for a tournament that ended early).
| Argument | Type | Description |
|---|---|---|
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Upcoming matches in playing order with courts and estimated times.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Current standings per group/structure, tiebreak-ordered (wins → head-to-head → set diff → game diff; americano: total points).
| Argument | Type | Description |
|---|---|---|
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Matches with sides, scores, courts and times. Filter by state or round; paginate with after_match_number for large tournaments.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| round | integer | |
| state | string | |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
| after_match_number | integer |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1
},
"round": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1
},
"state": {
"enum": [
"scheduled",
"completed",
"walkover",
"retired",
"cancelled",
"bye"
],
"type": "string"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
},
"after_match_number": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
}
}
}Full roster with status, level, and doubles partner.
| Argument | Type | Description |
|---|---|---|
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Health check. Returns a static confirmation that the Turnale MCP server is reachable.
No arguments.
{
"type": "object",
"properties": {}
}Move a waitlisted player onto the active roster when a spot opens (signed-in players are notified by email). The cap can be raised with update_settings. Once results exist only americano/mexicano can take them — the unstarted rounds follow the roster.
| Argument | Type | Description |
|---|---|---|
| name* | string | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key",
"name"
],
"properties": {
"name": {
"type": "string"
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Record a request for something Turnale does not support yet (a format, scoring variant, or feature), so it can be considered for the roadmap. Call this only when the organiser asked for something unsupported AND agreed to have it noted. Describe the missing capability in general terms — NEVER include player names, contact details, or tournament keys.
| Argument | Type | Description |
|---|---|---|
| category* | string | |
| feedback* | string | What the organiser wanted, summarised without any personal data (max 1000 characters — room for the problem, the workaround tried, and the suggested scope) |
| related_tool | string | The tool this relates to, if any |
{
"type": "object",
"required": [
"category",
"feedback"
],
"properties": {
"category": {
"enum": [
"unsupported_format",
"scoring_variant",
"feature",
"other"
],
"type": "string"
},
"feedback": {
"type": "string",
"maxLength": 1000,
"minLength": 10,
"description": "What the organiser wanted, summarised without any personal data (max 1000 characters — room for the problem, the workaround tried, and the suggested scope)"
},
"related_tool": {
"type": "string",
"maxLength": 60,
"description": "The tool this relates to, if any"
}
}
}Record one or many results. Score is conversational text: "6-4 3-6 10-7" (sets) or "16-8" (americano points). Outcomes: completed (default), walkover, retired (partial score allowed), cancelled, reinstate — reinstate CLEARS a recorded result and returns the match to scheduled (the fix for a mis-entered score). Corrections simply re-record. Winner (a|b = first|second listed side) only needed when the score alone does not decide.
| Argument | Type | Description |
|---|---|---|
| results* | array | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key",
"results"
],
"properties": {
"results": {
"type": "array",
"items": {
"type": "object",
"required": [
"match_id"
],
"properties": {
"score": {
"type": "string",
"maxLength": 120
},
"winner": {
"enum": [
"a",
"b"
],
"type": "string"
},
"outcome": {
"enum": [
"completed",
"walkover",
"retired",
"cancelled",
"reinstate"
],
"type": "string"
},
"match_id": {
"type": "string"
}
}
},
"maxItems": 100,
"minItems": 1
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Remove one or MANY players before any result is recorded (afterwards use withdraw_player or replace_player) — pass player_names to clear several in one call, never loop one-by-one. Regenerates an existing unlocked draw.
| Argument | Type | Description |
|---|---|---|
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| player_name | string | |
| player_names | array | Bulk removal — e.g. clearing mistaken placeholder names in one call |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"player_name": {
"type": "string"
},
"player_names": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 128,
"minItems": 1,
"description": "Bulk removal — e.g. clearing mistaken placeholder names in one call"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}A substitute takes over a player's spot. During play: slot takeover — completed results stay, the change is shown ("Anna, for Kristjan from R3"). Before the first result: choose mode slot_swap (default) or regenerate (re-pair and redraw using levels). Unknown substitute names are added to the roster automatically.
| Argument | Type | Description |
|---|---|---|
| mode | string | |
| in_player* | object | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
| out_player_name* | string |
{
"type": "object",
"required": [
"tournament_key",
"out_player_name",
"in_player"
],
"properties": {
"mode": {
"enum": [
"slot_swap",
"regenerate"
],
"type": "string"
},
"in_player": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120
},
"level": {
"type": "number",
"maximum": 10000,
"minimum": -10000,
"description": "Any consistent numeric level/rating — used only for seeding and balancing"
},
"gender": {
"enum": [
"m",
"f",
"x"
],
"type": "string"
}
}
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
},
"out_player_name": {
"type": "string"
}
}
}Shift the start time, add a delay, or move one match to a specific court/slot. Played matches never move.
| Argument | Type | Description |
|---|---|---|
| move_match | object | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| start_time | string | New start: ISO datetime WITH offset (e.g. 2026-08-01T18:00:00+03:00), within 365 days. |
| delay_minutes | integer | |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"move_match": {
"type": "object",
"required": [
"match_id"
],
"properties": {
"slot": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"match_id": {
"type": "string"
},
"court_name": {
"type": "string"
}
}
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"start_time": {
"type": "string",
"description": "New start: ISO datetime WITH offset (e.g. 2026-08-01T18:00:00+03:00), within 365 days."
},
"delay_minutes": {
"type": "integer",
"maximum": 600,
"minimum": 1
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Fix the doubles pairs: pass explicit pairs by name, or auto-pair (random or level-balanced). Only before results exist. Regenerates an existing unlocked draw.
| Argument | Type | Description |
|---|---|---|
| auto | string | |
| pairs | array | Fixed pairs as [name, name] arrays |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"auto": {
"enum": [
"random",
"level_balanced"
],
"type": "string"
},
"pairs": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2
},
"description": "Fixed pairs as [name, name] arrays"
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Recommend tournament formats in plain language, with the round/time math done by the engine. Call this FIRST when the organiser has not named a format, names one hesitantly, or comes from a background where americano/mexicano need explaining — then relay the `menu` text as-is instead of asking an open 'which format?' question. SINGLES OR DOUBLES IS A PREREQUISITE: omit `discipline` and this returns the question to put to the organiser rather than a menu, because it decides which formats exist at all (americano and mexicano are doubles). Never infer it from the sport. Needs no key.
| Argument | Type | Description |
|---|---|---|
| vibe | string | Social: everyone mixes and plays a lot. Competitive: a bracket and a winner. |
| courts | integer | Default 2 |
| discipline | string | Ask the organiser before offering formats; never infer it from the sport. 'unknown' = you asked and they don't mind, which shows both kinds. OMIT to get the question itself back. |
| match_minutes | integer | |
| total_minutes | integer | The time budget, e.g. 120 for a two-hour evening |
| fixed_partners | boolean | Doubles only: do pairs stay together all evening? |
| players_estimate |
Exchange two players' places. Fixed-pair doubles: swaps partners between two pairs permanently (name one player from each pair). Americano/mexicano: pass `round` to swap two players' places in ONE unplayed round — the courtside patch for a late arrival, an injury, or two friends who want a game together. One of them may be sitting that round, which is how you put a late arrival on court. Preview first, confirm to apply: the preview names any partnership or meeting the swap would repeat. Results already played never move.
| Argument | Type | Description |
|---|---|---|
| round | integer | Americano/mexicano only: which round to patch. Omit to swap the next unplayed round. |
| confirm | boolean | Omit or false: return a preview of what would change. True: apply it. |
| player_a* | string | |
| player_b* | string | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key",
"player_a",
"player_b"
],
"properties": {
"round": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 1,
"description": "Americano/mexicano only: which round to patch. Omit to swap the next unplayed round."
},
"confirm": {
"type": "boolean",
"description": "Omit or false: return a preview of what would change. True: apply it."
},
"player_a": {
"type": "string"
},
"player_b": {
"type": "string"
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Roll the tournament back. Without to_change_id: restore exactly how it was before the most recent change (tool call or courtside page entry). With to_change_id (an id from get_audit_log): restore to just before that change — it and every later change are discarded in one step, so a burst of unwanted calls unwinds with a single revert. Preview lists exactly what would be discarded; confirm: true applies. To apply exactly what a preview showed, confirm with to_change_id set to the first id in its discarded list — anything that landed in between (a courtside entry) is then listed as discarded instead of silently changing the target. A follow-up plain undo restores what the previous undo discarded.
| Argument | Type | Description |
|---|---|---|
| confirm | boolean | Omit or false: return a preview of what would change. True: apply it. |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| to_change_id | integer | A change id from get_audit_log — restore to just before this change, discarding it and everything after it. Omit to undo only the latest change. |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "Omit or false: return a preview of what would change. True: apply it."
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"to_change_id": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991,
"description": "A change id from get_audit_log — restore to just before this change, discarding it and everything after it. Omit to undo only the latest change."
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}Rename a player or set their gender/level/note. Updates MANY in one call: pass `updates` with one object per player and never loop one-by-one — setting levels for a whole roster used to be one call per player, which on a phone meant approving each one and left the roster half-updated when some were mis-tapped. The whole batch applies or none of it does.
| Argument | Type | Description |
|---|---|---|
| note | string | Free note shown on the tournament page. Pass an empty string to clear it. |
| level | number | Any consistent numeric level/rating — used only for seeding and balancing |
| gender | string | |
| updates | array | Bulk edit — e.g. levels for a whole roster in one call |
| new_name | string | |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| player_name | string | Single update; or use `updates` for several |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
Change the tournament name, start time, match duration, break/changeover minutes, courts (count or names), house rules, or courtside score entry from the page. Court changes recompute the remaining schedule; played matches never move.
| Argument | Type | Description |
|---|---|---|
| name | string | |
| courts | integer | |
| language | string | Page/PDF/email language, ISO 639-1 (default en) |
| location | string | Venue/location shown to players; pass an empty string to clear it |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| signup_cap | integer | |
| start_time | string | ISO datetime with offset. Must be within 365 days from today. |
| court_names | array | |
| house_rules | array | |
| level_scale | string | How to read the numbers in `level`. absolute (default): one shared scale, a 3 is a 3 whoever holds it. by_group: men and women were each rated within their own group, so the numbers are not directly comparable — ask the organiser which they did rather than guessing. ignore: the numbers are notes, never used for the draw. |
Withdraw a player (or their pair) mid-tournament. Remaining matches become walkovers for the opponents; americano regenerates its future rounds instead, mexicano cancels their unplayed match and pairs the next round from the standings without them. Preview first, confirm to apply.
| Argument | Type | Description |
|---|---|---|
| confirm | boolean | Omit or false: return a preview of what would change. True: apply it. |
| request_id | string | Optional idempotency id — retrying a call with the same id never applies it twice |
| player_name* | string | |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
{
"type": "object",
"required": [
"tournament_key",
"player_name"
],
"properties": {
"confirm": {
"type": "boolean",
"description": "Omit or false: return a preview of what would change. True: apply it."
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"player_name": {
"type": "string"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}| rounds | integer | Americano/mexicano; default from player count |
| players | array |
| seeding | string | Default random |
| language | string | Language of the tournament page, PDFs and player emails (ISO 639-1). Default en; set it to the language the organiser is writing in when it is in this list. |
| location | string | Venue/location shown to players on the page, e.g. club name + city |
| discipline | string | Ask the organiser — never infer it from the sport. Americano/mexicano are always doubles. Defaults to singles for the bracket formats when they truly have no preference. |
| request_id | string | Optional idempotency id — retrying the call with the same id returns the same tournament and key instead of creating a second one. It doubles as the secret that guards that replay, so it must be at least 16 characters of your own random choosing (a UUID is ideal); short or predictable ids are refused before anything is created. |
| signup_cap | integer | Signup limit; beyond it players join a waitlist |
| start_time | string | ISO datetime with offset, e.g. 2026-08-01T18:00:00+03:00. Must be within 365 days from today. |
| court_names | array |
| group_count | integer |
| house_rules | array | Organiser's house rules, shown on the tournament page (e.g. 'Golden point at deuce') |
| level_scale | string | How to read the numbers in `level`. absolute (default): one shared scale, a 3 is a 3 whoever holds it. by_group: men and women were each rated within their own group, so the numbers are not directly comparable — ask the organiser which they did rather than guessing. ignore: the numbers are notes, never used for the draw. |
| signup_open | boolean | Open self-signup: players add themselves on the shared page (name-only or signed in). Offer this when the organiser has no player list yet. |
| level_offset | number | by_group only: how much stronger an m is than an f carrying the SAME number, in the organiser's own level units. Default 1 — a starting point to adjust, not a fact. Used for balancing only; never shown on the page or in standings. |
| break_minutes | integer | Changeover between matches/rounds, shown separately from play time (default 0) |
| level_gap_cap | number | Opt-in: the largest level gap the organiser wants between opponents, in their own level units. Soft — the draw prefers to respect it and reports when it cannot. Pass 0 to clear. |
| gender_balance | string | Americano/mexicano: prefer matches where both teams have the same make-up (MM v MM, MW v MW, WW v WW). Default prefer_symmetric. A preference, not a rule — an uneven field cannot supply it, and the draw says so rather than distorting the rotation. |
| points_per_match | integer | Americano/mexicano; default 21 |
| advance_per_group | integer |
| third_place_match | boolean | Single elimination; default true |
| page_results_entry | boolean | Allow anyone with the page link to enter scores courtside. Default TRUE — recreational tournaments run on whoever finishes their match first, and an organiser who has to type every result is the bottleneck. Pass false if the organiser wants to be the only one recording scores; switchable either way at any time via update_settings or the toggle on the page. |
| match_duration_minutes | integer |
{
"type": "object",
"required": [
"sport"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"description": "Defaults to '<Sport> tournament 14 Aug 2026 (<location>)' — start date (or today) plus the location when known"
},
"pairs": {
"type": "array",
"items": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2
},
"description": "Doubles: fixed pairs as [name, name] arrays. Omit to auto-pair."
},
"sport": {
"enum": [
"tennis",
"padel",
"pickleball",
"badminton",
"squash",
"table_tennis"
],
"type": "string",
"description": "Write sport names to the organiser in words — 'table tennis', never the enum spelling 'table_tennis'."
},
"courts": {
"type": "integer",
"maximum": 16,
"minimum": 1,
"description": "Default 2"
},
"format": {
"enum": [
"round_robin",
"groups_playoff",
"single_elimination",
"americano",
"mexicano"
],
"type": "string",
"description": "Tournament format. round_robin: everyone plays everyone. groups_playoff: round-robin groups then a knockout. single_elimination: knockout with byes. americano/mexicano: rotating-partner doubles, points per round (mexicano pairs each round from standings). OMIT when the organiser hasn't clearly chosen — the call then returns a menu of explained options to show them instead of creating anything."
},
"rounds": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "Americano/mexicano; default from player count"
},
"players": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120
},
"level": {
"type": "number",
"maximum": 10000,
"minimum": -10000,
"description": "Any consistent numeric level/rating — used only for seeding and balancing"
},
"gender": {
"enum": [
"m",
"f",
"x"
],
"type": "string"
}
}
},
"maxItems": 128
},
"seeding": {
"enum": [
"random",
"level"
],
"type": "string",
"description": "Default random"
},
"language": {
"enum": [
"en",
"bg",
"hr",
"cs",
"da",
"nl",
"et",
"fi",
"fr",
"de",
"el",
"hu",
"it",
"lv",
"lt",
"nb",
"pl",
"ro",
"sk",
"sl",
"sv",
"uk",
"es",
"pt",
"ar",
"bn",
"zh",
"hi",
"id",
"ja",
"ko",
"ru",
"tr",
"ur",
"vi"
],
"type": "string",
"description": "Language of the tournament page, PDFs and player emails (ISO 639-1). Default en; set it to the language the organiser is writing in when it is in this list."
},
"location": {
"type": "string",
"maxLength": 160,
"description": "Venue/location shown to players on the page, e.g. club name + city"
},
"discipline": {
"enum": [
"singles",
"doubles"
],
"type": "string",
"description": "Ask the organiser — never infer it from the sport. Americano/mexicano are always doubles. Defaults to singles for the bracket formats when they truly have no preference."
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying the call with the same id returns the same tournament and key instead of creating a second one. It doubles as the secret that guards that replay, so it must be at least 16 characters of your own random choosing (a UUID is ideal); short or predictable ids are refused before anything is created."
},
"signup_cap": {
"type": "integer",
"maximum": 128,
"minimum": 4,
"description": "Signup limit; beyond it players join a waitlist"
},
"start_time": {
"type": "string",
"description": "ISO datetime with offset, e.g. 2026-08-01T18:00:00+03:00. Must be within 365 days from today."
},
"court_names": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 16
},
"group_count": {
"type": "integer",
"maximum": 8,
"minimum": 2
},
"house_rules": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 12,
"description": "Organiser's house rules, shown on the tournament page (e.g. 'Golden point at deuce')"
},
"level_scale": {
"enum": [
"absolute",
"by_group",
"ignore"
],
"type": "string",
"description": "How to read the numbers in `level`. absolute (default): one shared scale, a 3 is a 3 whoever holds it. by_group: men and women were each rated within their own group, so the numbers are not directly comparable — ask the organiser which they did rather than guessing. ignore: the numbers are notes, never used for the draw."
},
"signup_open": {
"type": "boolean",
"description": "Open self-signup: players add themselves on the shared page (name-only or signed in). Offer this when the organiser has no player list yet."
},
"level_offset": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "by_group only: how much stronger an m is than an f carrying the SAME number, in the organiser's own level units. Default 1 — a starting point to adjust, not a fact. Used for balancing only; never shown on the page or in standings."
},
"break_minutes": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "Changeover between matches/rounds, shown separately from play time (default 0)"
},
"level_gap_cap": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "Opt-in: the largest level gap the organiser wants between opponents, in their own level units. Soft — the draw prefers to respect it and reports when it cannot. Pass 0 to clear."
},
"gender_balance": {
"enum": [
"prefer_symmetric",
"off"
],
"type": "string",
"description": "Americano/mexicano: prefer matches where both teams have the same make-up (MM v MM, MW v MW, WW v WW). Default prefer_symmetric. A preference, not a rule — an uneven field cannot supply it, and the draw says so rather than distorting the rotation."
},
"points_per_match": {
"type": "integer",
"maximum": 64,
"minimum": 4,
"description": "Americano/mexicano; default 21"
},
"advance_per_group": {
"type": "integer",
"maximum": 4,
"minimum": 1
},
"third_place_match": {
"type": "boolean",
"description": "Single elimination; default true"
},
"page_results_entry": {
"type": "boolean",
"description": "Allow anyone with the page link to enter scores courtside. Default TRUE — recreational tournaments run on whoever finishes their match first, and an organiser who has to type every result is the bottleneck. Pass false if the organiser wants to be the only one recording scores; switchable either way at any time via update_settings or the toggle on the page."
},
"match_duration_minutes": {
"type": "integer",
"maximum": 240,
"minimum": 5
}
}
}| tournament_key* | string | The tournament's organiser key (starts with tk_) |
| discard_results | boolean | Required (true) when results already exist — separate acknowledgement that this redraw destroys them |
| points_per_match | integer |
| advance_per_group | integer |
| third_place_match | boolean |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"seed": {
"type": "integer",
"maximum": 2147483647,
"minimum": 0,
"description": "Draw seed returned by the preview — pass it back with confirm: true to apply exactly the previewed draw. Omit for a fresh draw."
},
"rounds": {
"type": "integer",
"maximum": 30,
"minimum": 1
},
"confirm": {
"type": "boolean",
"description": "Omit or false: return a preview of what would change. True: apply it."
},
"seeding": {
"enum": [
"random",
"level"
],
"type": "string"
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"group_count": {
"type": "integer",
"maximum": 8,
"minimum": 2
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
},
"discard_results": {
"type": "boolean",
"description": "Required (true) when results already exist — separate acknowledgement that this redraw destroys them"
},
"points_per_match": {
"type": "integer",
"maximum": 64,
"minimum": 4
},
"advance_per_group": {
"type": "integer",
"maximum": 4,
"minimum": 1
},
"third_place_match": {
"type": "boolean"
}
}
}| integer |
{
"type": "object",
"required": [
"players_estimate"
],
"properties": {
"vibe": {
"enum": [
"social",
"competitive"
],
"type": "string",
"description": "Social: everyone mixes and plays a lot. Competitive: a bracket and a winner."
},
"courts": {
"type": "integer",
"maximum": 16,
"minimum": 1,
"description": "Default 2"
},
"discipline": {
"enum": [
"singles",
"doubles",
"unknown"
],
"type": "string",
"description": "Ask the organiser before offering formats; never infer it from the sport. 'unknown' = you asked and they don't mind, which shows both kinds. OMIT to get the question itself back."
},
"match_minutes": {
"type": "integer",
"maximum": 240,
"minimum": 5
},
"total_minutes": {
"type": "integer",
"maximum": 600,
"minimum": 30,
"description": "The time budget, e.g. 120 for a two-hour evening"
},
"fixed_partners": {
"type": "boolean",
"description": "Doubles only: do pairs stay together all evening?"
},
"players_estimate": {
"type": "integer",
"maximum": 128,
"minimum": 2
}
}
}{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"note": {
"type": "string",
"maxLength": 500,
"description": "Free note shown on the tournament page. Pass an empty string to clear it."
},
"level": {
"type": "number",
"maximum": 10000,
"minimum": -10000,
"description": "Any consistent numeric level/rating — used only for seeding and balancing"
},
"gender": {
"enum": [
"m",
"f",
"x"
],
"type": "string"
},
"updates": {
"type": "array",
"items": {
"type": "object",
"required": [
"player_name"
],
"properties": {
"note": {
"type": "string",
"maxLength": 500,
"description": "Free note shown on the tournament page. Pass an empty string to clear it."
},
"level": {
"type": "number",
"maximum": 10000,
"minimum": -10000,
"description": "Any consistent numeric level/rating — used only for seeding and balancing"
},
"gender": {
"enum": [
"m",
"f",
"x"
],
"type": "string"
},
"new_name": {
"type": "string",
"maxLength": 120
},
"player_name": {
"type": "string"
}
}
},
"maxItems": 128,
"minItems": 1,
"description": "Bulk edit — e.g. levels for a whole roster in one call"
},
"new_name": {
"type": "string",
"maxLength": 120
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"player_name": {
"type": "string",
"description": "Single update; or use `updates` for several"
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
}
}
}| signup_open | boolean | Open or close self-signup on the page |
| level_offset | number | by_group only: how much stronger an m is than an f carrying the SAME number, in the organiser's own level units. Default 1 — a starting point to adjust, not a fact. Used for balancing only; never shown on the page or in standings. |
| break_minutes | integer | Changeover between matches/rounds, shown separately from play time |
| level_gap_cap | number | Opt-in: the largest level gap the organiser wants between opponents, in their own level units. Soft — the draw prefers to respect it and reports when it cannot. Pass 0 to clear. |
| gender_balance | string | Americano/mexicano: prefer matches where both teams have the same make-up (MM v MM, MW v MW, WW v WW). Default prefer_symmetric. A preference, not a rule — an uneven field cannot supply it, and the draw says so rather than distorting the rotation. |
| tournament_key* | string | The tournament's organiser key (starts with tk_) |
| page_results_entry | boolean | Allow anyone with the page link to enter scores courtside. ON for new tournaments — pass false when the organiser wants to be the only one recording results, true to hand it back to the players. |
| match_duration_minutes | integer |
{
"type": "object",
"required": [
"tournament_key"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120
},
"courts": {
"type": "integer",
"maximum": 16,
"minimum": 1
},
"language": {
"enum": [
"en",
"bg",
"hr",
"cs",
"da",
"nl",
"et",
"fi",
"fr",
"de",
"el",
"hu",
"it",
"lv",
"lt",
"nb",
"pl",
"ro",
"sk",
"sl",
"sv",
"uk",
"es",
"pt",
"ar",
"bn",
"zh",
"hi",
"id",
"ja",
"ko",
"ru",
"tr",
"ur",
"vi"
],
"type": "string",
"description": "Page/PDF/email language, ISO 639-1 (default en)"
},
"location": {
"type": "string",
"maxLength": 160,
"description": "Venue/location shown to players; pass an empty string to clear it"
},
"request_id": {
"type": "string",
"maxLength": 64,
"description": "Optional idempotency id — retrying a call with the same id never applies it twice"
},
"signup_cap": {
"type": "integer",
"maximum": 128,
"minimum": 4
},
"start_time": {
"type": "string",
"description": "ISO datetime with offset. Must be within 365 days from today."
},
"court_names": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 16
},
"house_rules": {
"type": "array",
"items": {
"type": "string",
"maxLength": 200
},
"maxItems": 12
},
"level_scale": {
"enum": [
"absolute",
"by_group",
"ignore"
],
"type": "string",
"description": "How to read the numbers in `level`. absolute (default): one shared scale, a 3 is a 3 whoever holds it. by_group: men and women were each rated within their own group, so the numbers are not directly comparable — ask the organiser which they did rather than guessing. ignore: the numbers are notes, never used for the draw."
},
"signup_open": {
"type": "boolean",
"description": "Open or close self-signup on the page"
},
"level_offset": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "by_group only: how much stronger an m is than an f carrying the SAME number, in the organiser's own level units. Default 1 — a starting point to adjust, not a fact. Used for balancing only; never shown on the page or in standings."
},
"break_minutes": {
"type": "integer",
"maximum": 60,
"minimum": 0,
"description": "Changeover between matches/rounds, shown separately from play time"
},
"level_gap_cap": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"description": "Opt-in: the largest level gap the organiser wants between opponents, in their own level units. Soft — the draw prefers to respect it and reports when it cannot. Pass 0 to clear."
},
"gender_balance": {
"enum": [
"prefer_symmetric",
"off"
],
"type": "string",
"description": "Americano/mexicano: prefer matches where both teams have the same make-up (MM v MM, MW v MW, WW v WW). Default prefer_symmetric. A preference, not a rule — an uneven field cannot supply it, and the draw says so rather than distorting the rotation."
},
"tournament_key": {
"type": "string",
"description": "The tournament's organiser key (starts with tk_)"
},
"page_results_entry": {
"type": "boolean",
"description": "Allow anyone with the page link to enter scores courtside. ON for new tournaments — pass false when the organiser wants to be the only one recording results, true to hand it back to the players."
},
"match_duration_minutes": {
"type": "integer",
"maximum": 240,
"minimum": 5
}
}
}