# Controla.Club MCP — full tool reference > Every tool of the Controla.Club MCP with its JSON Schema and examples. Generated from the tool catalogue; nothing here is hand-maintained. Controla.Club is management software for sports clubs (billing, members, attendance, groups, calendar, store). This server exposes one club's own data to AI assistants over the Model Context Protocol. - MCP endpoint: POST https://mcp.controla.club/mcp (Streamable HTTP, JSON responses only, no SSE) - Auth: OAuth 2.1 — authorization server https://www.controla.club, protected-resource metadata https://mcp.controla.club/.well-known/oauth-protected-resource - One connection = one user + one club. Tools take no club_id argument: the club comes from the connection. - v1 is read-only: annotations say readOnlyHint true for every tool. Future writes require an explicit human confirmation. - Every call is audited per club; results carry the club's currency and timezone. - Human docs: https://mcp.controla.club/docs · Landing: https://mcp.controla.club/landing ## Scopes - club:read — all read-only tools; granted at consent (the v1 default) - club:write — member and calendar edits (not offered in v1) - club:money — charges and payments (in-app step-up grant by an admin; not in v1) - club:messages — receipts and statements to families (in-app step-up grant; not in v1) Note: "App permission" is the permission key the tool demands inside the club's own Controla.Club roles; records that define none say so explicitly. ## search_tools - Title (ES): Buscar herramientas - Title (EN): Search tools - Description (ES): Busca herramientas disponibles por nombre, dominio o descripción. - Description (EN): Search available tools by name, domain or description. - Domain: discovery · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: not declared in the tool record - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "query": { "type": "string", "minLength": 1, "maxLength": 200, "description": "Search query — matches tool name, title and description" }, "limit": { "type": "integer", "exclusiveMinimum": 0, "maximum": 25, "description": "Maximum results (default 8)" } }, "required": [ "query" ] } ``` Examples: - Search for money tools: {"query":"dinero"} Doc page: https://mcp.controla.club/docs/tools/search_tools --- ## describe_tool - Title (ES): Describir herramienta - Title (EN): Describe tool - Description (ES): Muestra la descripción completa, parámetros, efectos y ejemplos de una herramienta. - Description (EN): Show the full description, parameters, effects and examples of a tool. - Domain: discovery · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: not declared in the tool record - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "description": "Exact tool name" } }, "required": [ "name" ] } ``` Examples: - Describe get_finance_summary: {"name":"get_finance_summary"} Doc page: https://mcp.controla.club/docs/tools/describe_tool --- ## run_tool - Title (ES): Ejecutar herramienta - Title (EN): Run tool - Description (ES): Ejecuta cualquier herramienta del catálogo por nombre, con los argumentos dados. - Description (EN): Run any catalog tool by name with the given arguments. - Domain: discovery · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: not declared in the tool record - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "name": { "type": "string", "minLength": 1, "description": "Exact tool name from search_tools or tools/list" }, "arguments": { "type": "object", "additionalProperties": {}, "description": "The target tool arguments" } }, "required": [ "name" ] } ``` Examples: - Run list_upcoming_events: {"name":"list_upcoming_events","arguments":{"days":7}} Doc page: https://mcp.controla.club/docs/tools/run_tool --- ## get_club_context - Title (ES): Contexto del club - Title (EN): Club context - Description (ES): Devuelve los datos del club: nombre, moneda, zona horaria, plan y rol del usuario conectado. - Description (EN): Returns club data: name, currency, timezone, plan and the connected user role. - Domain: finance · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: not declared in the tool record - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": {} } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "club_name": { "type": "string" }, "club_id": { "type": "number" }, "currency": { "type": "string" }, "timezone": { "type": "string" }, "locale": { "type": "string" }, "role": { "type": "string" }, "permissions": { "type": "array", "items": { "type": "string" } }, "service_plan": { "type": "string" }, "member_count": { "type": "number" } }, "required": [ "club_name", "club_id", "currency", "timezone", "locale", "role", "permissions", "service_plan", "member_count" ] } ``` Examples: - Get club context: {} Doc page: https://mcp.controla.club/docs/tools/get_club_context --- ## get_finance_summary - Title (ES): Resumen financiero - Title (EN): Finance summary - Description (ES): Cobrado, pendiente y vencido del club. Sin fechas usa el acumulado; con from y to, el cobrado del periodo sale de las cobranzas. - Description (EN): Collected, pending and overdue for the club. Without dates this is the all-time total; with from and to, collected comes from the collection stats for that window. - Domain: finance · Kind: read · Scope: club:read - App permission: payments.statistics - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "from": { "type": "string", "description": "Start date (YYYY-MM-DD). Send together with to. Collected for the window comes from /api/payment-collection-stats." }, "to": { "type": "string", "description": "End date (YYYY-MM-DD). Send together with from." } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "currency": { "type": "string", "nullable": true }, "currency_configured": { "type": "boolean" }, "window": { "type": "string", "enum": [ "lifetime", "custom" ] }, "from": { "type": "string", "nullable": true }, "to": { "type": "string", "nullable": true }, "collected": { "type": "number" }, "pending": { "type": "number" }, "overdue": { "type": "number" }, "charges_count": { "type": "number" }, "previous_period_delta": { "type": "number", "nullable": true }, "collected_events": { "type": "number", "nullable": true } }, "required": [ "currency", "currency_configured", "window", "from", "to", "collected", "pending", "overdue", "charges_count", "previous_period_delta", "collected_events" ] } ``` Examples: - All-time summary: {} - Collected in November: {"from":"2026-11-01","to":"2026-11-30"} Doc page: https://mcp.controla.club/docs/tools/get_finance_summary --- ## get_debtors_summary - Title (ES): Resumen de deudores - Title (EN): Debtors summary - Description (ES): Miembros con deuda vencida, ordenados por monto. El informe no incluye saldos que todavía no vencen. - Description (EN): Members with past-due debt, sorted by amount. Balances that are not yet overdue are not in this report. - Domain: finance · Kind: read · Scope: club:read - App permission: payments.debtors - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "mode": { "type": "string", "enum": [ "plan", "all" ], "description": "plan (route default): at least min overdue plan months. all: at least min past-due charges of any concept." }, "min": { "type": "integer", "minimum": 0, "maximum": 24, "description": "Minimum overdue plan months or charges. The route defaults to 2 and clamps at 24." }, "group_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Only members in this group." }, "include_inactive": { "type": "boolean", "description": "Include members who are not active." }, "limit": { "type": "integer", "minimum": 1, "maximum": 50, "description": "How many debtors to return (default 10). The route returns every match; the tool sorts by amount and slices." } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "currency": { "type": "string", "nullable": true }, "currency_configured": { "type": "boolean" }, "total_owed": { "type": "number" }, "debtor_count": { "type": "number" }, "charge_count": { "type": "number" }, "plan_months": { "type": "number" }, "other_owed": { "type": "number" }, "oldest_due_date": { "type": "string", "nullable": true }, "debtors": { "type": "array", "items": { "type": "object", "properties": { "member_id": { "type": "number" }, "membership_id": { "type": "number" }, "name": { "type": "string" }, "owed": { "type": "number" }, "overdue_count": { "type": "number" }, "oldest_due_date": { "type": "string", "nullable": true }, "days": { "type": "number", "nullable": true }, "active": { "type": "boolean" } }, "required": [ "member_id", "membership_id", "name", "owed", "overdue_count", "oldest_due_date", "days", "active" ] } } }, "required": [ "currency", "currency_configured", "total_owed", "debtor_count", "charge_count", "plan_months", "other_owed", "oldest_due_date", "debtors" ] } ``` Examples: - Plan debtors, at least 2 months: {"mode":"plan","min":2,"limit":10} - Any concept, include inactive: {"mode":"all","min":1,"include_inactive":true} Doc page: https://mcp.controla.club/docs/tools/get_debtors_summary --- ## list_charges - Title (ES): Listar cargos - Title (EN): List charges - Description (ES): Lista los cargos del club con filtros por estado, fecha y paginación. - Description (EN): List club charges with status, date filters and pagination. - Domain: finance · Kind: read · Scope: club:read - App permission: payments.all_charges - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "status": { "type": "string", "enum": [ "open", "paid", "overdue", "void" ], "description": "Charge status" }, "from": { "type": "string", "description": "Start date (YYYY-MM-DD)" }, "to": { "type": "string", "description": "End date (YYYY-MM-DD)" }, "limit": { "type": "number", "description": "Results per page (default 25)" }, "cursor": { "type": "string", "description": "Pagination cursor from previous response" } } } ``` Examples: - Open charges this month: {"status":"open","from":"2026-11-01","to":"2026-11-30"} Doc page: https://mcp.controla.club/docs/tools/list_charges --- ## list_member_charges - Title (ES): Cargos de un miembro - Title (EN): Member charges - Description (ES): Cargos abiertos (pendiente y vencido) de un miembro. Los pagados se cuentan y no se listan. - Description (EN): Open charges (pending and overdue) of one member. Paid charges are counted and not listed. - Domain: finance · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "member_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Member id (users.id) from a previous list or search." } }, "required": [ "member_id" ] } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "member_id": { "type": "number" }, "currency": { "type": "string", "nullable": true }, "currency_configured": { "type": "boolean" }, "open_count": { "type": "number" }, "paid_count": { "type": "number" }, "total_count": { "type": "number" }, "charges": { "type": "array", "items": { "type": "object", "properties": { "charge_id": { "type": "number" }, "membership_id": { "type": "number", "nullable": true }, "concept": { "type": "string", "nullable": true }, "amount": { "type": "number" }, "amount_paid": { "type": "number", "nullable": true }, "status": { "type": "string" }, "due_date": { "type": "string", "nullable": true } }, "required": [ "charge_id", "membership_id", "concept", "amount", "amount_paid", "status", "due_date" ] } } }, "required": [ "member_id", "currency", "currency_configured", "open_count", "paid_count", "total_count", "charges" ] } ``` Examples: - Open charges of member 42: {"member_id":42} Doc page: https://mcp.controla.club/docs/tools/list_member_charges --- ## get_cash_flow_summary - Title (ES): Resumen de flujo de caja - Title (EN): Cash flow summary - Description (ES): Ingresos, egresos y neto del flujo de caja. No devuelve el listado de movimientos. - Description (EN): Cash-flow income, expenses and net. The transaction list is not returned. - Domain: finance · Kind: read · Scope: club:read - App permission: any of: payments.cash_flow, payments.view, payments.statistics - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "from": { "type": "string", "description": "Start date (YYYY-MM-DD), sent to the route as date_from." }, "to": { "type": "string", "description": "End date (YYYY-MM-DD), sent to the route as date_to." } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "currency": { "type": "string", "nullable": true }, "currency_configured": { "type": "boolean" }, "from": { "type": "string", "nullable": true }, "to": { "type": "string", "nullable": true }, "total_income": { "type": "number" }, "total_expenses": { "type": "number" }, "net_cash_flow": { "type": "number" }, "pending_income": { "type": "number" }, "pending_expenses": { "type": "number" }, "transaction_count": { "type": "number" } }, "required": [ "currency", "currency_configured", "from", "to", "total_income", "total_expenses", "net_cash_flow", "pending_income", "pending_expenses", "transaction_count" ] } ``` Examples: - All dates: {} - November cash flow: {"from":"2026-11-01","to":"2026-11-30"} Doc page: https://mcp.controla.club/docs/tools/get_cash_flow_summary --- ## list_members - Title (ES): Listar miembros - Title (EN): List members - Description (ES): Busca y lista las personas del club (miembros, entrenadores y administradores) con filtros por grupo, plan, estado y texto libre. - Description (EN): Search and list the club people (members, coaches and admins) with filters by group, plan, status and free text. - Domain: members · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "group_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Filter by group id (from list_groups)" }, "status": { "type": "string", "enum": [ "active", "inactive" ], "description": "Member status: active or inactive" }, "plan_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Filter by access plan id (from list_access_plans)" }, "user_type": { "type": "string", "enum": [ "member", "coach", "club_admin" ], "description": "Filter by user type; omit it for every person of the club" }, "search": { "type": "string", "minLength": 1, "description": "Free-text search on the member name or email" }, "limit": { "type": "integer", "minimum": 1, "maximum": 100, "description": "Results per page (default 25, max 100)" }, "cursor": { "type": "string", "description": "Opaque cursor: pass back the next_cursor of a previous call" } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "members": { "type": "array", "items": { "type": "object", "properties": { "member_id": { "type": "number" }, "name": { "type": "string" }, "email": { "type": "string", "nullable": true }, "user_type": { "type": "string" }, "is_active": { "type": "boolean" }, "groups": { "type": "array", "items": { "type": "string" } }, "active_memberships": { "type": "number" }, "is_payment_up_to_date": { "type": "boolean" } }, "required": [ "member_id", "name", "email", "user_type", "is_active", "groups", "active_memberships", "is_payment_up_to_date" ] } }, "page": { "type": "number" }, "total": { "type": "number" }, "has_next": { "type": "boolean" }, "next_cursor": { "type": "string", "nullable": true } }, "required": [ "members", "page", "total", "has_next", "next_cursor" ] } ``` Examples: - Active members: {"status":"active","limit":25} - Search by name: {"search":"Juan"} - The coaches of a group: {"group_id":5,"user_type":"coach"} Doc page: https://mcp.controla.club/docs/tools/list_members --- ## get_member - Title (ES): Ver miembro - Title (EN): Get member - Description (ES): Muestra la ficha de un miembro: membresías, grupos, asistencia de los últimos 30 días y cargos pendientes. - Description (EN): Show one member: memberships, groups, the last 30 days of attendance and the pending charges. - Domain: members · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "member_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Member id from a previous list or search result" } }, "required": [ "member_id" ] } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "member_id": { "type": "number" }, "currency": { "type": "string", "nullable": true }, "memberships": { "type": "object", "properties": { "total": { "type": "number" }, "active": { "type": "number" } }, "required": [ "total", "active" ] }, "groups": { "type": "array", "items": { "type": "object", "properties": { "group_id": { "type": "number" }, "name": { "type": "string" } }, "required": [ "group_id", "name" ] } }, "attendance": { "type": "object", "properties": { "rate": { "type": "number" }, "last_date": { "type": "string", "nullable": true } }, "required": [ "rate", "last_date" ] }, "is_payment_up_to_date": { "type": "boolean" }, "pending": { "type": "object", "properties": { "count": { "type": "number" }, "charges": { "type": "array", "items": { "type": "object", "properties": { "charge_id": { "type": "number" }, "description": { "type": "string" }, "amount": { "type": "number" }, "due_date": { "type": "string", "nullable": true }, "status": { "type": "string" } }, "required": [ "charge_id", "description", "amount", "due_date", "status" ] } } }, "required": [ "count", "charges" ] } }, "required": [ "member_id", "currency", "memberships", "groups", "attendance", "is_payment_up_to_date", "pending" ] } ``` Examples: - Get member 42: {"member_id":42} Doc page: https://mcp.controla.club/docs/tools/get_member --- ## list_groups - Title (ES): Listar grupos - Title (EN): List groups - Description (ES): Lista los grupos del club con el entrenador y la cantidad de miembros. - Description (EN): List club groups with coach name and member count. - Domain: groups · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "limit": { "type": "integer", "minimum": 1, "maximum": 100, "description": "Maximum groups to return (default 25)" } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "groups": { "type": "array", "items": { "type": "object", "properties": { "group_id": { "type": "number" }, "name": { "type": "string" }, "status": { "type": "string", "nullable": true }, "sport": { "type": "string", "nullable": true }, "coach_name": { "type": "string", "nullable": true }, "active_members": { "type": "number" }, "total_members": { "type": "number" } }, "required": [ "group_id", "name", "status", "sport", "coach_name", "active_members", "total_members" ] } }, "total_groups": { "type": "number" } }, "required": [ "groups", "total_groups" ] } ``` Examples: - All groups: {} Doc page: https://mcp.controla.club/docs/tools/list_groups --- ## get_attendance_summary - Title (ES): Resumen de asistencia - Title (EN): Attendance summary - Description (ES): Resumen de asistencia del club o de un grupo en un rango de fechas: registros, asistencias y porcentaje. - Description (EN): Attendance summary for the club or one group within a date range: records, attendances and rate. - Domain: groups · Kind: read · Scope: club:read - App permission: attendance.view - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "group_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Filter by group id" }, "from": { "type": "string", "description": "Start date (YYYY-MM-DD)" }, "to": { "type": "string", "description": "End date (YYYY-MM-DD)" } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "group_id": { "type": "number", "nullable": true }, "from": { "type": "string", "nullable": true }, "to": { "type": "string", "nullable": true }, "sessions": { "type": "number" }, "attended": { "type": "number" }, "present": { "type": "number" }, "late": { "type": "number" }, "absent": { "type": "number" }, "excused": { "type": "number" }, "attendance_rate": { "type": "number" }, "is_limited": { "type": "boolean" }, "club_timezone": { "type": "string" } }, "required": [ "group_id", "from", "to", "sessions", "attended", "present", "late", "absent", "excused", "attendance_rate", "is_limited", "club_timezone" ] } ``` Examples: - This month attendance for group 5: {"group_id":5,"from":"2026-11-01","to":"2026-11-30"} - Whole club, this month: {"from":"2026-11-01","to":"2026-11-30"} Doc page: https://mcp.controla.club/docs/tools/get_attendance_summary --- ## list_coaches - Title (ES): Listar entrenadores - Title (EN): List coaches - Description (ES): Lista los entrenadores y administradores activos del club, con su correo y teléfono. - Description (EN): List the club active coaches and admins, with their email and phone. - Domain: members · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": {} } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "coaches": { "type": "array", "items": { "type": "object", "properties": { "coach_id": { "type": "number" }, "name": { "type": "string" }, "email": { "type": "string", "nullable": true }, "phone": { "type": "string", "nullable": true }, "user_type": { "type": "string" } }, "required": [ "coach_id", "name", "email", "phone", "user_type" ] } }, "total_coaches": { "type": "number" }, "club_timezone": { "type": "string" } }, "required": [ "coaches", "total_coaches", "club_timezone" ] } ``` Examples: - All coaches: {} Doc page: https://mcp.controla.club/docs/tools/list_coaches --- ## list_upcoming_events - Title (ES): Próximos eventos - Title (EN): Upcoming events - Description (ES): Lista los eventos del club en los próximos días (vista de administrador o entrenador), en la zona horaria del club. - Description (EN): List upcoming club events within the next days (admin or coach view), in the club timezone. - Domain: calendar · Kind: read · Scope: club:read - App permission: calendar.view - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "days": { "type": "integer", "exclusiveMinimum": 0, "maximum": 60, "description": "Look-ahead days from today in the club timezone (default 14, max 60)" }, "type": { "type": "string", "enum": [ "training", "match", "tournament", "competition", "social", "meeting", "access_session" ], "description": "Event type as the app stores it: training, match, tournament, competition, social, meeting, access_session (Spanish labels such as \"partido\" are accepted and mapped)" }, "group_id": { "type": "integer", "exclusiveMinimum": 0, "description": "Filter by group id from a previous result" }, "limit": { "type": "integer", "exclusiveMinimum": 0, "maximum": 200, "description": "Maximum events to return (default 50, max 200)" } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "window": { "type": "object", "properties": { "from": { "type": "string" }, "to": { "type": "string" }, "timezone": { "type": "string" }, "from_instant": { "type": "string" }, "to_instant": { "type": "string" } }, "required": [ "from", "to", "timezone", "from_instant", "to_instant" ] }, "count": { "type": "number" }, "truncated": { "type": "boolean" }, "events": { "type": "array", "items": { "type": "object", "properties": { "event_id": { "type": "number" }, "title": { "type": "string" }, "starts_at": { "type": "string" }, "ends_at": { "type": "string", "nullable": true }, "event_type": { "type": "string", "nullable": true }, "status": { "type": "string", "nullable": true }, "location": { "type": "string", "nullable": true }, "group_id": { "type": "number", "nullable": true }, "group_name": { "type": "string", "nullable": true }, "capacity": { "type": "number", "nullable": true }, "booked": { "type": "number" } }, "required": [ "event_id", "title", "starts_at", "ends_at", "event_type", "status", "location", "group_id", "group_name", "capacity", "booked" ] } } }, "required": [ "window", "count", "truncated", "events" ] } ``` Examples: - Next 14 days: {"days":14} - Matches of one group: {"type":"match","group_id":5} Doc page: https://mcp.controla.club/docs/tools/list_upcoming_events --- ## list_access_plans - Title (ES): Planes de acceso - Title (EN): Access plans - Description (ES): Lista los planes de acceso activos del club (solo administradores) con precio, periodo de facturación e inscripciones asignadas a cada plan (incluye miembros inactivos). - Description (EN): List the club active access plans (admin only) with price, billing period and the memberships assigned to each plan (includes inactive members). - Domain: store · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "kind": { "type": "string", "enum": [ "recurring", "package", "all" ], "description": "Plan kind: recurring memberships (default), one-time access packages, or both" } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "kind": { "type": "string" }, "count": { "type": "number" }, "plans": { "type": "array", "items": { "type": "object", "properties": { "plan_id": { "type": "number" }, "name": { "type": "string" }, "price": { "type": "number", "nullable": true }, "currency": { "type": "string", "nullable": true }, "billing_period": { "type": "string", "nullable": true }, "period_multiplier": { "type": "number", "nullable": true }, "monthly_entries": { "type": "number", "nullable": true }, "kind": { "type": "string" }, "members_assigned": { "type": "number" } }, "required": [ "plan_id", "name", "price", "currency", "billing_period", "period_multiplier", "monthly_entries", "kind", "members_assigned" ] } } }, "required": [ "kind", "count", "plans" ] } ``` Examples: - Recurring plans: {} - Access packages: {"kind":"package"} Doc page: https://mcp.controla.club/docs/tools/list_access_plans --- ## get_store_summary - Title (ES): Resumen de tienda - Title (EN): Store summary - Description (ES): Resumen de ventas de la tienda (solo administradores): órdenes, unidades y productos más vendidos en los últimos días. - Description (EN): Store sales summary (admin only): orders, units and top-selling products over the last days. - Domain: store · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "days": { "type": "integer", "exclusiveMinimum": 0, "maximum": 365, "description": "Look-back days from now (default 30, max 365)" } } } ``` Output JSON Schema (structuredContent): ```json { "type": "object", "properties": { "window": { "type": "object", "properties": { "from": { "type": "string" }, "to": { "type": "string" }, "days": { "type": "number" } }, "required": [ "from", "to", "days" ] }, "currency": { "type": "string", "nullable": true }, "orders": { "type": "number" }, "sales_orders": { "type": "number" }, "units_sold": { "type": "number" }, "orders_by_status": { "type": "object", "additionalProperties": { "type": "number" } }, "top_products": { "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "units": { "type": "number" } }, "required": [ "name", "units" ] } }, "complete": { "type": "boolean" } }, "required": [ "window", "currency", "orders", "sales_orders", "units_sold", "orders_by_status", "top_products", "complete" ] } ``` Examples: - Last 30 days: {"days":30} Doc page: https://mcp.controla.club/docs/tools/get_store_summary --- ## get_report_summary - Title (ES): Resumen de reportes - Title (EN): Report summary - Description (ES): Resumen mensual de reportes del club con las cifras clave. - Description (EN): Monthly report summary with key figures. - Domain: reports · Kind: read · Scope: club:read - App permission: reports.view - Required role: club_admin - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "period": { "type": "string", "enum": [ "month" ], "description": "Report period (default current month)" } } } ``` Examples: - Current month report: {"period":"month"} Doc page: https://mcp.controla.club/docs/tools/get_report_summary --- ## search_knowledge - Title (ES): Buscar en la base de conocimiento - Title (EN): Search knowledge base - Description (ES): Busca en los artículos de ayuda del club (770+ documentos, español). - Description (EN): Search the club help articles (770+ documents, Spanish). - Domain: knowledge · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: not declared in the tool record - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "query": { "type": "string", "description": "Search query in Spanish" }, "limit": { "type": "number", "minimum": 1, "maximum": 10, "description": "Maximum results (default 5)" } }, "required": [ "query" ] } ``` Examples: - Search for payment rules: {"query":"cómo se registra un pago","limit":5} Doc page: https://mcp.controla.club/docs/tools/search_knowledge --- ## fetch_knowledge - Title (ES): Leer artículo - Title (EN): Fetch knowledge - Description (ES): Devuelve el contenido completo de uno o más artículos de la base de conocimiento. - Description (EN): Returns the full content of one or more knowledge base articles. - Domain: knowledge · Kind: read · Scope: club:read - App permission: none in the tool record - Required role: not declared in the tool record - Effects: money=no · reversible=yes · notifies=none Input JSON Schema: ```json { "type": "object", "properties": { "ids": { "type": "array", "items": { "type": "string" }, "description": "Article or module ids from search_knowledge: kb: (whole module) or kb:// (one article). 1-5 ids." } }, "required": [ "ids" ] } ``` Examples: - Fetch one article: {"ids":["kb:payments"]} Doc page: https://mcp.controla.club/docs/tools/fetch_knowledge