Bring Your Own AI Agent (MCP)Coaches, Head Coaches & Trainees7 min read

MCP 20-Tool Catalog, Starter Prompts & Prompt Cookbook

Complete reference for all 7 read-only (mcp:read) and 13 additive/reversible (mcp:write) Cubes+ MCP tools, all 4 built-in starter MCP Prompts, and copyable bilingual prompts.

1. Read-Only Tools (7 Tools · mcp:read)

Safe, idempotent read queries available to any connection granted mcp:read or mcp:write. Strictly filtered by your authenticated role and Coach visibility.

7 Read-Only Tools (mcp:read)

mcp:read

Rate limit: 60 read calls/min per user & credential.

get_whoamiAll roles

Returns your authenticated Cubes+ identity, role (head_coach, coach, or trainee), granted scopes, and exact permitted tool list. Call this first to verify any connection.

Key Inputs
none
get_today_briefingHead Coach & Coach

Returns today’s scheduled Group & 1-on-1 Assignments, unread Trainee activity events, adherence summary, and top Needs Check-In alerts strictly within your visibility.

Key Inputs
referenceDate?, adherenceWindowDays? (14|30|60)
get_adherence_and_checkinsHead Coach & Coach

Returns 14d/30d/60d overall and per-Group adherence rollups plus the prioritized Needs Check-In Trainee list.

Key Inputs
windowDays? (14|30|60), inactivityThresholdDays?, referenceDate?, limit? (1-50)
search_training_libraryHead Coach & Coach

Unified bounded search across Exercises, Blocks, Sessions, and Programs across Official, Team, and visible Personal Libraries.

Key Inputs
query?, types?, tier?, blockType?, tag?, includeArchived?, limit? (1-50)
get_scheduleHead Coach & Coach

Returns scheduled Group Assignments and individual Assignments across a bounded calendar window up to 62 days.

Key Inputs
from?, to? (max 62 days), groupId?, traineeId?
get_rosterHead Coach & Coach

Returns Client Accounts, Groups, and Trainees visible to your Coach or Head Coach identity (zero cross-Coach leakage).

Key Inputs
includeArchived?, limit? (1-100)
get_my_workouts_and_progressTrainee only

Returns your own assigned Workouts (today, upcoming, recent past), adherence rate, active weekly streak, weekly trend, and Exercise Personal Bests.

Key Inputs
range? (30d|90d|all), referenceDate?, includePastLimit? (1-30)

2. Additive & Reversible Write Tools (13 Tools · mcp:write)

Requires mcp:write scope (read-only connections receive INSUFFICIENT_SCOPE without consuming write quota). Zero irreversible hard-delete tools are exposed anywhere in MCP.

cubes.lsqr.ai/api/mcp · timeBudget
create_session(targetMinutes: 45)50 / 45m (+5m)
Server Time Budget CheckOver by +5 min
"timeBudget": { "targetMinutes": 45, "plannedMinutes": 50, "deltaMinutes": 5, "status": "over" }
Interactive WalkthroughDeterministic Time Budget Self-Correction Loop (create_session → schedule_session)

See how Cubes+ returns structured timeBudget math so your AI agent catches a +5m overrun, adjusts Blocks to 45 / 45m (on_target), and schedules cleanly with zero hard deletes.

13 Additive / Reversible Write Tools (mcp:write)

mcp:write

Rate limit: 20 write calls/min per user & credential · Zero irreversible hard deletes.

create_blockHead Coach & Coach

Creates a reusable Block in Personal Library (or Official Library for Head Coaches only).

Key Inputs
title, type, durationMin, tier? (personal|official*), format?, exercises?
create_sessionHead Coach & Coach

Authors a Session of ordered Blocks and returns explicit timeBudget math (targetMinutes, plannedMinutes, deltaMinutes, status: under|on_target|over) so agents can self-correct before scheduling.

Key Inputs
title, targetMinutes?, blocks?, tier? (personal|official*), notes?
create_programHead Coach & Coach

Creates a multi-week Program placing Sessions onto weekNumber / dayOfWeek slots in Personal (or Head Coach Official) Library.

Key Inputs
title, durationWeeks? (1-52), sessions?, tier? (personal|official*), description?
schedule_sessionHead Coach & Coach

Schedules a Session onto a date for a Group (fanning out per-Trainee Assignments) or 1-on-1 Trainee with an immutable Session snapshot.

Key Inputs
sessionId, targetKind (group|trainee), targetId, scheduledDate, notes?
schedule_programHead Coach & Coach

Rolls out an entire multi-week Program starting on startDate for a Group or individual Trainee with immutable snapshots per day.

Key Inputs
programId, targetKind (group|trainee), targetId, startDate, notes?
copy_schedule_weekHead Coach & Coach

Copies a Monday-start week forward with fresh Session snapshots while automatically skipping duplicates and archived Sessions or targets.

Key Inputs
sourceWeekStartIso, targetWeekStartIso, groupId?, traineeId?, includeGroupAssignments?, includeIndividualAssignments?
reschedule_group_assignmentHead Coach & Coach

Atomically shifts a Group Assignment and pending non-overridden member rows to a new date while preserving completed, skipped, and individually overridden Trainees.

Key Inputs
groupAssignmentId, newScheduledDate, notes?
create_groupHead Coach & Coach

Creates a new coaching Group optionally linked to a Client Account and populated with existing assigned Trainees.

Key Inputs
name, clientAccountId?, coachId? (Head Coach), traineeIds?
create_traineeHead Coach & Coach

Creates a roster Trainee record assigned to you (or a specified Coach for Head Coaches) and optionally enrolls them in active Groups.

Key Inputs
displayName, email?, clientAccountId?, coachId? (Head Coach), groupIds?
create_invitationHead Coach & Coach

Issues a single-use Cubes+ onboarding invite and returns the one-time shareable inviteUrl directly (never stored in plaintext or audit logs). Coaches invite Trainees only; Head Coaches invite Coaches or Trainees.

Key Inputs
email, role (trainee|coach*), groupId?
post_assignment_commentAll roles

Posts a private comment on an Assignment (Coach/Head Coach) or own Workout (Trainee). Supports clientMutationId for idempotent retries with zero duplicates.

Key Inputs
assignmentId, body, clientMutationId?
log_workout_setTrainee only

Logs sets, reps, weight, time, and completion status for an Exercise inside your assigned Workout. Honors clientMutationId for safe idempotent retries.

Key Inputs
workoutId, blockIndex, exerciseIndex, status, loggedSets?, loggedReps?, loggedWeight?, loggedTime?, notes?, clientMutationId?
complete_workoutTrainee only

Marks your assigned Workout completed, skipped, or pending and returns your Post-Workout completion summary, volume comparison, streak, and Personal Bests. Honors clientMutationId.

Key Inputs
workoutId, completionStatus (completed|skipped|pending), notes?, clientMutationId?

3. Four Built-In Starter MCP Prompts

MCP clients that expose server-side prompts (such as Claude and MCP-native assistants) automatically list these four workflow templates with canonical English and Hebrew vocabulary rules built in.

coach_morning_briefingMCP Prompt

Coach Morning Briefing

Calls get_whoami and get_today_briefing to organize today’s Group and 1-on-1 Sessions, unread Trainee activity, and priority Check-Ins into a tight pre-floor briefing.

Arguments: referenceDate?, language? (en|he)
coach_check_in_outreachMCP Prompt

Coach Check-In Outreach Drafts

Calls get_adherence_and_checkins, ranks flagged Trainees by urgency, and drafts warm check-in messages ready for WhatsApp or Cubes+ comments (strictly using "Workout" / "אימון").

Arguments: windowDays? (14|30|60), tone? (supportive|direct|concise), language? (en|he)
coach_build_and_schedule_sessionMCP Prompt

Build & Schedule Coaching Session

Searches the Training Library, resolves the target Group or Trainee, builds a Session with create_session while self-checking timeBudget, checks get_schedule conflicts, and schedules via schedule_session.

Arguments: goal?, targetMinutes?, groupOrTraineeHint?, scheduledDate?, language? (en|he)
coach_onboard_traineeMCP Prompt

Onboard & Invite Trainee

Inspects get_roster, creates a Group with create_group if needed, issues a single-use link with create_invitation, and drafts a welcoming Trainee onboarding message.

Arguments: traineeName?, email?, groupHint?, language? (en|he)

4. Copyable Bilingual Prompt Cookbook

Paste any prompt directly into OpenAI Dot / ChatGPT, Claude, or Grok once connected to Cubes+.

Coach Promptmcp:read

Morning Floor Briefing

“Give me my Cubes+ morning briefing for today: list today’s scheduled Sessions with target durations, summarize unread Trainee activity, and flag anyone who needs a check-in.”

Coach Promptmcp:write

Build & Schedule a 45-Min Session

“Search my Cubes+ training library, author a 45-minute lower-body strength and mobility Session that stays strictly within its Time Budget, check next Monday for conflicts, and schedule it for my morning Group.”

Coach Promptmcp:write

Invite & Welcome a New Trainee

“Check my Cubes+ roster for the "Founders 7am" Group, create a single-use Trainee invitation for alex@example.com pre-assigned to that Group, return the one-time invite link, and draft a short warm WhatsApp welcome message.”

Trainee Promptmcp:read

Today’s Workout Breakdown

“Check my Cubes+ Workouts for today and list my Exercises, prescribed sets and reps, rest intervals, and coaching cues.”

Trainee Promptmcp:write

Log My Completed Sets

“In today’s Cubes+ Workout, log 4 sets × 8 reps at 28 kg for my first strength Exercise using a unique clientMutationId, and tell me which Exercises are left.”

Trainee Promptmcp:read

30-Day Streak & Personal Bests

“Show my Cubes+ 30-day Workout adherence rate, active weekly streak, and top Exercise Personal Bests.”