Phorme for Coaches

v1.21.0
me.phor/phorme-coaches Checked 4 days ago Published 9 days ago

Run your coaching business: your AI coach, your programs, your 1:1 clients.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

preview_workout_import Preview workout in Phorme

Use this when the user wants a single workout they can follow and track in Phorme: one written in this conversation, pasted from notes, or built to fit their time and equipment. It checks the workout, matches each exercise to the Phorme movement library with a demo link, flags anything that needs equipment the user did not list or runs past their time, and stores a private preview for 24 hours. It does not save training to any account. Do not use it for multiweek programs, nutrition plans, or pain and injury questions.

ParameterTypeDescription
workout *objectThe workout to preview, taken from this conversation.
available_equipmentarrayEquipment the user said they have, for example ["dumbbells", "bench"] or ["none"]. Leave out when the user did not say.
originstringUse "sport_week" when the workout is a session returned by preview_sport_week. Otherwise leave out.
time_limit_minutesintegerMinutes the user said they have. Leave out when the user did not say.

preview_program_import Preview program in Phorme

Use this when the user wants to turn a multiweek training program from this conversation into trackable Phorme training. It checks every week and workout, matches exercises to the Phorme movement library, and stores a private preview for 24 hours. It does not save training to any account. Do not use it for a single workout, nutrition plans or medical questions.

ParameterTypeDescription
program *objectThe multiweek program to preview, taken from this conversation. At most 500 workouts in total.

render_training_import Show Phorme training card

Use this to show a compact Phorme card for a workout or program that was just previewed or saved. It displays only the title, counts, status and link it is given. It reads and changes nothing in Phorme.

ParameterTypeDescription
estimated_duration_minutesinteger
exercise_countinteger
open_urlstringLink that opens the saved training in Phorme. Not set for previews.
statusstring"preview" for training not yet saved, "saved" for training saved to Phorme.
titlestringTraining title from the tool result.
training_kindstring
warning_countinteger

meet_the_coaches Meet the Phorme coaches

Use this when the user asks who the Phorme coaches are, wants to pick a coach by personality, or names one (for example Miles, Atlas or Nutmeg). Each Phorme coach is a character who plans one kind of training: running, strength, mobility, HYROX, triathlon, athletic training, food, or the adaptive plan. It returns each coach with its animal, what it plans, the scene that shows it, its personality and the Phorme builds it coaches. It reads only and changes nothing.

ParameterTypeDescription
coachstringOne coach's name, only when the user named one, for example "Miles".

find_exercise_swap Find an exercise swap

Use this when the user needs a replacement for one exercise because they do not have the equipment, the station is taken, or they want a different option, for example no cable machine for cable rows. It returns up to five Phorme library movements of the same kind that the user's equipment allows, each with a demo link, and says so when it has to offer the nearest kind instead. It reads only and changes nothing, including any saved plan. Do not use it to work around pain or injury.

ParameterTypeDescription
available_equipment *arrayEquipment the user has, for example ["dumbbells", "bench"] or ["none"]. Ask when the user did not say.
exercise *stringThe exercise to replace, as the user wrote it, for example "Seated cable row".
reasonstringWhy they need a swap, only if they said.

get_my_coaching_business Get my coaching brains

Use this when a Phorme coach asks about their own coaching brains: how many members train under each, who went quiet, what they have earned, and whether a note to members can go today. It reads only and changes nothing. It needs a connected Phorme account; an account without a coaching brain gets the address of the coach console.

start_my_coaching_brain Start my coaching brain

Use this when a coach or trainer wants to turn their own method into a Phorme coaching brain and has none yet, or asks for a new one. It creates a draft brain with the name they chose and their method in their own words; members see nothing until the coach publishes it in the coach console. A first program can then be saved to it as a draft. It needs a connected Phorme account; signing in with a phone number creates one.

ParameterTypeDescription
confirmation *booleanTrue only after the coach confirmed the name and method.
name *stringThe brain's name, as the coach chose it, for example "Hayes Strength".
methodstringHow the coach trains people, in their own words from this conversation. Never invented.
taglinestringOne line on who it is for, in the coach's words.

save_program_to_my_coaching_brain Save a program to my coaching brain

Use this when a Phorme coach has written a program in this conversation and clearly said to save it to one of their coaching brains. It saves the program as a draft on that brain (session names, exercises, sets and reps); members see nothing until the coach adds the draft in the coach console. It needs a connected Phorme account that owns the brain.

ParameterTypeDescription
brain_id *stringThe brain id from the coach's brains.
confirmation *booleanTrue only after the coach confirmed this save.
sessions *arrayOne week of sessions; the app repeats and progresses it.
title *string
weeksintegerHow many weeks the program runs. Defaults to 4.

send_note_to_my_members Send a note to my members

Use this when a Phorme coach has written a short note to everyone training under one of their published coaching brains and clearly said to send it. It sends the coach's words as they are, as a notification and in each member's coach history: up to 400 characters, no links, one note per brain per day. It needs a connected Phorme account with an active coach plan that owns the brain.

ParameterTypeDescription
brain_id *string
confirmation *booleanTrue only after the coach confirmed this exact note.
text *stringThe coach's own words, exactly as they approved them.

set_my_brain_rules Set my coaching brain rules

Use this when a Phorme coach describes how they coach and wants their coaching brain to follow it, for example "every session starts with mobility, main lifts stay in 3 to 6 reps, never two hard days in a row". Sent with the coach's words, it reads them into the brain's rules and saves nothing: it returns the rules, one plain line per rule, and what no rule covers yet. Sent with those rules and confirmation, it saves them, and Phorme checks the brain on sample members and says whether every plan still works. Members train by the saved rules from their next session. It needs a connected Phorme…

ParameterTypeDescription
brain_id *stringThe brain id from the coach's brains.
confirmationbooleanTrue only after the coach confirmed these rules. Needed to save.
rulesobjectThe rules a draft returned, unchanged or as the coach corrected them: method, voice, banned_phrases and share. Sent to save.
textstringHow the coach coaches, in their own words from this conversation. Never invented. Sent to read a draft.

get_my_brain_code Get my coaching brain code

Use this when a Phorme coach asks for the code or link to share one of their coaching brains, for example "what is my coach code?". Each brain has one code, like K7Q2-XR4D, made the first time it is asked for and kept as the brain changes. Anyone who types it in the Phorme app or opens its link starts with that brain. It needs a connected Phorme account that owns the brain.

ParameterTypeDescription
brain_id *stringThe brain id from the coach's brains.

copy_coach_from_code Copy a coaching brain from a code

Use this when a coach has another coach's Phorme code and wants to start their own coaching brain from it, for example "start my brain from K7Q2-XR4D". Sent with the code alone, it shows whose brain it is and whether its coach lets other coaches copy it, and changes nothing. Sent with a name and confirmation, it makes a new draft brain from it with its rules and programs, which the coach then makes their own; the coach who made it keeps 10% of what the copy earns. It needs a connected Phorme account; set confirmation to true only after the coach said yes and chose the name.

ParameterTypeDescription
code *stringThe code as the coach gave it, for example "K7Q2-XR4D", or its phor.me/c/ link.
confirmationbooleanTrue only after the coach confirmed the copy and its name.
namestringThe name the coach chose for their copy. Needed to copy.

get_my_coach Get my AI coach

Use this when a Phorme coach (or their agent) asks where their AI coach's training stands. It returns the stage (study, first or rate), the one next step to take, and counts of passages, corrections, principles and rating rounds with the last score. Always read next from here; never assume the stage. It reads only. It needs a connected Phorme account that owns the brain.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".

set_my_coach_principles Set my coach's principles

Use this when the coach has approved the principles their agent wrote from their own reels, posts and words: the ideas their AI coach teaches from. Send each principle with a short name, optional cue and why, and source links. It replaces the coach's principles. Set confirmation to true only after the coach approved exactly these; never invent a principle the coach did not teach.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
confirmation *booleanTrue only after the coach approved exactly these principles.
principles *array

teach_my_coach Teach my coach

Use this when a Phorme coach wants their AI coach to know something they teach: a cue, a drill, how they see a movement, a transcript of them explaining it. It adds it, in the coach's own words, to what their coach teaches from. Never invent or rewrite the coach's meaning. Set confirmation to true only after the coach said to add it.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
confirmation *booleanTrue only after the coach said to add this.
text *stringWhat the coach teaches, in their own words.
title *stringA short name for it, for example "How I cue the hinge".

student_questions Get my students' questions

Use this when a Phorme coach wants to see what their members really ask their AI coach, to review or rate it. It returns recent questions with the coach's answer and whether it was corrected, with names, numbers, emails, links and handles removed. It reads only. It needs a connected Phorme account that owns the brain.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
daysinteger
limitinteger

ask_my_coach Ask my coach

Use this when a Phorme coach wants to hear how their AI coach answers one question, to check it sounds like them. It returns the answer and the coach's own passages it drew on, and changes nothing. Each answer runs Phorme's model under a spending cap; once the cap is reached it says so. It needs a connected Phorme account that owns the brain.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
question *string

correct_my_coach Correct my coach

Use this when a Phorme coach reads an answer their AI coach gave and says how they would say it instead. It keeps the coach's version; every later answer that finds this question leads with it. Send the question, the answer unchanged and the coach's own fix. Set confirmation to true only after the coach approved the fix as written.

ParameterTypeDescription
answer *string
brain_id *stringThe brain id of the coach's own build, for example "cameron".
confirmation *booleanTrue only after the coach approved this fix.
fix *stringHow the coach would say it, in their own words.
question *string

rate_my_coach Rate my coach

Use this when a Phorme coach wants to score whether their AI coach sounds like them. Sent with 1 to 20 real student questions, it answers each (Phorme's model, under a spending cap) and returns a round. Sent with that round_id and one mark per answer (true if it sounds like the coach), with confirmation, it saves the score. Show the coach every answer before they mark it; never mark for them.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
confirmationbooleanTrue only after the coach marked every answer themselves. Needed to save marks.
marksarrayOne per answer, in order: true if it sounds like the coach.
questionsarrayReal student questions. Sent to start a round.
round_idstringThe round to score. Sent with marks.

coach_clients Get my 1:1 clients

Use this when a Phorme coach (or their agent) asks about their 1:1 clients: who they are, when each is due a check-in, when the coach last reviewed them, when they last trained, sessions kept over 28 days, and flags such as missed sessions or pain reported. Only the coach's own paying 1:1 clients are listed; a client who paid but has not opened the app yet shows in_app false. It reads only. It needs a connected Phorme account that owns the brain.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".

coach_client_brief Get a 1:1 client's brief

Use this when a Phorme coach wants to review one of their 1:1 clients before a check-in or before writing their training. It returns the client's goal, week, movements they never do, training maxes, the next 14 days of their plan, sessions done in the last 28 days with their numbers, sleep, HRV, resting heart rate, steps and bodyweight, food targets against what they logged, and pain notes. Never their chats with the AI. The client's data is for coaching that client only; never share it elsewhere. It reads only and needs a client_id from coach_clients.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
client_id *stringThe client_id of one of the coach's 1:1 clients, from coach_clients.

coach_client_workout Put a workout on a 1:1 client's day

Use this when a Phorme coach has written a workout for one of their 1:1 clients and wants it on the client's plan. It writes it as a real session on that day, marked from the coach, with loads filled from the client's maxes where the coach gave none; the client can undo it in the app. replace true rewrites the workout the coach already put on that day. Send the workout exactly as the coach wrote it. Set confirmation to true only after the coach said yes to this workout for this client.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
client_id *stringThe client_id of one of the coach's 1:1 clients, from coach_clients.
confirmation *booleanTrue only after the coach said yes to this workout for this client.
exercises *array
title *stringA short name, for example "Lower A".
datestringThe day, YYYY-MM-DD. Today when left out.
replacebooleanTrue to rewrite the workout the coach already put on that day.

coach_client_post Send a 1:1 client a check-in or message

Use this when a Phorme coach wants to send one of their 1:1 clients a check-in, a form note (optionally with a video link) or a message. It posts to the client's coach thread in the app as the coach and sends them a notification. Send the coach's own words; never write as the coach without their yes. Set confirmation to true only after the coach approved exactly this text.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
client_id *stringThe client_id of one of the coach's 1:1 clients, from coach_clients.
confirmation *booleanTrue only after the coach approved this text.
kind *string
text *string
video_urlstringAn https link to a form video, for a form note.

coach_client_reviewed Mark a 1:1 client reviewed

Use this after a Phorme coach has reviewed one of their 1:1 clients, to record today as the review and, if the coach set one, the date of the next check-in. It changes only the coach's own check-in dates for that client. Call it only after the coach said the review is done.

ParameterTypeDescription
brain_id *stringThe brain id of the coach's own build, for example "cameron".
client_id *stringThe client_id of one of the coach's 1:1 clients, from coach_clients.
next_check_instringThe next check-in, YYYY-MM-DD.