Server definition
- Hash
- sha256:48ec6fecb1bce98b340c2c69ac6a1fc70b1942e286b28f94d3adedcdecc8cfad
- What it is
- What a remote MCP server returned when asked what it offers: 22 tools
The blob, as servednamed by its sha256
{
"instructions": "Your gym in AI answers: check_place_in_ai, create_or_claim_place, update_place, set_class_schedule, publish_place. Members and bookings: get_gym_report, list_held_requests, answer_held_request, cover_member. Your gym brain: start_gym_brain, update_gym_brain, publish_gym_brain. Billing and payouts are links only: get_gym_billing_link, get_payouts, get_payout_setup_link. Confirm every write. Use only tool output; invent no ids, dates or numbers.",
"tools": [
{
"description": "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 Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"answer": {
"enum": [
"accept",
"decline"
],
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this answer.",
"type": "boolean"
},
"hold_id": {
"description": "The hold_id from list_held_requests.",
"format": "uuid",
"type": "string"
},
"note": {
"description": "For decline: a short note to the member, in the owner's words.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"hold_id",
"answer",
"confirmation"
],
"type": "object"
},
"name": "answer_held_request",
"outputSchema": {
"properties": {
"hold": {
"description": "id, outcome (released, declined or expired) and booking_status.",
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"hold",
"next"
],
"type": "object"
}
},
{
"description": "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 or treatments, prices, how to book; for a race: where it starts, race date, course, entry fee, how to register), the pages it cited, and a link to the full result. Prices are reported only as stated or not, and a fact counts as stated only when the answer gave it. It also returns a free next step: a link to claim the place on Phorme (for a race, the race organiser page). It takes up to a minute, reuses a check of the same place from the last week, and saves the result as a share page; it changes nothing about the place on Phorme. It is for owners and managers, not for rating a place for someone choosing where to go.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"city": {
"description": "The city it is in (for a race, where it is held).",
"maxLength": 60,
"minLength": 2,
"type": "string"
},
"kind": {
"description": "What kind of place it is, as a customer would search. Defaults to gyms.",
"enum": [
"gyms",
"strength gyms",
"CrossFit gyms",
"HYROX gyms",
"yoga studios",
"pilates studios",
"boxing gyms",
"cycling studios",
"climbing gyms",
"physical therapy clinics",
"sports medicine clinics",
"chiropractors",
"sports massage therapists",
"recovery studios",
"triathlons",
"marathons",
"half marathons",
"HYROX races",
"trail races"
],
"type": "string"
},
"place": {
"description": "The gym, clinic or race's name, as the owner or organiser wrote it.",
"maxLength": 80,
"minLength": 2,
"type": "string"
}
},
"required": [
"place",
"city"
],
"type": "object"
},
"name": "check_place_in_ai",
"outputSchema": {
"properties": {
"checked_at": {
"type": "string"
},
"city": {
"type": "string"
},
"facts": {
"description": "Each fact a customer needs: fact, stated, value (null for prices).",
"type": "array"
},
"facts_stated": {
"type": "string"
},
"identified": {
"description": "Whether ChatGPT found this specific place.",
"type": "boolean"
},
"kind": {
"type": "string"
},
"limits": {
"description": "What this check does not show. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"named_in_best_of_city": {
"description": "Whether it was named when asked for the best of its kind in the city.",
"type": "boolean"
},
"named_instead": {
"description": "Places named instead, when it was not.",
"items": {
"type": "string"
},
"type": "array"
},
"next_step": {
"description": "What the next step does, in one line.",
"type": "string"
},
"next_step_url": {
"description": "Free next step: claim the place on Phorme (a race: the organiser page). It names no price.",
"type": "string"
},
"place": {
"type": "string"
},
"result_url": {
"description": "The full result on gyms.phor.me. Share it.",
"type": "string"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"identified",
"named_in_best_of_city",
"facts",
"result_url",
"limits"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to claiming this place.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of the listed place, from find_gym_class.",
"maxLength": 80,
"type": "string"
},
"via": {
"description": "Where the code goes, when the place has both on file. Default email.",
"enum": [
"email",
"phone"
],
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "claim_place",
"outputSchema": {
"properties": {
"claim": {
"description": "claim_id, place_id, place_name, status (code_sent or review), channel, sent_to (masked), expires_at.",
"type": "object"
},
"next": {
"type": "string"
}
},
"required": [
"claim",
"next"
],
"type": "object"
}
},
{
"description": "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 as normal. It takes no payment here. It needs a connected Phorme account that owns the place.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"list",
"invite",
"approve",
"remove"
],
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this change to who is covered.",
"type": "boolean"
},
"member_id": {
"description": "For approve and remove: the member_id from action list.",
"format": "uuid",
"type": "string"
},
"phone": {
"description": "For invite: the member's phone with its country code, for example +15125550100.",
"maxLength": 30,
"type": "string"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"action"
],
"type": "object"
},
"name": "cover_member",
"outputSchema": {
"properties": {
"cover": {
"description": "on, plan, state (active, needs_plan or off), cap, covered, asked, invited and left.",
"type": [
"object",
"null"
]
},
"member": {
"description": "The member changed, as in members.",
"type": [
"object",
"null"
]
},
"members": {
"description": "For list: member_id, label (a name, or the phone's last four), status (asked, invited, covered), counts, asked_at, invited_at, covered_at.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
},
"plan_url": {
"description": "The plan on phor.me, a price-free link, when the place is not on it.",
"type": [
"string",
"null"
]
}
},
"required": [
"place_id",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"about": {
"description": "One or two plain sentences about the place, in the owner's words.",
"maxLength": 600,
"type": "string"
},
"address": {
"description": "The street address. The map pin is found from it.",
"maxLength": 200,
"type": "string"
},
"book_label": {
"description": "The words on its booking button, for example \"Book a class\".",
"maxLength": 40,
"type": "string"
},
"book_url": {
"description": "The place's own booking page, starting with https://.",
"maxLength": 300,
"type": "string"
},
"city": {
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to listing this place.",
"type": "boolean"
},
"country": {
"description": "For example \"United States\".",
"maxLength": 60,
"minLength": 1,
"type": "string"
},
"hours": {
"description": "Opening hours, one line each, for example [\"Mon to Fri, 6 am to 9 pm\", \"Sat, 8 am to noon\"].",
"items": {
"maxLength": 80,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"kind": {
"description": "What the place is: gym (also studios and boxes) or a kind of care.",
"enum": [
"gym",
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string"
},
"lat": {
"description": "Latitude of the map pin, only to set it by hand.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"line": {
"description": "One line on what the place is, in the owner's words.",
"maxLength": 140,
"type": "string"
},
"lon": {
"description": "Longitude of the map pin, only to set it by hand.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"description": "The place's name, as the owner wrote it.",
"maxLength": 60,
"minLength": 2,
"type": "string"
},
"phone": {
"description": "The place's public phone number, as the owner gave it.",
"maxLength": 30,
"type": "string"
},
"prices": {
"description": "What 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 12; an empty list clears them. Repeat them only to the owner.",
"items": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "In dollars.",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"amount_cents": {
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"label": {
"description": "For example \"Drop-in\" or \"Ten class pack\".",
"maxLength": 60,
"type": "string"
},
"note": {
"maxLength": 120,
"type": "string"
},
"period": {
"enum": [
"drop_in",
"day",
"week",
"month",
"year",
"class_pack",
"other"
],
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
}
]
},
"maxItems": 12,
"type": [
"string",
"array"
]
},
"request_email": {
"description": "Where booking confirmations and requests are emailed. Never shown in public.",
"maxLength": 200,
"type": "string"
},
"timezone": {
"description": "The place's IANA time zone, for example \"America/Chicago\".",
"maxLength": 60,
"type": "string"
},
"website": {
"description": "The place's own website, starting with https://.",
"maxLength": 300,
"type": "string"
}
},
"required": [
"name",
"city",
"country",
"confirmation"
],
"type": "object"
},
"name": "create_or_claim_place",
"outputSchema": {
"properties": {
"next": {
"description": "What to tell the owner next.",
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
},
"status": {
"enum": [
"created",
"existing"
],
"type": "string"
}
},
"required": [
"status",
"place",
"next"
],
"type": "object"
}
},
{
"description": "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, and a home plan from a Phorme coaching brain. It reads only and shows no prices; booking a class for a signed-in user is a separate step.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"city": {
"description": "The city the user named, for example \"Austin\".",
"maxLength": 80,
"type": "string"
},
"class_type": {
"description": "The kind of class, only if the user said, for example \"barbell\" or \"yoga\".",
"maxLength": 60,
"type": "string"
},
"days": {
"description": "How many days ahead to look. Default 7.",
"maximum": 14,
"minimum": 1,
"type": "integer"
},
"radius_km": {
"description": "How far to look, in km. Default 60. Use a larger one only when the user said they would travel.",
"maximum": 300,
"minimum": 1,
"type": "integer"
}
},
"type": "object"
},
"name": "find_gym_class",
"outputSchema": {
"properties": {
"alternatives": {
"description": "When nothing matched or no class is scheduled: kind (wider_radius, other_cities, home_plan), line (what to offer), tool, and for wider_radius the nearest places further out. Offer them; never leave the user with nothing.",
"type": "array"
},
"limits": {
"description": "What this does not cover. Tell the user.",
"items": {
"type": "string"
},
"type": "array"
},
"places": {
"description": "Gyms, studios and other places to train, nearest or best matching first: place_id, name, kind, line, city, country, distance_km, page_url and classes (class_id, the id book_gym_class takes, then title, line, starts, minutes, spots_left, book_url).",
"type": "array"
}
},
"required": [
"places",
"limits"
],
"type": "object"
}
},
{
"description": "Use this when an owner on the gym plan wants to change the card, see invoices or change how many places the plan covers. It returns a link to Stripe's own billing page for the owner to open. It is a link only: nothing is paid or changed in the chat, and it changes nothing by itself. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_gym_billing_link",
"outputSchema": {
"properties": {
"billing_url": {
"description": "Stripe's own billing page, or null when it opens from the console.",
"type": [
"string",
"null"
]
},
"console_url": {
"description": "The Plan tab of the console on phor.me.",
"type": "string"
},
"next": {
"type": "string"
}
},
"required": [
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_gym_report",
"outputSchema": {
"properties": {
"claims": {
"description": "The account's open claims on places nobody ran: claim_id, place_id, place_name, status (code_sent or review), channel, sent_to (masked), expires_at.",
"type": "array"
},
"console_url": {
"type": "string"
},
"next": {
"description": "What to tell the owner next.",
"type": "string"
},
"places": {
"description": "Each place the account lists, as create_or_claim_place returns it.",
"type": "array"
},
"report": {
"description": "One per place. tier free: views_30d, times_shown_30d, ai_check, missed (bookings, asked, members), asks_held, locked and plan_url. tier plan: times_shown, visits, assistant_reads_30d, clicks, bookings, requests, asks_held, members, share_earned_cents, ai_check, asked and funnel.",
"type": "array"
},
"visits_unavailable": {
"description": "True when page visits could not be read just now.",
"type": "boolean"
}
},
"required": [
"places",
"report",
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "Use this when an owner wants their share paid to their bank and has not set it up, for example when no bank is set up yet. Confirm with the owner first, and set confirmation to true only after they said yes. It returns a link to Stripe's own form, where the owner gives their bank to Stripe. It is a link only: the bank is never given in the chat, and it takes no payment. It needs a connected Phorme account.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to setting up payouts.",
"type": "boolean"
},
"country": {
"description": "The two letter country of the bank, for example US. Default US.",
"maxLength": 2,
"minLength": 2,
"type": "string"
}
},
"required": [
"confirmation"
],
"type": "object"
},
"name": "get_payout_setup_link",
"outputSchema": {
"properties": {
"console_url": {
"type": "string"
},
"next": {
"type": "string"
},
"setup_url": {
"description": "Stripe's own form, or null when it opens from the console.",
"type": [
"string",
"null"
]
}
},
"required": [
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {},
"type": "object"
},
"name": "get_payouts",
"outputSchema": {
"properties": {
"balance": {
"description": "earned_cents, paid_cents, going_out_cents, available_cents, min_payout_cents and payouts_ready. Null when it is read in the console.",
"type": [
"object",
"null"
]
},
"console_url": {
"type": "string"
},
"next": {
"type": "string"
},
"payouts": {
"description": "payout_id, amount_cents, status (pending, paid or failed) and created_at, newest first.",
"type": "array"
}
},
"required": [
"payouts",
"console_url",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"place_id": {
"description": "Only this place. Leave out for all of the owner's places.",
"maxLength": 80,
"type": "string"
}
},
"type": "object"
},
"name": "list_held_requests",
"outputSchema": {
"properties": {
"held": {
"description": "hold_id, place_id, place_name, kind (class or session), class (title, starts), first_name, note, times, asked_at, expires_at, can_accept and plan_url (the plan on phor.me, a price-free link, when it cannot be accepted yet).",
"type": "array"
},
"next": {
"type": "string"
}
},
"required": [
"held",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to publishing the coaching brain.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "publish_gym_brain",
"outputSchema": {
"properties": {
"brain_id": {
"type": "string"
},
"checks": {
"description": "label, ok and detail for each publish check.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
},
"published": {
"type": "boolean"
}
},
"required": [
"place_id",
"brain_id",
"published",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to putting this place live.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"request_email": {
"description": "Where booking confirmations and requests are emailed. Never shown in public.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "publish_place",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to where booking notices go.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"send_to": {
"description": "An email, or a phone with its country code for texts, for example +15125550100. \"\" for the account's own.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"place_id",
"send_to",
"confirmation"
],
"type": "object"
},
"name": "set_booking_notices",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"action": {
"enum": [
"list",
"add",
"edit",
"cancel"
],
"type": "string"
},
"capacity": {
"description": "How many people it takes.",
"maximum": 500,
"minimum": 1,
"type": "integer"
},
"class_id": {
"description": "For edit and cancel: the class_id from action list.",
"format": "uuid",
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this class change.",
"type": "boolean"
},
"line": {
"description": "One line on the class.",
"maxLength": 140,
"type": "string"
},
"minutes": {
"maximum": 480,
"minimum": 5,
"type": "integer"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"price_usd": {
"description": "What 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.",
"maximum": 1000,
"minimum": 0,
"type": "number"
},
"starts_at": {
"description": "When it starts: \"YYYY-MM-DDTHH:MM\" in the place's own time, or an ISO time with its offset.",
"maxLength": 40,
"type": "string"
},
"title": {
"description": "The class name, for example \"Barbell basics\".",
"maxLength": 60,
"minLength": 2,
"type": "string"
}
},
"required": [
"place_id",
"action"
],
"type": "object"
},
"name": "set_class_schedule",
"outputSchema": {
"properties": {
"class": {
"type": [
"object",
"null"
]
},
"classes": {
"description": "class_id, title, line, starts (local), starts_at, minutes, capacity, booked, paid, status.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
}
},
"required": [
"place_id",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"cap": {
"description": "Most members covered at this place. Default 50.",
"maximum": 50,
"minimum": 0,
"type": "integer"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this change to member cover.",
"type": "boolean"
},
"on": {
"description": "true to cover members, false to stop.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"on",
"confirmation"
],
"type": "object"
},
"name": "set_member_cover",
"outputSchema": {
"properties": {
"cover": {
"description": "on, plan, cap and members covered.",
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
]
}
},
"required": [
"place_id",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to this email.",
"type": "boolean"
},
"email": {
"description": "The owner's email, or \"\" to clear it.",
"maxLength": 200,
"type": "string"
}
},
"required": [
"email",
"confirmation"
],
"type": "object"
},
"name": "set_owner_email",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"owner_email": {
"type": [
"string",
"null"
]
}
},
"required": [
"owner_email",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to starting a coaching brain for this place.",
"type": "boolean"
},
"days_per_week": {
"description": "Training days a week the starting program is built for. Default 3.",
"maximum": 7,
"minimum": 1,
"type": "integer"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "start_gym_brain",
"outputSchema": {
"properties": {
"brain_id": {
"type": [
"string",
"null"
]
},
"builder_url": {
"type": "string"
},
"next": {
"type": "string"
},
"open": {
"description": "Publish checks still open, when it stayed a draft.",
"items": {
"type": "string"
},
"type": "array"
},
"place_id": {
"type": "string"
},
"published": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"place_id",
"brain_id",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to taking this place down.",
"type": "boolean"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "unpublish_place",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"color": {
"description": "The brand colour, as #rrggbb.",
"pattern": "^#[0-9a-fA-F]{6}$",
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to these changes to the coaching brain.",
"type": "boolean"
},
"cover_image_url": {
"description": "An https link to the cover photo.",
"maxLength": 500,
"type": "string"
},
"method": {
"description": "How the gym trains: the principles the coach plans by.",
"maxLength": 4000,
"type": "string"
},
"name": {
"description": "The coach's name members see.",
"maxLength": 40,
"minLength": 2,
"type": "string"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"tagline": {
"description": "One line under the name.",
"maxLength": 80,
"type": "string"
},
"voice": {
"description": "How the coach talks to members, in the owner's words.",
"maxLength": 4000,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "update_gym_brain",
"outputSchema": {
"properties": {
"brain": {
"description": "name, tagline, look, persona (the voice), method, status and publish_version.",
"type": [
"object",
"null"
]
},
"brain_id": {
"type": "string"
},
"lint": {
"description": "Lines in the voice or method to look at before members read them.",
"type": "array"
},
"next": {
"type": "string"
},
"place_id": {
"type": "string"
}
},
"required": [
"place_id",
"brain_id",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"about": {
"description": "One or two plain sentences about the place, in the owner's words.",
"maxLength": 600,
"type": "string"
},
"address": {
"description": "The street address. The map pin is found from it.",
"maxLength": 200,
"type": "string"
},
"book_label": {
"description": "The words on its booking button, for example \"Book a class\".",
"maxLength": 40,
"type": "string"
},
"book_url": {
"description": "The place's own booking page, starting with https://.",
"maxLength": 300,
"type": "string"
},
"city": {
"maxLength": 60,
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to these changes.",
"type": "boolean"
},
"country": {
"maxLength": 60,
"type": "string"
},
"hours": {
"description": "Opening hours, one line each, for example [\"Mon to Fri, 6 am to 9 pm\", \"Sat, 8 am to noon\"].",
"items": {
"maxLength": 80,
"type": "string"
},
"maxItems": 8,
"type": "array"
},
"kind": {
"description": "What the place is: gym (also studios and boxes) or a kind of care.",
"enum": [
"gym",
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string"
},
"lat": {
"description": "Latitude of the map pin, only to set it by hand.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"line": {
"description": "One line on what the place is, in the owner's words.",
"maxLength": 140,
"type": "string"
},
"lon": {
"description": "Longitude of the map pin, only to set it by hand.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"name": {
"maxLength": 60,
"minLength": 2,
"type": "string"
},
"phone": {
"description": "The place's public phone number, as the owner gave it.",
"maxLength": 30,
"type": "string"
},
"place_id": {
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place.",
"maxLength": 80,
"type": "string"
},
"prices": {
"description": "What 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 12; an empty list clears them. Repeat them only to the owner.",
"items": {
"anyOf": [
{
"maxLength": 120,
"type": "string"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"description": "In dollars.",
"maximum": 100000,
"minimum": 0,
"type": "number"
},
"amount_cents": {
"maximum": 10000000,
"minimum": 0,
"type": "integer"
},
"label": {
"description": "For example \"Drop-in\" or \"Ten class pack\".",
"maxLength": 60,
"type": "string"
},
"note": {
"maxLength": 120,
"type": "string"
},
"period": {
"enum": [
"drop_in",
"day",
"week",
"month",
"year",
"class_pack",
"other"
],
"type": "string"
}
},
"required": [
"label"
],
"type": "object"
}
]
},
"maxItems": 12,
"type": [
"string",
"array"
]
},
"request_email": {
"description": "Where booking confirmations and requests are emailed. Never shown in public.",
"maxLength": 200,
"type": "string"
},
"timezone": {
"description": "The place's IANA time zone, for example \"America/Chicago\".",
"maxLength": 60,
"type": "string"
},
"website": {
"description": "The place's own website, starting with https://.",
"maxLength": 300,
"type": "string"
}
},
"required": [
"place_id",
"confirmation"
],
"type": "object"
},
"name": "update_place",
"outputSchema": {
"properties": {
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"place",
"next"
],
"type": "object"
}
},
{
"description": "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.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"claim_id": {
"description": "The claim_id from claim_place.",
"format": "uuid",
"type": "string"
},
"code": {
"description": "The six digit code, as the owner gave it.",
"maxLength": 12,
"minLength": 6,
"type": "string"
},
"confirmation": {
"const": true,
"description": "Set to true only after the owner said yes to entering this code.",
"type": "boolean"
}
},
"required": [
"claim_id",
"code",
"confirmation"
],
"type": "object"
},
"name": "verify_place_claim",
"outputSchema": {
"properties": {
"claim": {
"type": [
"object",
"null"
]
},
"next": {
"type": "string"
},
"place": {
"description": "The place: place_id, name, kind, line, city, country, address, hours, about, book_url, request_email, request_phone (texts, never public), prices, phone, timezone, status (draft or live), page_url, upcoming_classes, brain_id, on_plan, held_requests and plan_url (the plan on phor.me, a price-free link; null when on the plan).",
"type": [
"object",
"null"
]
}
},
"required": [
"claim",
"next"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:48ec6fecb1bce98b340c2c69ac6a1fc70b1942e286b28f94d3adedcdecc8cfad | sha256sum