BailaYa MCP by usefulapi is an MCP server published by io.usefulapi, hosted at bailaya.usefulapi.io. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 24 tools, including bailaya_list_classes, bailaya_get_class, bailaya_list_events, bailaya_get_event, bailaya_list_students.
Read schedules, students and packages; add or change classes, events and students in BailaYa.
4,407 connections through 5 shared values. Tap any node.
Inferred from the host name and headers: what a server runs on, not who runs it.
List the studio's classes (scheduled occurrences) with date, time, instructor, room, capacity and price. Needs scope classes:read. BailaYa API: GET /v1/classes.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_classes",
"title": "List classes",
"description": "List the studio's classes (scheduled occurrences) with date, time, instructor, room, capacity and price. Needs scope classes:read. BailaYa API: GET /v1/classes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List classes",
"readOnlyHint": true
}
}None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Get one class by id. Needs scope classes:read. BailaYa API: GET /v1/classes/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_class",
"title": "Get a class",
"description": "Get one class by id. Needs scope classes:read. BailaYa API: GET /v1/classes/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get a class",
"readOnlyHint": true
}
}List the studio's events (workshops and special sessions) with date, time, instructor and capacity. Needs scope events:read. BailaYa API: GET /v1/events.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_events",
"title": "List events",
"description": "List the studio's events (workshops and special sessions) with date, time, instructor and capacity. Needs scope events:read. BailaYa API: GET /v1/events.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List events",
"readOnlyHint": true
}
}Get one event by id. Needs scope events:read. BailaYa API: GET /v1/events/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_event",
"title": "Get an event",
"description": "Get one event by id. Needs scope events:read. BailaYa API: GET /v1/events/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get an event",
"readOnlyHint": true
}
}List the studio's students with name, email, phone, level and status. Personal data: use only when the studio owner asks. Needs scope students:read. BailaYa API: GET /v1/students.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_students",
"title": "List students",
"description": "List the studio's students with name, email, phone, level and status. Personal data: use only when the studio owner asks. Needs scope students:read. BailaYa API: GET /v1/students.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List students",
"readOnlyHint": true
}
}Get one student by id. Personal data. Needs scope students:read. BailaYa API: GET /v1/students/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_student",
"title": "Get a student",
"description": "Get one student by id. Personal data. Needs scope students:read. BailaYa API: GET /v1/students/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get a student",
"readOnlyHint": true
}
}List studio team members (staff, instructors, owners, admins), optionally filtered by role. Needs scope team:read. BailaYa API: GET /v1/team.
| Parameter | Type | Description |
|---|---|---|
| role | string | Only members with this role. |
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_team_members",
"title": "List team members",
"description": "List studio team members (staff, instructors, owners, admins), optionally filtered by role. Needs scope team:read. BailaYa API: GET /v1/team.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"role": {
"enum": [
"staff",
"instructor",
"owner",
"admin"
],
"type": "string",
"description": "Only members with this role."
},
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List team members",
"readOnlyHint": true
}
}Get one team member by id. Needs scope team:read. BailaYa API: GET /v1/team/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_team_member",
"title": "Get a team member",
"description": "Get one team member by id. Needs scope team:read. BailaYa API: GET /v1/team/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get a team member",
"readOnlyHint": true
}
}List the studio's instructors. Needs scope instructors:read. BailaYa API: GET /v1/instructors.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_instructors",
"title": "List instructors",
"description": "List the studio's instructors. Needs scope instructors:read. BailaYa API: GET /v1/instructors.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List instructors",
"readOnlyHint": true
}
}Get one instructor by id. Needs scope instructors:read. BailaYa API: GET /v1/instructors/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_instructor",
"title": "Get an instructor",
"description": "Get one instructor by id. Needs scope instructors:read. BailaYa API: GET /v1/instructors/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get an instructor",
"readOnlyHint": true
}
}List class packages (pre-paid bundles of sessions) with price, sessions and validity. Set is_active to filter. Needs scope packages:read. BailaYa API: GET /v1/packages.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
| is_active | boolean | true = active packages only; false = inactive only. |
{
"name": "bailaya_list_packages",
"title": "List class packages",
"description": "List class packages (pre-paid bundles of sessions) with price, sessions and validity. Set is_active to filter. Needs scope packages:read. BailaYa API: GET /v1/packages.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
},
"is_active": {
"type": "boolean",
"description": "true = active packages only; false = inactive only."
}
}
},
"annotations": {
"title": "List class packages",
"readOnlyHint": true
}
}Get one class package by id. Needs scope packages:read. BailaYa API: GET /v1/packages/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_package",
"title": "Get a class package",
"description": "Get one class package by id. Needs scope packages:read. BailaYa API: GET /v1/packages/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get a class package",
"readOnlyHint": true
}
}List the studio's rooms with capacity and location. Needs scope rooms:read. BailaYa API: GET /v1/rooms.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_rooms",
"title": "List rooms",
"description": "List the studio's rooms with capacity and location. Needs scope rooms:read. BailaYa API: GET /v1/rooms.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List rooms",
"readOnlyHint": true
}
}Get one room by id. Needs scope rooms:read. BailaYa API: GET /v1/rooms/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_room",
"title": "Get a room",
"description": "Get one room by id. Needs scope rooms:read. BailaYa API: GET /v1/rooms/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get a room",
"readOnlyHint": true
}
}List the studio's locations (primary first). The API is not paginated: every location is returned. Needs scope locations:read. BailaYa API: GET /v1/locations.
No parameters.
{
"name": "bailaya_list_locations",
"title": "List locations",
"description": "List the studio's locations (primary first). The API is not paginated: every location is returned. Needs scope locations:read. BailaYa API: GET /v1/locations.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {}
},
"annotations": {
"title": "List locations",
"readOnlyHint": true
}
}Get one location by id. Needs scope locations:read. BailaYa API: GET /v1/locations/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
{
"name": "bailaya_get_location",
"title": "Get a location",
"description": "Get one location by id. Needs scope locations:read. BailaYa API: GET /v1/locations/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
}
}
},
"annotations": {
"title": "Get a location",
"readOnlyHint": true
}
}List the studio's dance types (studio types) used to tag classes. Includes types hidden from the website. Needs scope classes:read. BailaYa API: GET /v1/studio-types.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | Rows per page (the API default applies if omitted). |
| offset | integer | Rows to skip, for paging. Stop when a page is shorter than limit. |
{
"name": "bailaya_list_dance_types",
"title": "List dance types",
"description": "List the studio's dance types (studio types) used to tag classes. Includes types hidden from the website. Needs scope classes:read. BailaYa API: GET /v1/studio-types.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"limit": {
"type": "integer",
"maximum": 100,
"description": "Rows per page (the API default applies if omitted).",
"exclusiveMinimum": 0
},
"offset": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0,
"description": "Rows to skip, for paging. Stop when a page is shorter than limit."
}
}
},
"annotations": {
"title": "List dance types",
"readOnlyHint": true
}
}Create ONE class occurrence on a date. Visible on the studio's booking page. Needs scope classes:write. BailaYa API: POST /v1/classes.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Studio-local calendar date, yyyy-mm-dd. |
| name * | string | |
| level * | string | Level name (free text, e.g. 'Beginner'). |
| price | any | |
| room_id | ["string","null"] | |
| capacity | any | |
| end_time * | string | Time as HH:MM, 24-hour. |
| location | ["string","null"] | Location id. |
| discipline * | string | Discipline name (free text, e.g. 'Salsa'). |
| is_virtual | boolean | |
| start_time * | string | Time as HH:MM, 24-hour. |
| description | string | |
| allow_packages | boolean | |
| studio_type_id | ["string","null"] | Dance type id (from bailaya_list_dance_types). |
| team_member_id * | string | The instructor's team member id. Must belong to the studio. |
| require_package | boolean | |
| virtual_platform | any | |
| allowed_package_ids | array |
{
"name": "bailaya_create_class",
"title": "Create a class",
"description": "Create ONE class occurrence on a date. Visible on the studio's booking page. Needs scope classes:write. BailaYa API: POST /v1/classes.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"discipline",
"level",
"date",
"start_time",
"end_time",
"team_member_id"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Studio-local calendar date, yyyy-mm-dd."
},
"name": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"minLength": 1,
"description": "Level name (free text, e.g. 'Beginner')."
},
"price": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"room_id": {
"type": [
"string",
"null"
]
},
"capacity": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"end_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"location": {
"type": [
"string",
"null"
],
"description": "Location id."
},
"discipline": {
"type": "string",
"minLength": 1,
"description": "Discipline name (free text, e.g. 'Salsa')."
},
"is_virtual": {
"type": "boolean"
},
"start_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"description": {
"type": "string"
},
"allow_packages": {
"type": "boolean"
},
"studio_type_id": {
"type": [
"string",
"null"
],
"description": "Dance type id (from bailaya_list_dance_types)."
},
"team_member_id": {
"type": "string",
"minLength": 1,
"description": "The instructor's team member id. Must belong to the studio."
},
"require_package": {
"type": "boolean"
},
"virtual_platform": {
"anyOf": [
{
"enum": [
"ZOOM",
"GOOGLE_MEET",
"TEAMS"
],
"type": "string"
},
{
"type": "null"
}
]
},
"allowed_package_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Create a class",
"destructiveHint": true
}
}Change fields of one class (time, instructor, room, capacity, price). Only the fields you pass change. Needs scope classes:write. BailaYa API: PATCH /v1/classes/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
| name | string | |
| level | string | |
| price | any | |
| room_id | ["string","null"] | |
| capacity | integer | |
| end_time | string | Time as HH:MM, 24-hour. |
| location | ["string","null"] | |
| discipline | string | |
| start_time | string | Time as HH:MM, 24-hour. |
| description | string | |
| allow_packages | boolean | |
| team_member_id | string | |
| require_package | boolean | |
| allowed_package_ids | array |
{
"name": "bailaya_update_class",
"title": "Update a class",
"description": "Change fields of one class (time, instructor, room, capacity, price). Only the fields you pass change. Needs scope classes:write. BailaYa API: PATCH /v1/classes/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
},
"name": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"minLength": 1
},
"price": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"room_id": {
"type": [
"string",
"null"
]
},
"capacity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"end_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"location": {
"type": [
"string",
"null"
]
},
"discipline": {
"type": "string",
"minLength": 1
},
"start_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"description": {
"type": "string"
},
"allow_packages": {
"type": "boolean"
},
"team_member_id": {
"type": "string",
"minLength": 1
},
"require_package": {
"type": "boolean"
},
"allowed_package_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Update a class",
"destructiveHint": true
}
}Delete (cancel) one class. Set apply_to_series to true to delete every occurrence of a repeating series. Irreversible. Needs scope classes:delete. BailaYa API: DELETE /v1/classes/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
| apply_to_series | boolean | true = delete the whole recurring series. Default false: this occurrence only. |
{
"name": "bailaya_delete_class",
"title": "Delete a class",
"description": "Delete (cancel) one class. Set apply_to_series to true to delete every occurrence of a repeating series. Irreversible. Needs scope classes:delete. BailaYa API: DELETE /v1/classes/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
},
"apply_to_series": {
"type": "boolean",
"description": "true = delete the whole recurring series. Default false: this occurrence only."
}
}
},
"annotations": {
"title": "Delete a class",
"destructiveHint": true
}
}Create ONE event (workshop or special session) on a date. Visible on the studio's booking page. Needs scope events:write. BailaYa API: POST /v1/events.
| Parameter | Type | Description |
|---|---|---|
| date * | string | Studio-local calendar date, yyyy-mm-dd. |
| name * | string | |
| level * | string | Level name (free text). |
| price | any | |
| room_id | ["string","null"] | |
| capacity | any | |
| end_time * | string | Time as HH:MM, 24-hour. |
| location | ["string","null"] | Location id. |
| discipline * | string | Discipline name (free text). |
| is_virtual | boolean | |
| start_time * | string | Time as HH:MM, 24-hour. |
| description | string | |
| allow_packages | boolean | |
| studio_type_id | ["string","null"] | Dance type id (from bailaya_list_dance_types). |
| team_member_id * | string | The host's team member id. Must belong to the studio. |
| require_package | boolean | |
| virtual_platform | any | |
| allowed_package_ids | array |
{
"name": "bailaya_create_event",
"title": "Create an event",
"description": "Create ONE event (workshop or special session) on a date. Visible on the studio's booking page. Needs scope events:write. BailaYa API: POST /v1/events.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"discipline",
"level",
"date",
"start_time",
"end_time",
"team_member_id"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Studio-local calendar date, yyyy-mm-dd."
},
"name": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"minLength": 1,
"description": "Level name (free text)."
},
"price": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"room_id": {
"type": [
"string",
"null"
]
},
"capacity": {
"anyOf": [
{
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
{
"type": "null"
}
]
},
"end_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"location": {
"type": [
"string",
"null"
],
"description": "Location id."
},
"discipline": {
"type": "string",
"minLength": 1,
"description": "Discipline name (free text)."
},
"is_virtual": {
"type": "boolean"
},
"start_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"description": {
"type": "string"
},
"allow_packages": {
"type": "boolean"
},
"studio_type_id": {
"type": [
"string",
"null"
],
"description": "Dance type id (from bailaya_list_dance_types)."
},
"team_member_id": {
"type": "string",
"minLength": 1,
"description": "The host's team member id. Must belong to the studio."
},
"require_package": {
"type": "boolean"
},
"virtual_platform": {
"anyOf": [
{
"enum": [
"ZOOM",
"GOOGLE_MEET",
"TEAMS"
],
"type": "string"
},
{
"type": "null"
}
]
},
"allowed_package_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Create an event",
"destructiveHint": true
}
}Change fields of one event (time, host, room, capacity, price). Only the fields you pass change. Needs scope events:write. BailaYa API: PATCH /v1/events/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
| name | string | |
| level | string | |
| price | any | |
| room_id | ["string","null"] | |
| capacity | integer | |
| end_time | string | Time as HH:MM, 24-hour. |
| location | ["string","null"] | |
| discipline | string | |
| start_time | string | Time as HH:MM, 24-hour. |
| description | string | |
| allow_packages | boolean | |
| team_member_id | string | |
| require_package | boolean | |
| allowed_package_ids | array |
{
"name": "bailaya_update_event",
"title": "Update an event",
"description": "Change fields of one event (time, host, room, capacity, price). Only the fields you pass change. Needs scope events:write. BailaYa API: PATCH /v1/events/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
},
"name": {
"type": "string",
"minLength": 1
},
"level": {
"type": "string",
"minLength": 1
},
"price": {
"anyOf": [
{
"type": "number",
"minimum": 0
},
{
"type": "null"
}
]
},
"room_id": {
"type": [
"string",
"null"
]
},
"capacity": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": 0
},
"end_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"location": {
"type": [
"string",
"null"
]
},
"discipline": {
"type": "string",
"minLength": 1
},
"start_time": {
"type": "string",
"pattern": "^(?:[01]\\d|2[0-3]):[0-5]\\d$",
"description": "Time as HH:MM, 24-hour."
},
"description": {
"type": "string"
},
"allow_packages": {
"type": "boolean"
},
"team_member_id": {
"type": "string",
"minLength": 1
},
"require_package": {
"type": "boolean"
},
"allowed_package_ids": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"annotations": {
"title": "Update an event",
"destructiveHint": true
}
}Add ONE student record to the studio. Personal data. Needs scope students:write. BailaYa API: POST /v1/students.
| Parameter | Type | Description |
|---|---|---|
| name * | string | |
| email * | string | |
| level * | string | Level name (free text). |
| phone | ["string","null"] | |
| status | string | Student status. The API default is 'pending'. |
| lastname * | string |
{
"name": "bailaya_create_student",
"title": "Create a student",
"description": "Add ONE student record to the studio. Personal data. Needs scope students:write. BailaYa API: POST /v1/students.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"name",
"lastname",
"email",
"level"
],
"properties": {
"name": {
"type": "string",
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"level": {
"type": "string",
"minLength": 1,
"description": "Level name (free text)."
},
"phone": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string",
"description": "Student status. The API default is 'pending'."
},
"lastname": {
"type": "string",
"minLength": 1
}
}
},
"annotations": {
"title": "Create a student",
"destructiveHint": true
}
}Change fields of one student record (contact details, level, status). Only the fields you pass change. Personal data. Needs scope students:write. BailaYa API: PATCH /v1/students/{id}.
| Parameter | Type | Description |
|---|---|---|
| id * | string | The id from the matching list tool. |
| name | string | |
| string | ||
| level | string | |
| phone | ["string","null"] | |
| status | string | |
| lastname | string |
{
"name": "bailaya_update_student",
"title": "Update a student",
"description": "Change fields of one student record (contact details, level, status). Only the fields you pass change. Personal data. Needs scope students:write. BailaYa API: PATCH /v1/students/{id}.",
"inputSchema": {
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"required": [
"id"
],
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The id from the matching list tool."
},
"name": {
"type": "string",
"minLength": 1
},
"email": {
"type": "string",
"format": "email",
"pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
},
"level": {
"type": "string",
"minLength": 1
},
"phone": {
"type": [
"string",
"null"
]
},
"status": {
"type": "string"
},
"lastname": {
"type": "string",
"minLength": 1
}
}
},
"annotations": {
"title": "Update a student",
"destructiveHint": true
}
}Tools for BailaYa, hosted by usefulapi.io. If the user is new or asks what this server can do, suggest requests such as: "Which classes are on the schedule for this Saturday, and who teaches them?"; "Show me the active class packages and their prices."; "Add a salsa class for beginners next Tuesday at 19:00 in room 2, with capacity 12.". Read-only tools never change data; ask the user before a tool that creates, changes or deletes BailaYa data. Free plan: 50 tool calls per month. Run bailaya_usage_status to see the calls used this month. If the user asks for something none of these tools can do, tell the user and, with their OK, run bailaya_request_feature to record the request. Paid plans: Pro (10,000 tool calls a month, $9/month or $90/year, for normal use) and Pro+ (100,000 tool calls a month, $39/month or $390/year, for automations and heavy use). A plan can be cancelled at any time and then runs to the end of the paid period, so it also suits a one-time job. When the user wants more calls or reaches the limit, run bailaya_upgrade without a plan: it returns both plans, each with a payment link for the user to open. bailaya_cancel_subscription cancels Pro at the end of the paid period.
Names, descriptions and schemas were written by the server and are shown as data.
Shared addresses on big platforms (Cloudflare, Vercel and the like) put unrelated servers together; those are marked shared_infrastructure. A match is a pivot, not a link between operators.