Phorme for Gyms

v1.21.0
me.phor/phorme-gyms Checked 3 days ago Published 9 days ago

Your gym in AI answers: listing, classes, bookings, members and your gym's coach.

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

find_gym_class Find a Phorme gym or class

Use this when the user wants a gym, studio or class to train at in person, for example "a strength class in Austin this week" or "a gym near me". It returns up to five Phorme gyms, studios and other places to train in the city named or, when no city is named, within 60 km (or radius_km) of the approximate location the assistant shares, nearest or best matching first, each with its page on phor.me and its classes in the coming days with the class id, local start time, length, places left and a link to book on phor.me. When nothing matches it returns alternatives: the nearest places further out,…

ParameterTypeDescription
citystringThe city the user named, for example "Austin".
class_typestringThe kind of class, only if the user said, for example "barbell" or "yoga".
daysintegerHow many days ahead to look. Default 7.
radius_kmintegerHow far to look, in km. Default 60. Use a larger one only when the user said they would travel.

check_place_in_ai Check a gym, clinic or race in AI answers

Use this when the owner or manager of a gym, studio, sports clinic or race asks whether ChatGPT knows their place or race or recommends it, for example "does ChatGPT recommend my gym?", "what does AI say about my physio clinic in Austin?" or "does ChatGPT know our triathlon?". It asks OpenAI's model with web search two questions a customer or athlete would ask: about the place or race, and for the best of its kind in its city. It returns whether it was found, whether it was named among the best and who was named instead, which of five facts a customer needs were stated (where, hours, classes o…

ParameterTypeDescription
city *stringThe city it is in (for a race, where it is held).
place *stringThe gym, clinic or race's name, as the owner or organiser wrote it.
kindstringWhat kind of place it is, as a customer would search. Defaults to gyms.

get_gym_report Get my gym report

Use this when a gym, studio or clinic owner asks about their own places on Phorme: what is listed, what is live, and how each place did, for example "how is my gym doing on Phorme?" or "did anyone book this week?". It returns each place the connected account lists, with its page and status, and its report: times shown by assistants, page views, asks held, bookings, requests, members and the share earned. A place on the free listing shows a little reach and what it missed; the rest is locked, the same as the web console. It reads only and changes nothing. It needs a connected Phorme account.

create_or_claim_place List or claim my place

Use this when a gym, studio or clinic owner wants their place on Phorme, for example after an AI check, or says "list my gym". Confirm the name, city and address with the owner first, and set confirmation to true only after they said yes. It lists the place for the connected account as a draft nobody sees yet, with its page facts, and finds the map pin from the address. If the account already lists a place with that name in that city it returns that place and changes nothing. Listing is free; it takes no payment and starts no plan. It needs a connected Phorme account.

ParameterTypeDescription
city *string
confirmation *booleanSet to true only after the owner said yes to listing this place.
country *stringFor example "United States".
name *stringThe place's name, as the owner wrote it.
aboutstringOne or two plain sentences about the place, in the owner's words.
addressstringThe street address. The map pin is found from it.
book_labelstringThe words on its booking button, for example "Book a class".
book_urlstringThe place's own booking page, starting with https://.
hoursarrayOpening hours, one line each, for example ["Mon to Fri, 6 am to 9 pm", "Sat, 8 am to noon"].
kindstringWhat the place is: gym (also studios and boxes) or a kind of care.
latnumberLatitude of the map pin, only to set it by hand.
linestringOne line on what the place is, in the owner's words.
lonnumberLongitude of the map pin, only to set it by hand.
phonestringThe place's public phone number, as the owner gave it.
pricesstring | arrayWhat training at the place costs, shown on its page, in the owner's own words: one line each, for example "Drop-in 25 dollars", or { label, amount (in dollars) or amount_cents, period, note }. At most…
request_emailstringWhere booking confirmations and requests are emailed. Never shown in public.
timezonestringThe place's IANA time zone, for example "America/Chicago".
websitestringThe place's own website, starting with https://.

update_place Update my place

Use this when an owner wants to change what their place's page says: name, address, hours, booking link, what kind of place it is, the line about it, its time zone, its phone, its price list or the email for requests. Read the change back to the owner first, and set confirmation to true only after they said yes. Only the things given change; an empty value clears one. A new address moves the map pin. A live page shows the change at once. The price list only shows what the place charges; nothing is sold here. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to these changes.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
aboutstringOne or two plain sentences about the place, in the owner's words.
addressstringThe street address. The map pin is found from it.
book_labelstringThe words on its booking button, for example "Book a class".
book_urlstringThe place's own booking page, starting with https://.
citystring
countrystring
hoursarrayOpening hours, one line each, for example ["Mon to Fri, 6 am to 9 pm", "Sat, 8 am to noon"].
kindstringWhat the place is: gym (also studios and boxes) or a kind of care.
latnumberLatitude of the map pin, only to set it by hand.
linestringOne line on what the place is, in the owner's words.
lonnumberLongitude of the map pin, only to set it by hand.
namestring
phonestringThe place's public phone number, as the owner gave it.
pricesstring | arrayWhat training at the place costs, shown on its page, in the owner's own words: one line each, for example "Drop-in 25 dollars", or { label, amount (in dollars) or amount_cents, period, note }. At most…
request_emailstringWhere booking confirmations and requests are emailed. Never shown in public.
timezonestringThe place's IANA time zone, for example "America/Chicago".
websitestringThe place's own website, starting with https://.

set_class_schedule Set my class schedule

Use this when an owner wants to see, add, change or cancel a class at their place. action list reads the schedule and changes nothing. For add, edit and cancel, read the class, day and time back to the owner first, and set confirmation to true only after they said yes. A class people booked keeps its time, length and price; a class members paid for cannot be cancelled here. Members pay for a paid class on Phorme's own payment page; this tool takes no payment. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
action *string
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
capacityintegerHow many people it takes.
class_idstringFor edit and cancel: the class_id from action list.
confirmationbooleanSet to true only after the owner said yes to this class change.
linestringOne line on the class.
minutesinteger
price_usdnumberWhat one place in the class costs, as the owner set it. 0 or left out for free. Never repeat it to anyone but the owner.
starts_atstringWhen it starts: "YYYY-MM-DDTHH:MM" in the place's own time, or an ISO time with its offset.
titlestringThe class name, for example "Barbell basics".

publish_place Put my place live

Use this when an owner wants their place live on Phorme: its page on phor.me, the app's map and the Phorme connector. Confirm with the owner first, and set confirmation to true only after they said yes. Going live needs an email for booking confirmations and requests: request_email, else the place's own, else the account's. Listing is free; when someone asks to book a place that is not on the gym plan, the ask is held 7 days and the owner is told. It takes no payment and starts no plan. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to putting this place live.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
request_emailstringWhere booking confirmations and requests are emailed. Never shown in public.

unpublish_place Take my place down

Use this when an owner wants their place off Phorme for now. Confirm with the owner first, and set confirmation to true only after they said yes. Its page, the app's map and the Phorme connector stop listing it; its details and classes are kept, so it can be put live again. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to taking this place down.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.

start_gym_brain Start my gym's coaching brain

Use this when an owner wants a coaching brain for their place, so members train with the gym's own coach in the Phorme app. Confirm with the owner first, and set confirmation to true only after they said yes. In one step it makes a brain from the place's name, line and classes, gives it a starting program from the Phorme library, publishes it and puts the place's members under it, the same as the console's one-click start. The owner can change it in the builder after. Free on the free listing too. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to starting a coaching brain for this place.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
days_per_weekintegerTraining days a week the starting program is built for. Default 3.

set_member_cover Cover my members

Use this when an owner on the gym plan wants to pay for their members' Phorme membership at one place, so members train free, or wants to stop. Confirm with the owner first, and set confirmation to true only after they said yes. It turns the switch on or off and can lower the cap of members covered (up to 50). Members join from the app and the place approves them. A place not on the gym plan cannot turn it on; the result then gives plan_url, the plan on phor.me. It takes no payment here. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to this change to member cover.
on *booleantrue to cover members, false to stop.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
capintegerMost members covered at this place. Default 50.

list_held_requests List asks waiting for my gym

Use this when an owner asks who wants to book or visit their place, for example "who asked to book this week?". At a place not on the gym plan, class bookings and 1:1 requests are held for 7 days. It returns each one waiting: its hold_id, the place, the class and its local time (or that it is a 1:1 request), the member's first name, their note and best times, when it expires, and whether it can be accepted now. It reads only and changes nothing. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
place_idstringOnly this place. Leave out for all of the owner's places.

answer_held_request Answer an ask waiting for my gym

Use this when an owner wants to accept or decline one ask held for the plan at their place, by its hold_id. Read the ask back to the owner first, and set confirmation to true only after they said yes. Accept books the member in (a paid class is held while they pay on Phorme's own page; a full class puts them on the waitlist), or sends a 1:1 request on to the place's email. Decline ends it, with the owner's short note when they gave one. Either way the member hears. Accepting needs the gym plan at that place; the result then gives plan_url instead. It takes no payment. It needs a connected Phor…

ParameterTypeDescription
answer *string
confirmation *booleanSet to true only after the owner said yes to this answer.
hold_id *stringThe hold_id from list_held_requests.
notestringFor decline: a short note to the member, in the owner's words.

claim_place Claim a place nobody runs

Use this when an owner says a gym Phorme already lists is theirs and nobody runs it on Phorme yet, for example "that gym is mine". Confirm the place with the owner first, and set confirmation to true only after they said yes. It never hands the place over by itself: Phorme sends a six digit code to the email or phone the place has on file, not to the person asking. Whoever reads that inbox or phone gives them the code, and entering it makes them the owner. A place with neither on file waits for Phorme's team. It takes no payment. It needs a connected Phorme account.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to claiming this place.
place_id *stringThe place_id of the listed place, from find_gym_class.
viastringWhere the code goes, when the place has both on file. Default email.

verify_place_claim Enter my place claim code

Use this when an owner has the six digit code Phorme sent to their place's own email or phone after they claimed it. Read the code back to the owner first, and set confirmation to true only after they said yes. A right code makes the connected account the place's owner; a wrong one changes nothing, and after five wrong tries or 24 hours the place must be claimed again. It takes no payment. It needs a connected Phorme account.

ParameterTypeDescription
claim_id *stringThe claim_id from claim_place.
code *stringThe six digit code, as the owner gave it.
confirmation *booleanSet to true only after the owner said yes to entering this code.

cover_member Cover one member

Use this when an owner on the gym plan wants to see who is covered or asked to be at one place, or to invite, approve or remove one member, for example "invite my member Sam to train free". action list reads who is listed and changes nothing. For invite (by the member's phone), approve (a member who asked) and remove, read it back to the owner first, and set confirmation to true only after they said yes. An invite sends the phone a text to join; the member hears once when they are covered or removed. Cover counts only while the gym plan covers the place, up to its cap; past it, new members pay…

ParameterTypeDescription
action *string
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
confirmationbooleanSet to true only after the owner said yes to this change to who is covered.
member_idstringFor approve and remove: the member_id from action list.
phonestringFor invite: the member's phone with its country code, for example +15125550100.

update_gym_brain Change my gym's coaching brain

Use this when an owner wants to change how their place's coaching brain sounds or looks: its name, its one line, its voice (how the coach talks to members), its method, its colour or its cover photo. Read the change back to the owner first, and set confirmation to true only after they said yes. Only the things given change; an empty value clears one. It saves to the brain; members get it once the brain is published again. The place needs a coaching brain first. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to these changes to the coaching brain.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
colorstringThe brand colour, as #rrggbb.
cover_image_urlstringAn https link to the cover photo.
methodstringHow the gym trains: the principles the coach plans by.
namestringThe coach's name members see.
taglinestringOne line under the name.
voicestringHow the coach talks to members, in the owner's words.

publish_gym_brain Publish my gym's coaching brain

Use this when an owner wants the changes to their place's coaching brain to reach members, for example after its voice, look or programs changed. Confirm with the owner first, and set confirmation to true only after they said yes. It runs the same publish checks as the console and publishes the brain when they pass; when one fails it says what is left and members see no change. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to publishing the coaching brain.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.

set_booking_notices Set where booking notices go

Use this when an owner wants booking and ask notices for a place sent somewhere else, for example "text my bookings to my phone". send_to is an email, or a phone that gets them as texts; one at a time, as in the console. An empty send_to sends them to the account's own phone or email. Read it back to the owner first, and set confirmation to true only after they said yes. The phone is never shown on the place's page. It needs a connected Phorme account that owns the place.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to where booking notices go.
place_id *stringThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
send_to *stringAn email, or a phone with its country code for texts, for example +15125550100. "" for the account's own.

get_payouts Get my payouts

Use this when an owner asks what Phorme paid them, or what goes out next, for example "what did Phorme pay my gym?". It returns what the account earned, what was paid out, what is going out, what is owed now, whether a bank is set up, and each recent payout. It reads only and changes nothing. It needs a connected Phorme account.

set_owner_email Set my owner email

Use this when an owner who signed in by phone wants notices about their gym plan sent to an email. Read the email back to the owner first, and set confirmation to true only after they said yes. An empty email clears it, and notices go to the account's own email or phone. It is never shown to members. It needs a connected Phorme account.

ParameterTypeDescription
confirmation *booleanSet to true only after the owner said yes to this email.
email *stringThe owner's email, or "" to clear it.