Phorme Training is an MCP server published by me.phor, hosted at phor.me. When last checked on 2026-11-22 it was working: it answers and lists its tools. It declares 61 tools, including preview_workout_import, save_workout_to_phorme, preview_program_import, save_program_to_phorme, get_saved_training.
Coach-built training: coaching brains, programs, race plans, gyms, clinics, demos and your log.
1,138 connections through 5 shared values. Tap any node.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
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.
| Parameter | Type | Description |
|---|---|---|
| origin | string | Use "sport_week" when the workout is a session returned by preview_sport_week. Otherwise leave out. |
| workout * | object | The workout to preview, taken from this conversation. |
| time_limit_minutes | integer | Minutes the user said they have. Leave out when the user did not say. |
| available_equipment | array | Equipment the user said they have, for example ["dumbbells", "bench"] or ["none"]. Leave out when the user did not say. |
{
"name": "preview_workout_import",
"title": "Preview workout in Phorme",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"workout"
],
"properties": {
"origin": {
"enum": [
"conversation",
"sport_week"
],
"type": "string",
"description": "Use \"sport_week\" when the workout is a session returned by preview_sport_week. Otherwise leave out."
},
"workout": {
"type": "object",
"required": [
"exercises"
],
"properties": {
"notes": {
"type": "string",
"maxLength": 2000,
"description": "Short note for the whole workout."
},
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Workout name, for example \"Lower body strength\"."
},
"exercises": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"sets",
"reps"
],
"properties": {
"load": {
"type": "string",
"maxLength": 80,
"description": "Target load, for example \"80%\", \"135 lb\", \"60 kg\", \"bodyweight\" or \"RPE 8\"."
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Exercise name as written in the conversation, for example \"Back squat\"."
},
"reps": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Reps per set as short text, for example \"8\", \"8-10\", \"AMRAP\" or \"40 sec\"."
},
"rest": {
"type": "string",
"maxLength": 40,
"description": "Rest between sets, for example \"90 sec\" or \"2 min\"."
},
"sets": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Number of sets."
},
"notes": {
"type": "string",
"maxLength": 500,
"description": "Short coaching note for this exercise."
},
"duration": {
"type": "number",
"maximum": 7200,
"description": "Work time in seconds for a timed exercise.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Exercises in the order they are performed. At most 300 sets in total."
},
"estimated_duration_minutes": {
"type": "integer",
"maximum": 360,
"minimum": 1,
"description": "Expected length of the workout in minutes."
}
},
"description": "The workout to preview, taken from this conversation.",
"additionalProperties": false
},
"time_limit_minutes": {
"type": "integer",
"maximum": 180,
"minimum": 5,
"description": "Minutes the user said they have. Leave out when the user did not say."
},
"available_equipment": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"maxItems": 20,
"description": "Equipment the user said they have, for example [\"dumbbells\", \"bench\"] or [\"none\"]. Leave out when the user did not say."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"preview_id",
"expires_at",
"training_kind",
"title",
"exercise_count",
"estimated_duration_minutes",
"warning_count",
"warnings",
"requires_confirmation"
],
"properties": {
"title": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"path",
"message"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"description": "Items the user should review before saving."
},
"exercises": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"library_name",
"equipment",
"equipment_ok",
"demo_url"
],
"properties": {
"name": {
"type": "string"
},
"demo_url": {
"type": [
"string",
"null"
],
"description": "Page with the movement demo."
},
"equipment": {
"type": [
"string",
"null"
],
"description": "Equipment the matched movement uses."
},
"equipment_ok": {
"type": [
"boolean",
"null"
],
"description": "Whether that fits the equipment the user listed. Null when no equipment was given or the library does not say."
},
"library_name": {
"type": [
"string",
"null"
],
"description": "The Phorme movement it matched, or null when nothing matched."
}
}
},
"description": "Each exercise with its Phorme library match and demo link."
},
"expires_at": {
"type": "string",
"description": "When the preview can no longer be saved, as an ISO 8601 time."
},
"preview_id": {
"type": "string",
"format": "uuid",
"description": "Identifies this preview when it is saved."
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"type": "integer"
},
"exercise_count": {
"type": "integer"
},
"requires_confirmation": {
"type": "boolean",
"description": "Always true: saving needs the user's confirmation."
},
"estimated_duration_minutes": {
"type": [
"integer",
"null"
]
}
}
},
"annotations": {
"title": "Preview workout in Phorme",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user has seen a workout preview and clearly said to save it. It saves that preview to the connected Phorme account as a private workout and returns a link that opens it in Phorme. It needs a connected Phorme account with the training:write permission. Retrying with the same idempotency_key returns the same saved workout and does not create a second copy.
| Parameter | Type | Description |
|---|---|---|
| preview_id * | string | The preview_id of the preview being saved. |
| confirmation * | boolean | Set to true only after the user clearly confirmed this save in the conversation. |
| idempotency_key * | string | A unique string for this save. Reuse the same value when retrying so no second copy is created. |
{
"name": "save_workout_to_phorme",
"title": "Save workout to Phorme",
"description": "Use this when the user has seen a workout preview and clearly said to save it. It saves that preview to the connected Phorme account as a private workout and returns a link that opens it in Phorme. It needs a connected Phorme account with the training:write permission. Retrying with the same idempotency_key returns the same saved workout and does not create a second copy.",
"inputSchema": {
"type": "object",
"required": [
"preview_id",
"confirmation",
"idempotency_key"
],
"properties": {
"preview_id": {
"type": "string",
"format": "uuid",
"description": "The preview_id of the preview being saved."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the user clearly confirmed this save in the conversation."
},
"idempotency_key": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "A unique string for this save. Reuse the same value when retrying so no second copy is created."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"training_kind",
"training_id",
"status",
"open_url"
],
"properties": {
"status": {
"enum": [
"saved"
],
"type": "string"
},
"open_url": {
"type": "string",
"description": "Link that opens the saved training in Phorme."
},
"training_id": {
"type": "string",
"format": "uuid"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
}
}
},
"annotations": {
"title": "Save workout to Phorme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| program * | object | The multiweek program to preview, taken from this conversation. At most 500 workouts in total. |
{
"name": "preview_program_import",
"title": "Preview program in Phorme",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"program"
],
"properties": {
"program": {
"type": "object",
"required": [
"title",
"weeks"
],
"properties": {
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Program name, for example \"Four week strength base\"."
},
"weeks": {
"type": "array",
"items": {
"type": "object",
"required": [
"week_number",
"workouts"
],
"properties": {
"focus": {
"type": "string",
"maxLength": 300,
"description": "Short focus for the week, for example \"Volume\"."
},
"workouts": {
"type": "array",
"items": {
"type": "object",
"required": [
"day_number",
"exercises"
],
"properties": {
"notes": {
"type": "string",
"maxLength": 2000,
"description": "Short note for the whole workout."
},
"title": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "Workout name, for example \"Lower body strength\"."
},
"exercises": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"sets",
"reps"
],
"properties": {
"load": {
"type": "string",
"maxLength": 80,
"description": "Target load, for example \"80%\", \"135 lb\", \"60 kg\", \"bodyweight\" or \"RPE 8\"."
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "Exercise name as written in the conversation, for example \"Back squat\"."
},
"reps": {
"type": "string",
"maxLength": 40,
"minLength": 1,
"description": "Reps per set as short text, for example \"8\", \"8-10\", \"AMRAP\" or \"40 sec\"."
},
"rest": {
"type": "string",
"maxLength": 40,
"description": "Rest between sets, for example \"90 sec\" or \"2 min\"."
},
"sets": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "Number of sets."
},
"notes": {
"type": "string",
"maxLength": 500,
"description": "Short coaching note for this exercise."
},
"duration": {
"type": "number",
"maximum": 7200,
"description": "Work time in seconds for a timed exercise.",
"exclusiveMinimum": 0
}
},
"additionalProperties": false
},
"maxItems": 100,
"minItems": 1,
"description": "Exercises in the order they are performed. At most 300 sets in total."
},
"day_number": {
"type": "integer",
"maximum": 14,
"minimum": 1,
"description": "Day position within the week, starting at 1. Each day_number appears once in a week."
},
"estimated_duration_minutes": {
"type": "integer",
"maximum": 360,
"minimum": 1,
"description": "Expected length of the workout in minutes."
}
},
"additionalProperties": false
},
"maxItems": 14,
"minItems": 1,
"description": "Workouts in this week."
},
"week_number": {
"type": "integer",
"maximum": 52,
"minimum": 1,
"description": "Week position in the program, starting at 1. Each week_number appears once."
}
},
"additionalProperties": false
},
"maxItems": 52,
"minItems": 1,
"description": "Weeks in order."
},
"difficulty": {
"enum": [
"beginner",
"intermediate",
"advanced"
],
"type": "string",
"description": "Intended training level. Defaults to intermediate."
},
"description": {
"type": "string",
"maxLength": 2000,
"description": "Short summary of the program."
}
},
"description": "The multiweek program to preview, taken from this conversation. At most 500 workouts in total.",
"additionalProperties": false
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"preview_id",
"expires_at",
"training_kind",
"title",
"exercise_count",
"estimated_duration_minutes",
"warning_count",
"warnings",
"requires_confirmation"
],
"properties": {
"title": {
"type": "string"
},
"warnings": {
"type": "array",
"items": {
"type": "object",
"required": [
"code",
"path",
"message"
],
"properties": {
"code": {
"type": "string"
},
"path": {
"type": "string"
},
"message": {
"type": "string"
}
}
},
"description": "Items the user should review before saving."
},
"exercises": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"library_name",
"equipment",
"equipment_ok",
"demo_url"
],
"properties": {
"name": {
"type": "string"
},
"demo_url": {
"type": [
"string",
"null"
],
"description": "Page with the movement demo."
},
"equipment": {
"type": [
"string",
"null"
],
"description": "Equipment the matched movement uses."
},
"equipment_ok": {
"type": [
"boolean",
"null"
],
"description": "Whether that fits the equipment the user listed. Null when no equipment was given or the library does not say."
},
"library_name": {
"type": [
"string",
"null"
],
"description": "The Phorme movement it matched, or null when nothing matched."
}
}
},
"description": "Each exercise with its Phorme library match and demo link."
},
"expires_at": {
"type": "string",
"description": "When the preview can no longer be saved, as an ISO 8601 time."
},
"preview_id": {
"type": "string",
"format": "uuid",
"description": "Identifies this preview when it is saved."
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"type": "integer"
},
"exercise_count": {
"type": "integer"
},
"requires_confirmation": {
"type": "boolean",
"description": "Always true: saving needs the user's confirmation."
},
"estimated_duration_minutes": {
"type": [
"integer",
"null"
]
}
}
},
"annotations": {
"title": "Preview program in Phorme",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user has seen a program preview and clearly said to save it. It saves that preview to the connected Phorme account as a private program and returns a link that opens it in Phorme. It needs a connected Phorme account with the training:write permission and a Phorme membership that already includes programs. If the account does not have that membership the tool says so and saves nothing. It never starts a purchase. Retrying with the same idempotency_key does not create a second copy.
| Parameter | Type | Description |
|---|---|---|
| preview_id * | string | The preview_id of the preview being saved. |
| confirmation * | boolean | Set to true only after the user clearly confirmed this save in the conversation. |
| idempotency_key * | string | A unique string for this save. Reuse the same value when retrying so no second copy is created. |
{
"name": "save_program_to_phorme",
"title": "Save program to Phorme",
"description": "Use this when the user has seen a program preview and clearly said to save it. It saves that preview to the connected Phorme account as a private program and returns a link that opens it in Phorme. It needs a connected Phorme account with the training:write permission and a Phorme membership that already includes programs. If the account does not have that membership the tool says so and saves nothing. It never starts a purchase. Retrying with the same idempotency_key does not create a second copy.",
"inputSchema": {
"type": "object",
"required": [
"preview_id",
"confirmation",
"idempotency_key"
],
"properties": {
"preview_id": {
"type": "string",
"format": "uuid",
"description": "The preview_id of the preview being saved."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the user clearly confirmed this save in the conversation."
},
"idempotency_key": {
"type": "string",
"maxLength": 160,
"minLength": 1,
"description": "A unique string for this save. Reuse the same value when retrying so no second copy is created."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"training_kind",
"training_id",
"status",
"open_url"
],
"properties": {
"status": {
"enum": [
"saved"
],
"type": "string"
},
"open_url": {
"type": "string",
"description": "Link that opens the saved training in Phorme."
},
"training_id": {
"type": "string",
"format": "uuid"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
}
}
},
"annotations": {
"title": "Save program to Phorme",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user asks about a workout or program already saved to Phorme in this conversation, for example to get its Phorme link again. It returns the title and open link for training owned by the connected Phorme account and changes nothing. It needs the training_id from that save. It cannot list, search, edit or delete training.
| Parameter | Type | Description |
|---|---|---|
| training_id * | string | The training_id returned by save_workout_to_phorme or save_program_to_phorme. |
| training_kind * | string | Whether the saved item is a workout or a program. |
{
"name": "get_saved_training",
"title": "Get saved Phorme training",
"description": "Use this when the user asks about a workout or program already saved to Phorme in this conversation, for example to get its Phorme link again. It returns the title and open link for training owned by the connected Phorme account and changes nothing. It needs the training_id from that save. It cannot list, search, edit or delete training.",
"inputSchema": {
"type": "object",
"required": [
"training_kind",
"training_id"
],
"properties": {
"training_id": {
"type": "string",
"format": "uuid",
"description": "The training_id returned by save_workout_to_phorme or save_program_to_phorme."
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string",
"description": "Whether the saved item is a workout or a program."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"training_kind",
"training_id",
"status",
"open_url",
"title"
],
"properties": {
"title": {
"type": [
"string",
"null"
]
},
"status": {
"enum": [
"saved"
],
"type": "string"
},
"open_url": {
"type": "string",
"description": "Link that opens the saved training in Phorme."
},
"training_id": {
"type": "string",
"format": "uuid"
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
}
}
},
"annotations": {
"title": "Get saved Phorme training",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| title | string | Training title from the tool result. |
| status | string | "preview" for training not yet saved, "saved" for training saved to Phorme. |
| open_url | string | Link that opens the saved training in Phorme. Not set for previews. |
| training_kind | string | one of ["workout","program"] |
| warning_count | integer | |
| exercise_count | integer | |
| estimated_duration_minutes | integer |
{
"name": "render_training_import",
"title": "Show Phorme training card",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 160,
"description": "Training title from the tool result."
},
"status": {
"enum": [
"preview",
"saved"
],
"type": "string",
"description": "\"preview\" for training not yet saved, \"saved\" for training saved to Phorme."
},
"open_url": {
"type": "string",
"maxLength": 300,
"description": "Link that opens the saved training in Phorme. Not set for previews."
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"type": "integer",
"maximum": 50000,
"minimum": 0
},
"exercise_count": {
"type": "integer",
"maximum": 50000,
"minimum": 0
},
"estimated_duration_minutes": {
"type": "integer",
"maximum": 200000,
"minimum": 0
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 160,
"description": "Training title from the tool result."
},
"status": {
"enum": [
"preview",
"saved"
],
"type": "string",
"description": "\"preview\" for training not yet saved, \"saved\" for training saved to Phorme."
},
"open_url": {
"type": "string",
"maxLength": 300,
"description": "Link that opens the saved training in Phorme. Not set for previews."
},
"training_kind": {
"enum": [
"workout",
"program"
],
"type": "string"
},
"warning_count": {
"type": "integer",
"maximum": 50000,
"minimum": 0
},
"exercise_count": {
"type": "integer",
"maximum": 50000,
"minimum": 0
},
"estimated_duration_minutes": {
"type": "integer",
"maximum": 200000,
"minimum": 0
}
}
},
"annotations": {
"title": "Show Phorme training card",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user plays a sport and wants their gym days for a week planned around it, for example two lifting days during basketball season. It picks the closest coach-built Phorme sport program and returns one week of sessions sized to the days the user has, with sets, reps, coach notes and a demo link for each exercise. It reads only and changes nothing in any account. If Phorme has no program for that sport it says so in match_quality and limits. Do not use it for injury rehab, team practice plans for children, or nutrition.
| Parameter | Type | Description |
|---|---|---|
| sport * | string | The sport or position, for example "basketball", "volleyball" or "wide receiver". |
| season_phase | string | Where the user is in their season, only if they said. |
| gym_days_per_week * | integer | Gym days the user has this week. Ask when the user did not say. |
{
"name": "preview_sport_week",
"title": "Plan a sport training week",
"description": "Use this when the user plays a sport and wants their gym days for a week planned around it, for example two lifting days during basketball season. It picks the closest coach-built Phorme sport program and returns one week of sessions sized to the days the user has, with sets, reps, coach notes and a demo link for each exercise. It reads only and changes nothing in any account. If Phorme has no program for that sport it says so in match_quality and limits. Do not use it for injury rehab, team practice plans for children, or nutrition.",
"inputSchema": {
"type": "object",
"required": [
"sport",
"gym_days_per_week"
],
"properties": {
"sport": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The sport or position, for example \"basketball\", \"volleyball\" or \"wide receiver\"."
},
"season_phase": {
"enum": [
"off_season",
"pre_season",
"in_season",
"unknown"
],
"type": "string",
"description": "Where the user is in their season, only if they said."
},
"gym_days_per_week": {
"type": "integer",
"maximum": 7,
"minimum": 1,
"description": "Gym days the user has this week. Ask when the user did not say."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"sport",
"match_quality",
"program",
"sessions",
"limits"
],
"properties": {
"brain": {
"type": [
"object",
"null"
],
"description": "The coaching brain whose method the week follows: name, coach, focus, how_it_trains and image_url (Phorme's own picture). Name it to the user."
},
"sport": {
"type": "string"
},
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this week does not cover. Tell the user."
},
"program": {
"type": [
"object",
"null"
],
"description": "The coach-built program the week comes from."
},
"sessions": {
"type": "array",
"description": "One entry per gym day, each with a title and exercises."
},
"week_number": {
"type": [
"integer",
"null"
]
},
"match_quality": {
"enum": [
"exact_sport",
"related",
"none"
],
"type": "string",
"description": "exact_sport: a program written for this sport. related: the closest program. none: a general athletic program."
}
}
},
"annotations": {
"title": "Plan a sport training week",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user is looking for a race to enter, for example "which 70.3 can I do in South America next spring", "marathons in Europe in April" or "a HYROX near Riga". It lists races from Phorme's verified race listings that fit the kind of race, the place (a country, city or region) and the months asked, by date only, each with its city, date, its own page, its registration as the organiser last showed it, and whether Phorme has a plan that counts back to it. When the organiser has given them, the race's own logistics are included: where to pick up the race packet, the nearest airport, getting there and the official hotels the organiser lists, with the page they came from. It reads only and changes nothing. Only races in Phorme's listings are returned, with the dates the listings give.
| Parameter | Type | Description |
|---|---|---|
| kind | string | The kind of race, for example "70.3", "triathlon", "marathon", "half marathon" or "HYROX". Leave out for any. |
| where | string | A country, city or region, for example "Colombia", "Barranquilla" or "South America". Leave out for anywhere. |
| to_month | string | Last month, YYYY-MM, only if the user gave a window. |
| from_month | string | First month, YYYY-MM, only if the user gave a window. |
{
"name": "find_races",
"title": "Find a race",
"description": "Use this when the user is looking for a race to enter, for example \"which 70.3 can I do in South America next spring\", \"marathons in Europe in April\" or \"a HYROX near Riga\". It lists races from Phorme's verified race listings that fit the kind of race, the place (a country, city or region) and the months asked, by date only, each with its city, date, its own page, its registration as the organiser last showed it, and whether Phorme has a plan that counts back to it. When the organiser has given them, the race's own logistics are included: where to pick up the race packet, the nearest airport, getting there and the official hotels the organiser lists, with the page they came from. It reads only and changes nothing. Only races in Phorme's listings are returned, with the dates the listings give.",
"inputSchema": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"maxLength": 60,
"description": "The kind of race, for example \"70.3\", \"triathlon\", \"marathon\", \"half marathon\" or \"HYROX\". Leave out for any."
},
"where": {
"type": "string",
"maxLength": 80,
"description": "A country, city or region, for example \"Colombia\", \"Barranquilla\" or \"South America\". Leave out for anywhere."
},
"to_month": {
"type": "string",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
"description": "Last month, YYYY-MM, only if the user gave a window."
},
"from_month": {
"type": "string",
"pattern": "^\\d{4}-(0[1-9]|1[0-2])$",
"description": "First month, YYYY-MM, only if the user gave a window."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"races",
"limits"
],
"properties": {
"races": {
"type": "array",
"description": "Races by date: name, city, country, on (YYYY-MM-DD or null), url (the race's own page), registration (status open, sold_out, opening_soon or closed, its url and checked_on, or null), has_plan, and logistics (the race's own venue, packet pickup, airport, official hotels and guide links as the organiser listed them, with source_url and checked_on; null when not given)."
},
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "Where the dates come from and what to check. Tell the user."
}
}
},
"annotations": {
"title": "Find a race",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user names a race they are training for, for example "IRONMAN 70.3 Barranquilla", "I signed up for the half ironman in Cartagena" or "Chicago Marathon". It finds the race in Phorme's race listings (name, date, city and the race's own page), counts the weeks to race day, and returns the week of Phorme's plan for that kind of race that lines up with race day, with sets, reps, paces, coach notes and a demo link for each exercise. For a triathlon (IRONMAN 70.3, 5150, full) it is swim, bike and run in one plan, with efforts until the athlete's swim and bike tests are in. When the organiser has given them, the race's own logistics come with it (venue, where to pick up the race packet, airport, official hotels from the organiser), with the page and date they were read. It reads only and changes nothing. If the race is not listed it says so; never guess a race date. Do not use it for injury rehab or nutrition.
| Parameter | Type | Description |
|---|---|---|
| race * | string | The race as the user named it, for example "IRONMAN 70.3 Barranquilla". |
{
"name": "plan_for_race",
"title": "Plan training for a race",
"description": "Use this when the user names a race they are training for, for example \"IRONMAN 70.3 Barranquilla\", \"I signed up for the half ironman in Cartagena\" or \"Chicago Marathon\". It finds the race in Phorme's race listings (name, date, city and the race's own page), counts the weeks to race day, and returns the week of Phorme's plan for that kind of race that lines up with race day, with sets, reps, paces, coach notes and a demo link for each exercise. For a triathlon (IRONMAN 70.3, 5150, full) it is swim, bike and run in one plan, with efforts until the athlete's swim and bike tests are in. When the organiser has given them, the race's own logistics come with it (venue, where to pick up the race packet, airport, official hotels from the organiser), with the page and date they were read. It reads only and changes nothing. If the race is not listed it says so; never guess a race date. Do not use it for injury rehab or nutrition.",
"inputSchema": {
"type": "object",
"required": [
"race"
],
"properties": {
"race": {
"type": "string",
"maxLength": 120,
"minLength": 2,
"description": "The race as the user named it, for example \"IRONMAN 70.3 Barranquilla\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"race",
"sessions",
"limits"
],
"properties": {
"race": {
"type": [
"object",
"null"
],
"description": "The race as listed: name, city, country, on (YYYY-MM-DD, null when not yet published), url (the race's own page), registration, and logistics: the race's own venue, packet_pickup, airport, getting_there, hotels (up to 6 official hotels, each name, url and note), course_url, athlete_guide_url, source_url and checked_on, as the organiser listed them, or null."
},
"brain": {
"type": [
"object",
"null"
],
"description": "The Phorme coaching brain the plan follows: name, coach and how_it_trains."
},
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this plan does not cover and where its dates come from. Tell the user."
},
"program": {
"type": [
"object",
"null"
],
"description": "The plan: title, weeks and days_per_week, and its summary."
},
"days_out": {
"type": [
"integer",
"null"
]
},
"sessions": {
"type": "array",
"description": "The sessions of that week, each with a title and exercises."
},
"starts_on": {
"type": [
"string",
"null"
],
"description": "When the race is further off than the plan, the day the plan's first week starts."
},
"weeks_out": {
"type": [
"integer",
"null"
]
},
"week_number": {
"type": [
"integer",
"null"
],
"description": "The week of the plan these sessions are."
}
}
},
"annotations": {
"title": "Plan training for a race",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user wants a way to train for a goal or sport, for example "I want to get more explosive for basketball", "build muscle three days a week" or "train for a half marathon", or wants to train with a named coach, for example "train with Cameron Goodson", and has not picked a programme, or has a coach code someone gave them, for example K7Q2-XR4D. Phorme coaching brains are curated training methods: a coach, the principles the method trains by, and a coach-built programme. It returns up to three brains that fit, best first, each with its coach, focus, how it trains and its programmes with weeks and days a week; with a coach named, only that coach's brains; with a code, the one brain it belongs to and its page. It reads only and changes nothing. Do not use it for injury rehab or nutrition.
| Parameter | Type | Description |
|---|---|---|
| code | string | A Phorme coach code exactly as the user gave it, for example "K7Q2-XR4D", or a phor.me/c/ link. Only when they gave one. |
| goal | string | What the user wants from training, in their words, for example "jump higher" or "first HYROX race". Needed unless a code is given. |
| coach | string | A coach the user named, for example "Cameron Goodson". Only that coach's brains are returned. |
| sport | string | The sport or position, only if the user named one. |
| days_per_week | integer | Training days a week, only if the user said. |
{
"name": "find_coaching_brain",
"title": "Find a Phorme coaching brain",
"description": "Use this when the user wants a way to train for a goal or sport, for example \"I want to get more explosive for basketball\", \"build muscle three days a week\" or \"train for a half marathon\", or wants to train with a named coach, for example \"train with Cameron Goodson\", and has not picked a programme, or has a coach code someone gave them, for example K7Q2-XR4D. Phorme coaching brains are curated training methods: a coach, the principles the method trains by, and a coach-built programme. It returns up to three brains that fit, best first, each with its coach, focus, how it trains and its programmes with weeks and days a week; with a coach named, only that coach's brains; with a code, the one brain it belongs to and its page. It reads only and changes nothing. Do not use it for injury rehab or nutrition.",
"inputSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"maxLength": 80,
"description": "A Phorme coach code exactly as the user gave it, for example \"K7Q2-XR4D\", or a phor.me/c/ link. Only when they gave one."
},
"goal": {
"type": "string",
"maxLength": 200,
"minLength": 1,
"description": "What the user wants from training, in their words, for example \"jump higher\" or \"first HYROX race\". Needed unless a code is given."
},
"coach": {
"type": "string",
"maxLength": 80,
"description": "A coach the user named, for example \"Cameron Goodson\". Only that coach's brains are returned."
},
"sport": {
"type": "string",
"maxLength": 80,
"description": "The sport or position, only if the user named one."
},
"days_per_week": {
"type": "integer",
"maximum": 7,
"minimum": 1,
"description": "Training days a week, only if the user said."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"goal",
"brains",
"limits"
],
"properties": {
"code": {
"type": "string",
"description": "The coach code that was looked up, when one was given."
},
"goal": {
"type": "string"
},
"brains": {
"type": "array",
"description": "Best fit first: id, name, coach, coach_title, focus, how_it_trains, image_url and image_alt (Phorme's own picture of the brain, its programme cover or its coach's room: show it, never a web photo), programmes (name, summary, weeks, days_per_week, image_url) and why it fits."
},
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this does not cover. Tell the user."
}
}
},
"annotations": {
"title": "Find a Phorme coaching brain",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| city | string | The city the user named, for example "Austin". |
| days | integer | How many days ahead to look. Default 7. |
| radius_km | integer | How far to look, in km. Default 60. Use a larger one only when the user said they would travel. |
| class_type | string | The kind of class, only if the user said, for example "barbell" or "yoga". |
{
"name": "find_gym_class",
"title": "Find a Phorme gym or class",
"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": {
"type": "object",
"properties": {
"city": {
"type": "string",
"maxLength": 80,
"description": "The city the user named, for example \"Austin\"."
},
"days": {
"type": "integer",
"maximum": 14,
"minimum": 1,
"description": "How many days ahead to look. Default 7."
},
"radius_km": {
"type": "integer",
"maximum": 300,
"minimum": 1,
"description": "How far to look, in km. Default 60. Use a larger one only when the user said they would travel."
},
"class_type": {
"type": "string",
"maxLength": 60,
"description": "The kind of class, only if the user said, for example \"barbell\" or \"yoga\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"places",
"limits"
],
"properties": {
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this does not cover. Tell the user."
},
"places": {
"type": "array",
"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)."
},
"alternatives": {
"type": "array",
"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."
}
}
},
"annotations": {
"title": "Find a Phorme gym or class",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when a signed-in user wants a place in one class at a Phorme gym or studio. Confirm the class, the day and time, and the gym with the user first, and set confirmation to true only after they said yes. It books the class for the connected Phorme account: booked when there is a spot, on the waitlist when it is full, a spot held for 15 minutes when the class is paid, or a request the gym is told about when the gym has not opened booking on Phorme yet. A paid class is finished from the gym's page on phor.me. This tool takes no payment, gives no payment link, names no amount and never sells a subscription or membership. Booking the same class again returns the same booking. It needs a connected Phorme account with the training:write permission.
| Parameter | Type | Description |
|---|---|---|
| class_id * | string | The class_id of the class, from find_gym_class. |
| place_id | string | The place_id of its gym or studio, from the same find_gym_class result. |
| confirmation * | boolean | Set to true only after the user said yes to this class, day, time and gym. |
{
"name": "book_gym_class",
"title": "Book a Phorme gym class",
"description": "Use this when a signed-in user wants a place in one class at a Phorme gym or studio. Confirm the class, the day and time, and the gym with the user first, and set confirmation to true only after they said yes. It books the class for the connected Phorme account: booked when there is a spot, on the waitlist when it is full, a spot held for 15 minutes when the class is paid, or a request the gym is told about when the gym has not opened booking on Phorme yet. A paid class is finished from the gym's page on phor.me. This tool takes no payment, gives no payment link, names no amount and never sells a subscription or membership. Booking the same class again returns the same booking. It needs a connected Phorme account with the training:write permission.",
"inputSchema": {
"type": "object",
"required": [
"class_id",
"confirmation"
],
"properties": {
"class_id": {
"type": "string",
"format": "uuid",
"description": "The class_id of the class, from find_gym_class."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of its gym or studio, from the same find_gym_class result."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the user said yes to this class, day, time and gym."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"status",
"booking_id",
"book_url",
"next"
],
"properties": {
"next": {
"type": "string",
"description": "What to tell the user next."
},
"class": {
"type": [
"object",
"null"
],
"description": "title, starts (local time at the gym) and minutes."
},
"place": {
"type": [
"object",
"null"
],
"description": "name, city and page_url of the gym or studio."
},
"status": {
"enum": [
"booked",
"waitlisted",
"pending_payment",
"requested",
"book_on_phorme"
],
"type": "string",
"description": "booked: the user is in. waitlisted: the class is full; Phorme moves them up if a spot opens. pending_payment: the class is paid and the spot is held 15 minutes; they finish booking it from place.page_url. requested: the gym is told they asked; held up to 7 days, not a booking yet. book_on_phorme: nothing was booked; give them book_url."
},
"book_url": {
"type": [
"string",
"null"
],
"description": "The class page on phor.me."
},
"booking_id": {
"type": [
"string",
"null"
],
"description": "The booking, for cancel_gym_booking."
}
}
},
"annotations": {
"title": "Book a Phorme gym class",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when a signed-in user wants to give up a class they booked, are on the waitlist for, or asked a gym for on Phorme. Confirm which class with the user first, and set confirmation to true only after they said yes. It cancels that booking for the connected Phorme account and frees the spot for the next person on the waitlist. It takes the booking id, or the class id of the booked class. Sales are final, so a paid class is not refunded. It needs a connected Phorme account with the training:write permission.
| Parameter | Type | Description |
|---|---|---|
| class_id | string | The class_id of the booked class, when the booking_id is not known. |
| booking_id | string | The booking_id from book_gym_class. Give this or class_id. |
| confirmation * | boolean | Set to true only after the user said yes to cancelling this class. |
{
"name": "cancel_gym_booking",
"title": "Cancel a Phorme gym booking",
"description": "Use this when a signed-in user wants to give up a class they booked, are on the waitlist for, or asked a gym for on Phorme. Confirm which class with the user first, and set confirmation to true only after they said yes. It cancels that booking for the connected Phorme account and frees the spot for the next person on the waitlist. It takes the booking id, or the class id of the booked class. Sales are final, so a paid class is not refunded. It needs a connected Phorme account with the training:write permission.",
"inputSchema": {
"type": "object",
"required": [
"confirmation"
],
"properties": {
"class_id": {
"type": "string",
"format": "uuid",
"description": "The class_id of the booked class, when the booking_id is not known."
},
"booking_id": {
"type": "string",
"format": "uuid",
"description": "The booking_id from book_gym_class. Give this or class_id."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the user said yes to cancelling this class."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"cancelled",
"next"
],
"properties": {
"next": {
"type": "string",
"description": "What to tell the user next."
},
"cancelled": {
"type": "boolean"
},
"booking_id": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"title": "Cancel a Phorme gym booking",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}
}Use this when the user wants to be seen in person by a physical therapist, sports medicine clinic, chiropractor, sports massage therapist or recovery studio, in a city they name or, when they name none, near the approximate location the assistant shares. It returns up to five Phorme clinic and recovery partners, nearest or best matching first, each with the kind of care, the services it lists, its page on phor.me and a link to ask for an appointment there. It takes a place and a kind of care, never symptoms. It reads only, does not diagnose or treat, shows no prices and books nothing.
| Parameter | Type | Description |
|---|---|---|
| care | string | The kind of care the user asked for, only if they named one. |
| city | string | The city the user named, for example "Austin". |
{
"name": "find_clinic",
"title": "Find a Phorme clinic",
"description": "Use this when the user wants to be seen in person by a physical therapist, sports medicine clinic, chiropractor, sports massage therapist or recovery studio, in a city they name or, when they name none, near the approximate location the assistant shares. It returns up to five Phorme clinic and recovery partners, nearest or best matching first, each with the kind of care, the services it lists, its page on phor.me and a link to ask for an appointment there. It takes a place and a kind of care, never symptoms. It reads only, does not diagnose or treat, shows no prices and books nothing.",
"inputSchema": {
"type": "object",
"properties": {
"care": {
"enum": [
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string",
"description": "The kind of care the user asked for, only if they named one."
},
"city": {
"type": "string",
"maxLength": 80,
"description": "The city the user named, for example \"Austin\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"clinics",
"limits"
],
"properties": {
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this does not cover. Tell the user."
},
"clinics": {
"type": "array",
"description": "Clinics, nearest or best matching first: name, care, line, city, country, distance_km, page_url, request_url and services."
}
}
},
"annotations": {
"title": "Find a Phorme clinic",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user wants a human coach of their own: 1:1 coaching, someone who writes their program for them, checks in each week, reviews how they move or answers their messages, for example "I want a real coach for basketball" or "can someone coach me one on one?". It returns the Phorme coaches taking 1:1 clients now, with what the coaching includes, how many spots are open and the coach's page, where the terms and joining are. It shows no prices, books nothing and changes nothing. Coaching is training, not medical care.
| Parameter | Type | Description |
|---|---|---|
| goal | string | What the user wants coaching for, in their words, only if they said. |
| sport | string | Their sport, only if they named one. |
{
"name": "find_personal_coach",
"title": "Find a personal coach",
"description": "Use this when the user wants a human coach of their own: 1:1 coaching, someone who writes their program for them, checks in each week, reviews how they move or answers their messages, for example \"I want a real coach for basketball\" or \"can someone coach me one on one?\". It returns the Phorme coaches taking 1:1 clients now, with what the coaching includes, how many spots are open and the coach's page, where the terms and joining are. It shows no prices, books nothing and changes nothing. Coaching is training, not medical care.",
"inputSchema": {
"type": "object",
"properties": {
"goal": {
"type": "string",
"maxLength": 200,
"description": "What the user wants coaching for, in their words, only if they said."
},
"sport": {
"type": "string",
"maxLength": 80,
"description": "Their sport, only if they named one."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"coaches",
"limits"
],
"properties": {
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this does not cover. Tell the user."
},
"coaches": {
"type": "array",
"description": "Each coach taking 1:1 clients: coach, coach_url, offer, summary, includes, spots (status, detail, open), page_url, how_it_starts, and free_review (open, page_url) when the coach has a free plan review spot this week."
}
}
},
"annotations": {
"title": "Find a personal coach",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| city * | string | The city it is in (for a race, where it is held). |
| kind | string | What kind of place it is, as a customer would search. Defaults to gyms. |
| place * | string | The gym, clinic or race's name, as the owner or organiser wrote it. |
{
"name": "check_place_in_ai",
"title": "Check a gym, clinic or race in AI answers",
"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": {
"type": "object",
"required": [
"place",
"city"
],
"properties": {
"city": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "The city it is in (for a race, where it is held)."
},
"kind": {
"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",
"description": "What kind of place it is, as a customer would search. Defaults to gyms."
},
"place": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "The gym, clinic or race's name, as the owner or organiser wrote it."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"identified",
"named_in_best_of_city",
"facts",
"result_url",
"limits"
],
"properties": {
"city": {
"type": "string"
},
"kind": {
"type": "string"
},
"facts": {
"type": "array",
"description": "Each fact a customer needs: fact, stated, value (null for prices)."
},
"place": {
"type": "string"
},
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What this check does not show. Tell the user."
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"next_step": {
"type": "string",
"description": "What the next step does, in one line."
},
"checked_at": {
"type": "string"
},
"identified": {
"type": "boolean",
"description": "Whether ChatGPT found this specific place."
},
"result_url": {
"type": "string",
"description": "The full result on gyms.phor.me. Share it."
},
"facts_stated": {
"type": "string"
},
"named_instead": {
"type": "array",
"items": {
"type": "string"
},
"description": "Places named instead, when it was not."
},
"next_step_url": {
"type": "string",
"description": "Free next step: claim the place on Phorme (a race: the organiser page). It names no price."
},
"named_in_best_of_city": {
"type": "boolean",
"description": "Whether it was named when asked for the best of its kind in the city."
}
}
},
"annotations": {
"title": "Check a gym, clinic or race in AI answers",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| reason | string | Why they need a swap, only if they said. |
| exercise * | string | The exercise to replace, as the user wrote it, for example "Seated cable row". |
| available_equipment * | array | Equipment the user has, for example ["dumbbells", "bench"] or ["none"]. Ask when the user did not say. |
{
"name": "find_exercise_swap",
"title": "Find an exercise swap",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"exercise",
"available_equipment"
],
"properties": {
"reason": {
"enum": [
"equipment",
"busy",
"preference"
],
"type": "string",
"description": "Why they need a swap, only if they said."
},
"exercise": {
"type": "string",
"maxLength": 120,
"minLength": 1,
"description": "The exercise to replace, as the user wrote it, for example \"Seated cable row\"."
},
"available_equipment": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"maxItems": 20,
"minItems": 1,
"description": "Equipment the user has, for example [\"dumbbells\", \"bench\"] or [\"none\"]. Ask when the user did not say."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"exercise",
"match",
"swaps",
"limits"
],
"properties": {
"match": {
"enum": [
"same_kind",
"nearest_kind",
"none"
],
"type": "string",
"description": "nearest_kind: nothing of the same kind fits the equipment, so these work the same muscles from a different angle."
},
"swaps": {
"type": "array",
"description": "Replacements, best first, each with name, equipment and demo_url."
},
"limits": {
"type": "array",
"items": {
"type": "string"
},
"description": "What the swaps do not cover. Tell the user."
},
"matched": {
"type": [
"string",
"null"
],
"description": "The Phorme library movement the exercise matched."
},
"pattern": {
"type": [
"string",
"null"
],
"description": "The kind of movement, for example horizontal_pull."
},
"exercise": {
"type": "string"
}
}
},
"annotations": {
"title": "Find an exercise swap",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user asks about their own training logged in Phorme: what they did last time, how often they trained, their personal records, or a next workout built on their recent sessions. It returns their most recent logged workouts with each exercise's sets, best set, estimated max and volume, how many workouts they logged in the last 7 and 30 days, and their latest records. It reads only and changes nothing. It needs a connected Phorme account. Weights are in pounds.
| Parameter | Type | Description |
|---|---|---|
| limit | integer | How many recent workouts to return, newest first. Defaults to 10. |
{
"name": "get_training_history",
"title": "Get my Phorme training log",
"description": "Use this when the user asks about their own training logged in Phorme: what they did last time, how often they trained, their personal records, or a next workout built on their recent sessions. It returns their most recent logged workouts with each exercise's sets, best set, estimated max and volume, how many workouts they logged in the last 7 and 30 days, and their latest records. It reads only and changes nothing. It needs a connected Phorme account. Weights are in pounds.",
"inputSchema": {
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "How many recent workouts to return, newest first. Defaults to 10."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"found"
],
"properties": {
"found": {
"type": "boolean",
"description": "False when this account has no Phorme training yet."
},
"records": {
"type": "array",
"description": "Latest personal records: movement, label, value and date."
},
"workouts": {
"type": "array",
"description": "Newest first: date, title, minutes and exercises with sets, best_set, e1rm_lb and volume_lb."
},
"last_7_days": {
"type": "integer"
},
"last_30_days": {
"type": "integer"
},
"total_logged": {
"type": "integer"
}
}
},
"annotations": {
"title": "Get my Phorme training log",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user asks how one of their lifts is progressing or wants it graphed, for example "how is my bench going" or "chart my squat over six months". It finds the lift in their Phorme log by the words they use and returns one point per session with the best set, estimated max and volume, the change over the period and their best session, and shows a chart card. It reads only and changes nothing. It needs a connected Phorme account. Weights are in pounds. If no lift matched it lists the lifts they have logged.
| Parameter | Type | Description |
|---|---|---|
| months | integer | How many months back to look. Defaults to 6. |
| movement * | string | The lift as the user said it, for example "bench", "back squat" or "RDL". |
{
"name": "get_lift_progress",
"title": "Chart my lift progress",
"description": "Use this when the user asks how one of their lifts is progressing or wants it graphed, for example \"how is my bench going\" or \"chart my squat over six months\". It finds the lift in their Phorme log by the words they use and returns one point per session with the best set, estimated max and volume, the change over the period and their best session, and shows a chart card. It reads only and changes nothing. It needs a connected Phorme account. Weights are in pounds. If no lift matched it lists the lifts they have logged.",
"inputSchema": {
"type": "object",
"required": [
"movement"
],
"properties": {
"months": {
"type": "integer",
"maximum": 24,
"minimum": 1,
"description": "How many months back to look. Defaults to 6."
},
"movement": {
"type": "string",
"maxLength": 80,
"minLength": 1,
"description": "The lift as the user said it, for example \"bench\", \"back squat\" or \"RDL\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"found"
],
"properties": {
"best": {
"type": [
"object",
"null"
]
},
"found": {
"type": "boolean"
},
"change": {
"type": [
"object",
"null"
],
"description": "from_e1rm_lb, to_e1rm_lb, change_lb and change_pct over the period."
},
"points": {
"type": "array",
"description": "Oldest first: on, top_set, e1rm_lb, volume_lb, sets."
},
"movement": {
"type": [
"string",
"null"
],
"description": "The logged lift that matched, or null."
},
"also_matched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Other logged lifts the words also matched."
},
"logged_movements": {
"type": "array",
"items": {
"type": "string"
},
"description": "When nothing matched: the lifts they log most."
}
}
},
"annotations": {
"title": "Chart my lift progress",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user asks what their Phorme plan has for today or the coming days, for example "what is my workout today". It returns each planned session with its exercises, sets, reps and the loads Phorme set from their own maxes. It reads only and changes nothing, including the plan. It needs a connected Phorme account. Weights are in pounds.
| Parameter | Type | Description |
|---|---|---|
| days | integer | How many days ahead, starting today. Defaults to 7. |
{
"name": "get_planned_sessions",
"title": "Get my planned Phorme sessions",
"description": "Use this when the user asks what their Phorme plan has for today or the coming days, for example \"what is my workout today\". It returns each planned session with its exercises, sets, reps and the loads Phorme set from their own maxes. It reads only and changes nothing, including the plan. It needs a connected Phorme account. Weights are in pounds.",
"inputSchema": {
"type": "object",
"properties": {
"days": {
"type": "integer",
"maximum": 14,
"minimum": 1,
"description": "How many days ahead, starting today. Defaults to 7."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"found"
],
"properties": {
"plan": {
"type": [
"string",
"null"
],
"description": "The name of the plan they follow."
},
"found": {
"type": "boolean"
},
"sessions": {
"type": "array",
"description": "In date order: on, title, status, minutes and exercises with sets, target, load and note."
}
}
},
"annotations": {
"title": "Get my planned Phorme sessions",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "get_my_coaching_business",
"title": "Get my coaching brains",
"description": "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.",
"inputSchema": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"brains",
"console_url"
],
"properties": {
"coach": {
"type": "boolean",
"description": "Whether the account has an active coach plan."
},
"brains": {
"type": "array",
"description": "Each brain with status, member totals, quiet members (labels only), earnings in cents and whether a note may go today."
},
"console_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Get my coaching brains",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| name * | string | The brain's name, as the coach chose it, for example "Hayes Strength". |
| method | string | How the coach trains people, in their own words from this conversation. Never invented. |
| tagline | string | One line on who it is for, in the coach's words. |
| confirmation * | boolean | True only after the coach confirmed the name and method. |
{
"name": "start_my_coaching_brain",
"title": "Start my coaching brain",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"name",
"confirmation"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 2,
"description": "The brain's name, as the coach chose it, for example \"Hayes Strength\"."
},
"method": {
"type": "string",
"maxLength": 4000,
"description": "How the coach trains people, in their own words from this conversation. Never invented."
},
"tagline": {
"type": "string",
"maxLength": 80,
"description": "One line on who it is for, in the coach's words."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach confirmed the name and method."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"brain",
"console_url"
],
"properties": {
"next": {
"type": "string"
},
"brain": {
"type": "object"
},
"console_url": {
"type": "string"
},
"method_saved": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Start my coaching brain",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| title * | string | |
| weeks | integer | How many weeks the program runs. Defaults to 4. |
| brain_id * | string | The brain id from the coach's brains. |
| sessions * | array | One week of sessions; the app repeats and progresses it. |
| confirmation * | boolean | True only after the coach confirmed this save. |
{
"name": "save_program_to_my_coaching_brain",
"title": "Save a program to my coaching brain",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"title",
"sessions",
"confirmation"
],
"properties": {
"title": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"weeks": {
"type": "integer",
"maximum": 24,
"minimum": 1,
"description": "How many weeks the program runs. Defaults to 4."
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id from the coach's brains."
},
"sessions": {
"type": "array",
"items": {
"type": "object",
"required": [
"title",
"exercises"
],
"properties": {
"title": {
"type": "string",
"maxLength": 80,
"minLength": 1
},
"exercises": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"sets"
],
"properties": {
"name": {
"type": "string",
"maxLength": 120,
"minLength": 1
},
"reps": {
"type": [
"integer",
"string"
],
"description": "Reps per set, for example 8 or \"8-10\"."
},
"rest": {
"type": "integer",
"maximum": 900,
"minimum": 0,
"description": "Rest in seconds."
},
"sets": {
"type": "integer",
"maximum": 20,
"minimum": 1
},
"seconds": {
"type": "integer",
"maximum": 3600,
"minimum": 1,
"description": "For timed sets instead of reps."
}
},
"additionalProperties": false
},
"maxItems": 30,
"minItems": 1
}
},
"additionalProperties": false
},
"maxItems": 14,
"minItems": 1,
"description": "One week of sessions; the app repeats and progresses it."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach confirmed this save."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"saved",
"console_url"
],
"properties": {
"draft": {
"type": [
"object",
"null"
]
},
"saved": {
"type": "string"
},
"console_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Save a program to my coaching brain",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| text * | string | The coach's own words, exactly as they approved them. |
| brain_id * | string | |
| confirmation * | boolean | True only after the coach confirmed this exact note. |
{
"name": "send_note_to_my_members",
"title": "Send a note to my members",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"text",
"confirmation"
],
"properties": {
"text": {
"type": "string",
"maxLength": 400,
"minLength": 1,
"description": "The coach's own words, exactly as they approved them."
},
"brain_id": {
"type": "string",
"maxLength": 80
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach confirmed this exact note."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"sent",
"recipients"
],
"properties": {
"sent": {
"type": "boolean"
},
"recipients": {
"type": "integer"
},
"next_allowed_at": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"title": "Send a note to my members",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}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 account that owns the brain; set confirmation to true only after the coach said yes to the rules as read back.
| Parameter | Type | Description |
|---|---|---|
| text | string | How the coach coaches, in their own words from this conversation. Never invented. Sent to read a draft. |
| rules | object | The rules a draft returned, unchanged or as the coach corrected them: method, voice, banned_phrases and share. Sent to save. |
| brain_id * | string | The brain id from the coach's brains. |
| confirmation | boolean | True only after the coach confirmed these rules. Needed to save. |
{
"name": "set_my_brain_rules",
"title": "Set my coaching brain rules",
"description": "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 account that owns the brain; set confirmation to true only after the coach said yes to the rules as read back.",
"inputSchema": {
"type": "object",
"required": [
"brain_id"
],
"properties": {
"text": {
"type": "string",
"maxLength": 4000,
"minLength": 10,
"description": "How the coach coaches, in their own words from this conversation. Never invented. Sent to read a draft."
},
"rules": {
"type": "object",
"description": "The rules a draft returned, unchanged or as the coach corrected them: method, voice, banned_phrases and share. Sent to save."
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id from the coach's brains."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach confirmed these rules. Needed to save."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"saved",
"brain_id",
"rules"
],
"properties": {
"next": {
"type": "string"
},
"said": {
"type": "array",
"description": "One plain line per rule the draft read: key and line."
},
"broke": {
"type": "array",
"items": {
"type": "string"
},
"description": "After a save that broke a plan: which sample and why."
},
"rules": {
"type": "object"
},
"saved": {
"type": "boolean",
"description": "False for a draft, true once saved."
},
"unread": {
"type": "array",
"items": {
"type": "string"
},
"description": "Parts of the coach's words no rule covers yet."
},
"brain_id": {
"type": "string"
},
"preview_ok": {
"type": [
"boolean",
"null"
],
"description": "After a save: whether every sample member still gets a plan that works."
},
"console_url": {
"type": "string"
},
"requires_confirmation": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Set my coaching brain rules",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id from the coach's brains. |
{
"name": "get_my_brain_code",
"title": "Get my coaching brain code",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id from the coach's brains."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"code",
"url"
],
"properties": {
"url": {
"type": "string"
},
"code": {
"type": "string"
},
"brain_id": {
"type": "string"
},
"console_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Get my coaching brain code",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The code as the coach gave it, for example "K7Q2-XR4D", or its phor.me/c/ link. |
| name | string | The name the coach chose for their copy. Needed to copy. |
| confirmation | boolean | True only after the coach confirmed the copy and its name. |
{
"name": "copy_coach_from_code",
"title": "Copy a coaching brain from a code",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"code"
],
"properties": {
"code": {
"type": "string",
"maxLength": 80,
"description": "The code as the coach gave it, for example \"K7Q2-XR4D\", or its phor.me/c/ link."
},
"name": {
"type": "string",
"maxLength": 40,
"minLength": 2,
"description": "The name the coach chose for their copy. Needed to copy."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach confirmed the copy and its name."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"copied"
],
"properties": {
"next": {
"type": "string"
},
"brain": {
"type": "object"
},
"found": {
"type": "boolean"
},
"copied": {
"type": "boolean"
},
"console_url": {
"type": "string"
},
"requires_confirmation": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Copy a coaching brain from a code",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
{
"name": "get_my_coach",
"title": "Get my AI coach",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"brain_id",
"stage",
"next"
],
"properties": {
"next": {
"type": "string"
},
"model": {
"type": [
"object",
"null"
],
"description": "Where the model's voice and method come from (coach_studio, own or none) and a method preview."
},
"score": {
"type": [
"object",
"null"
]
},
"stage": {
"type": "string"
},
"rounds": {
"type": "array"
},
"brain_id": {
"type": "string"
},
"passages": {
"type": "integer"
},
"principles": {
"type": "integer"
},
"console_url": {
"type": "string"
},
"corrections": {
"type": "integer"
}
}
},
"annotations": {
"title": "Get my AI coach",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| principles * | array | |
| confirmation * | boolean | True only after the coach approved exactly these principles. |
{
"name": "set_my_coach_principles",
"title": "Set my coach's principles",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"principles",
"confirmation"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"principles": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"cue": {
"type": "string",
"maxLength": 300
},
"why": {
"type": "string",
"maxLength": 600
},
"name": {
"type": "string",
"maxLength": 120,
"minLength": 2
},
"sources": {
"type": "array",
"items": {
"type": "string",
"maxLength": 500
},
"maxItems": 10,
"description": "Links to the coach's own reels or posts this came from."
}
},
"additionalProperties": false
},
"maxItems": 40,
"minItems": 1
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach approved exactly these principles."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"saved"
],
"properties": {
"next": {
"type": "string"
},
"saved": {
"type": "boolean"
},
"brain_id": {
"type": "string"
},
"principles": {
"type": "integer"
}
}
},
"annotations": {
"title": "Set my coach's principles",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| text * | string | What the coach teaches, in their own words. |
| title * | string | A short name for it, for example "How I cue the hinge". |
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| confirmation * | boolean | True only after the coach said to add this. |
{
"name": "teach_my_coach",
"title": "Teach my coach",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"title",
"text",
"confirmation"
],
"properties": {
"text": {
"type": "string",
"maxLength": 20000,
"minLength": 40,
"description": "What the coach teaches, in their own words."
},
"title": {
"type": "string",
"maxLength": 160,
"minLength": 2,
"description": "A short name for it, for example \"How I cue the hinge\"."
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach said to add this."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"added"
],
"properties": {
"next": {
"type": "string"
},
"added": {
"type": "boolean"
},
"brain_id": {
"type": "string"
},
"passages": {
"type": [
"integer",
"null"
]
}
}
},
"annotations": {
"title": "Teach my coach",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| days | integer | |
| limit | integer | |
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
{
"name": "student_questions",
"title": "Get my students' questions",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id"
],
"properties": {
"days": {
"type": "integer",
"maximum": 90,
"minimum": 1
},
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"questions"
],
"properties": {
"days": {
"type": "integer"
},
"brain_id": {
"type": "string"
},
"questions": {
"type": "array"
}
}
},
"annotations": {
"title": "Get my students' questions",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| question * | string |
{
"name": "ask_my_coach",
"title": "Ask my coach",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"question"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"question": {
"type": "string",
"maxLength": 300,
"minLength": 5
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"answer"
],
"properties": {
"answer": {
"type": "string"
},
"sources": {
"type": "array",
"items": {
"type": "string"
}
},
"brain_id": {
"type": "string"
},
"question": {
"type": "string"
},
"spent_usd": {
"type": [
"number",
"null"
]
}
}
},
"annotations": {
"title": "Ask my coach",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| fix * | string | How the coach would say it, in their own words. |
| answer * | string | |
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| question * | string | |
| confirmation * | boolean | True only after the coach approved this fix. |
{
"name": "correct_my_coach",
"title": "Correct my coach",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"question",
"answer",
"fix",
"confirmation"
],
"properties": {
"fix": {
"type": "string",
"maxLength": 4000,
"minLength": 10,
"description": "How the coach would say it, in their own words."
},
"answer": {
"type": "string",
"maxLength": 6000,
"minLength": 1
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"question": {
"type": "string",
"maxLength": 300,
"minLength": 5
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach approved this fix."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"kept"
],
"properties": {
"kept": {
"type": "boolean"
},
"next": {
"type": "string"
},
"brain_id": {
"type": "string"
},
"corrections": {
"type": [
"integer",
"null"
]
}
}
},
"annotations": {
"title": "Correct my coach",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| marks | array | One per answer, in order: true if it sounds like the coach. |
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| round_id | string | The round to score. Sent with marks. |
| questions | array | Real student questions. Sent to start a round. |
| confirmation | boolean | True only after the coach marked every answer themselves. Needed to save marks. |
{
"name": "rate_my_coach",
"title": "Rate my coach",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id"
],
"properties": {
"marks": {
"type": "array",
"items": {
"type": "boolean"
},
"description": "One per answer, in order: true if it sounds like the coach."
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"round_id": {
"type": "string",
"maxLength": 80,
"description": "The round to score. Sent with marks."
},
"questions": {
"type": "array",
"items": {
"type": "string",
"maxLength": 300,
"minLength": 5
},
"maxItems": 20,
"minItems": 1,
"description": "Real student questions. Sent to start a round."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach marked every answer themselves. Needed to save marks."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"rated"
],
"properties": {
"of": {
"type": "integer"
},
"next": {
"type": "string"
},
"rated": {
"type": "boolean"
},
"answers": {
"type": "array"
},
"brain_id": {
"type": "string"
},
"round_id": {
"type": "string"
},
"spent_usd": {
"type": [
"number",
"null"
]
},
"sounds_like": {
"type": "integer"
}
}
},
"annotations": {
"title": "Rate my coach",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
{
"name": "coach_clients",
"title": "Get my 1:1 clients",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"clients"
],
"properties": {
"clients": {
"type": "array",
"description": "Each client: client_id, name, in_app, paid_until, started_on, next_check_in, reviewed_on, last_trained, kept_28d (\"done of due\") and flags."
},
"brain_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Get my 1:1 clients",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| client_id * | string | The client_id of one of the coach's 1:1 clients, from coach_clients. |
{
"name": "coach_client_brief",
"title": "Get a 1:1 client's brief",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"client_id"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"client_id": {
"type": "string",
"maxLength": 36,
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"client_id"
],
"properties": {
"body": {
"type": "object"
},
"food": {
"type": "object"
},
"goal": {
"type": [
"string",
"null"
]
},
"pain": {
"type": "array"
},
"maxes": {
"type": "array"
},
"never": {
"type": "array"
},
"brain_id": {
"type": "string"
},
"done_28d": {
"type": "array"
},
"plan_14d": {
"type": "array"
},
"schedule": {},
"client_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Get a 1:1 client's brief",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| date | string | The day, YYYY-MM-DD. Today when left out. |
| title * | string | A short name, for example "Lower A". |
| replace | boolean | True to rewrite the workout the coach already put on that day. |
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| client_id * | string | The client_id of one of the coach's 1:1 clients, from coach_clients. |
| exercises * | array | |
| confirmation * | boolean | True only after the coach said yes to this workout for this client. |
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.
| Parameter | Type | Description |
|---|---|---|
| kind * | string | one of ["checkin","form","message"] |
| text * | string | |
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| client_id * | string | The client_id of one of the coach's 1:1 clients, from coach_clients. |
| video_url | string | An https link to a form video, for a form note. |
| confirmation * | boolean | True only after the coach approved this text. |
{
"name": "coach_client_post",
"title": "Send a 1:1 client a check-in or message",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"client_id",
"kind",
"text",
"confirmation"
],
"properties": {
"kind": {
"enum": [
"checkin",
"form",
"message"
],
"type": "string"
},
"text": {
"type": "string",
"maxLength": 4000,
"minLength": 1
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"client_id": {
"type": "string",
"maxLength": 36,
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients."
},
"video_url": {
"type": "string",
"maxLength": 500,
"description": "An https link to a form video, for a form note."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach approved this text."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"posted"
],
"properties": {
"kind": {
"type": "string"
},
"posted": {
"type": "boolean"
},
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Send a 1:1 client a check-in or message",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| brain_id * | string | The brain id of the coach's own build, for example "cameron". |
| client_id * | string | The client_id of one of the coach's 1:1 clients, from coach_clients. |
| next_check_in | string | The next check-in, YYYY-MM-DD. |
{
"name": "coach_client_reviewed",
"title": "Mark a 1:1 client reviewed",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"client_id"
],
"properties": {
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"client_id": {
"type": "string",
"maxLength": 36,
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients."
},
"next_check_in": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The next check-in, YYYY-MM-DD."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
},
"reviewed_on": {
"type": [
"string",
"null"
]
},
"next_check_in": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"title": "Mark a 1:1 client reviewed",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "get_gym_report",
"title": "Get my gym report",
"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": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"places",
"report",
"console_url",
"next"
],
"properties": {
"next": {
"type": "string",
"description": "What to tell the owner next."
},
"claims": {
"type": "array",
"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."
},
"places": {
"type": "array",
"description": "Each place the account lists, as create_or_claim_place returns it."
},
"report": {
"type": "array",
"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."
},
"console_url": {
"type": "string"
},
"visits_unavailable": {
"type": "boolean",
"description": "True when page visits could not be read just now."
}
}
},
"annotations": {
"title": "Get my gym report",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| lat | number | Latitude of the map pin, only to set it by hand. |
| lon | number | Longitude of the map pin, only to set it by hand. |
| city * | string | |
| kind | string | What the place is: gym (also studios and boxes) or a kind of care. |
| line | string | One line on what the place is, in the owner's words. |
| name * | string | The place's name, as the owner wrote it. |
| about | string | One or two plain sentences about the place, in the owner's words. |
| hours | array | Opening hours, one line each, for example ["Mon to Fri, 6 am to 9 pm", "Sat, 8 am to noon"]. |
| phone |
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.
| Parameter | Type | Description |
|---|---|---|
| lat | number | Latitude of the map pin, only to set it by hand. |
| lon | number | Longitude of the map pin, only to set it by hand. |
| city | string | |
| kind | string | What the place is: gym (also studios and boxes) or a kind of care. |
| line | string | One line on what the place is, in the owner's words. |
| name | string | |
| about | string | One or two plain sentences about the place, in the owner's words. |
| hours | array | Opening hours, one line each, for example ["Mon to Fri, 6 am to 9 pm", "Sat, 8 am to noon"]. |
| phone | string | The place's public phone number, as the owner gave it. |
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.
| Parameter | Type | Description |
|---|---|---|
| line | string | One line on the class. |
| title | string | The class name, for example "Barbell basics". |
| action * | string | one of ["list","add","edit","cancel"] |
| minutes | integer | |
| capacity | integer | How many people it takes. |
| class_id | string | For edit and cancel: the class_id from action list. |
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| price_usd | number | 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. |
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.
| Parameter | Type | Description |
|---|---|---|
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to putting this place live. |
| request_email | string | Where booking confirmations and requests are emailed. Never shown in public. |
{
"name": "publish_place",
"title": "Put my place live",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to putting this place live."
},
"request_email": {
"type": "string",
"maxLength": 200,
"description": "Where booking confirmations and requests are emailed. Never shown in public."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place",
"next"
],
"properties": {
"next": {
"type": "string"
},
"place": {
"type": [
"object",
"null"
],
"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)."
}
}
},
"annotations": {
"title": "Put my place live",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to taking this place down. |
{
"name": "unpublish_place",
"title": "Take my place down",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to taking this place down."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place",
"next"
],
"properties": {
"next": {
"type": "string"
},
"place": {
"type": [
"object",
"null"
],
"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)."
}
}
},
"annotations": {
"title": "Take my place down",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to starting a coaching brain for this place. |
| days_per_week | integer | Training days a week the starting program is built for. Default 3. |
{
"name": "start_gym_brain",
"title": "Start my gym's coaching brain",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to starting a coaching brain for this place."
},
"days_per_week": {
"type": "integer",
"maximum": 7,
"minimum": 1,
"description": "Training days a week the starting program is built for. Default 3."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place_id",
"brain_id",
"next"
],
"properties": {
"next": {
"type": "string"
},
"open": {
"type": "array",
"items": {
"type": "string"
},
"description": "Publish checks still open, when it stayed a draft."
},
"brain_id": {
"type": [
"string",
"null"
]
},
"place_id": {
"type": "string"
},
"published": {
"type": [
"boolean",
"null"
]
},
"builder_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Start my gym's coaching brain",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| on * | boolean | true to cover members, false to stop. |
| cap | integer | Most members covered at this place. Default 50. |
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to this change to member cover. |
{
"name": "set_member_cover",
"title": "Cover my members",
"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": {
"type": "object",
"required": [
"place_id",
"on",
"confirmation"
],
"properties": {
"on": {
"type": "boolean",
"description": "true to cover members, false to stop."
},
"cap": {
"type": "integer",
"maximum": 50,
"minimum": 0,
"description": "Most members covered at this place. Default 50."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to this change to member cover."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place_id",
"next"
],
"properties": {
"next": {
"type": "string"
},
"cover": {
"type": [
"object",
"null"
],
"description": "on, plan, cap and members covered."
},
"place_id": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"title": "Cover my members",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| place_id | string | Only this place. Leave out for all of the owner's places. |
{
"name": "list_held_requests",
"title": "List asks waiting for my gym",
"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": {
"type": "object",
"properties": {
"place_id": {
"type": "string",
"maxLength": 80,
"description": "Only this place. Leave out for all of the owner's places."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"held",
"next"
],
"properties": {
"held": {
"type": "array",
"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)."
},
"next": {
"type": "string"
}
}
},
"annotations": {
"title": "List asks waiting for my gym",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| note | string | For decline: a short note to the member, in the owner's words. |
| answer * | string | one of ["accept","decline"] |
| hold_id * | string | The hold_id from list_held_requests. |
| confirmation * | boolean | Set to true only after the owner said yes to this answer. |
{
"name": "answer_held_request",
"title": "Answer an ask waiting for my gym",
"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": {
"type": "object",
"required": [
"hold_id",
"answer",
"confirmation"
],
"properties": {
"note": {
"type": "string",
"maxLength": 200,
"description": "For decline: a short note to the member, in the owner's words."
},
"answer": {
"enum": [
"accept",
"decline"
],
"type": "string"
},
"hold_id": {
"type": "string",
"format": "uuid",
"description": "The hold_id from list_held_requests."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to this answer."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"hold",
"next"
],
"properties": {
"hold": {
"type": [
"object",
"null"
],
"description": "id, outcome (released, declined or expired) and booking_status."
},
"next": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"title": "Answer an ask waiting for my gym",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| via | string | Where the code goes, when the place has both on file. Default email. |
| place_id * | string | The place_id of the listed place, from find_gym_class. |
| confirmation * | boolean | Set to true only after the owner said yes to claiming this place. |
{
"name": "claim_place",
"title": "Claim a place nobody runs",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"via": {
"enum": [
"email",
"phone"
],
"type": "string",
"description": "Where the code goes, when the place has both on file. Default email."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of the listed place, from find_gym_class."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to claiming this place."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"claim",
"next"
],
"properties": {
"next": {
"type": "string"
},
"claim": {
"type": "object",
"description": "claim_id, place_id, place_name, status (code_sent or review), channel, sent_to (masked), expires_at."
}
}
},
"annotations": {
"title": "Claim a place nobody runs",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| code * | string | The six digit code, as the owner gave it. |
| claim_id * | string | The claim_id from claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to entering this code. |
{
"name": "verify_place_claim",
"title": "Enter my place claim code",
"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": {
"type": "object",
"required": [
"claim_id",
"code",
"confirmation"
],
"properties": {
"code": {
"type": "string",
"maxLength": 12,
"minLength": 6,
"description": "The six digit code, as the owner gave it."
},
"claim_id": {
"type": "string",
"format": "uuid",
"description": "The claim_id from claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to entering this code."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"claim",
"next"
],
"properties": {
"next": {
"type": "string"
},
"claim": {
"type": [
"object",
"null"
]
},
"place": {
"type": [
"object",
"null"
],
"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)."
}
}
},
"annotations": {
"title": "Enter my place claim code",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| phone | string | For invite: the member's phone with its country code, for example +15125550100. |
| action * | string | one of ["list","invite","approve","remove"] |
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| member_id | string | For approve and remove: the member_id from action list. |
| confirmation | boolean | Set to true only after the owner said yes to this change to who is covered. |
{
"name": "cover_member",
"title": "Cover one member",
"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": {
"type": "object",
"required": [
"place_id",
"action"
],
"properties": {
"phone": {
"type": "string",
"maxLength": 30,
"description": "For invite: the member's phone with its country code, for example +15125550100."
},
"action": {
"enum": [
"list",
"invite",
"approve",
"remove"
],
"type": "string"
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"member_id": {
"type": "string",
"format": "uuid",
"description": "For approve and remove: the member_id from action list."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to this change to who is covered."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place_id",
"next"
],
"properties": {
"next": {
"type": "string"
},
"cover": {
"type": [
"object",
"null"
],
"description": "on, plan, state (active, needs_plan or off), cap, covered, asked, invited and left."
},
"member": {
"type": [
"object",
"null"
],
"description": "The member changed, as in members."
},
"members": {
"type": "array",
"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."
},
"place_id": {
"type": "string"
},
"plan_url": {
"type": [
"string",
"null"
],
"description": "The plan on phor.me, a price-free link, when the place is not on it."
}
}
},
"annotations": {
"title": "Cover one member",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}
}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.
| Parameter | Type | Description |
|---|---|---|
| name | string | The coach's name members see. |
| color | string | The brand colour, as #rrggbb. |
| voice | string | How the coach talks to members, in the owner's words. |
| method | string | How the gym trains: the principles the coach plans by. |
| tagline | string | One line under the name. |
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to these changes to the coaching brain. |
| cover_image_url | string | An https link to the cover photo. |
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.
| Parameter | Type | Description |
|---|---|---|
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to publishing the coaching brain. |
{
"name": "publish_gym_brain",
"title": "Publish my gym's coaching brain",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to publishing the coaching brain."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place_id",
"brain_id",
"published",
"next"
],
"properties": {
"next": {
"type": "string"
},
"checks": {
"type": "array",
"description": "label, ok and detail for each publish check."
},
"brain_id": {
"type": "string"
},
"place_id": {
"type": "string"
},
"published": {
"type": "boolean"
}
}
},
"annotations": {
"title": "Publish my gym's coaching brain",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| send_to * | string | An email, or a phone with its country code for texts, for example +15125550100. "" for the account's own. |
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| confirmation * | boolean | Set to true only after the owner said yes to where booking notices go. |
{
"name": "set_booking_notices",
"title": "Set where booking notices go",
"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": {
"type": "object",
"required": [
"place_id",
"send_to",
"confirmation"
],
"properties": {
"send_to": {
"type": "string",
"maxLength": 200,
"description": "An email, or a phone with its country code for texts, for example +15125550100. \"\" for the account's own."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to where booking notices go."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place",
"next"
],
"properties": {
"next": {
"type": "string"
},
"place": {
"type": [
"object",
"null"
],
"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)."
}
}
},
"annotations": {
"title": "Set where booking notices go",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "get_gym_billing_link",
"title": "Get my gym billing link",
"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": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"console_url",
"next"
],
"properties": {
"next": {
"type": "string"
},
"billing_url": {
"type": [
"string",
"null"
],
"description": "Stripe's own billing page, or null when it opens from the console."
},
"console_url": {
"type": "string",
"description": "The Plan tab of the console on phor.me."
}
}
},
"annotations": {
"title": "Get my gym billing link",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
No parameters.
{
"name": "get_payouts",
"title": "Get my payouts",
"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": {
"type": "object",
"properties": {},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"payouts",
"console_url",
"next"
],
"properties": {
"next": {
"type": "string"
},
"balance": {
"type": [
"object",
"null"
],
"description": "earned_cents, paid_cents, going_out_cents, available_cents, min_payout_cents and payouts_ready. Null when it is read in the console."
},
"payouts": {
"type": "array",
"description": "payout_id, amount_cents, status (pending, paid or failed) and created_at, newest first."
},
"console_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Get my payouts",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| country | string | The two letter country of the bank, for example US. Default US. |
| confirmation * | boolean | Set to true only after the owner said yes to setting up payouts. |
{
"name": "get_payout_setup_link",
"title": "Get my payout setup link",
"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": {
"type": "object",
"required": [
"confirmation"
],
"properties": {
"country": {
"type": "string",
"maxLength": 2,
"minLength": 2,
"description": "The two letter country of the bank, for example US. Default US."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to setting up payouts."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"console_url",
"next"
],
"properties": {
"next": {
"type": "string"
},
"setup_url": {
"type": [
"string",
"null"
],
"description": "Stripe's own form, or null when it opens from the console."
},
"console_url": {
"type": "string"
}
}
},
"annotations": {
"title": "Get my payout setup link",
"readOnlyHint": false,
"openWorldHint": true,
"idempotentHint": true,
"destructiveHint": false
}
}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.
| Parameter | Type | Description |
|---|---|---|
| email * | string | The owner's email, or "" to clear it. |
| confirmation * | boolean | Set to true only after the owner said yes to this email. |
{
"name": "set_owner_email",
"title": "Set my owner email",
"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": {
"type": "object",
"required": [
"email",
"confirmation"
],
"properties": {
"email": {
"type": "string",
"maxLength": 200,
"description": "The owner's email, or \"\" to clear it."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to this email."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"owner_email",
"next"
],
"properties": {
"next": {
"type": "string"
},
"owner_email": {
"type": [
"string",
"null"
]
}
}
},
"annotations": {
"title": "Set my owner email",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}Use this when the user asks for an existing coach-built training program for their sport or goal, for example a structured volleyball program. It returns up to five matching Phorme programs, each with a sample session from its first week that the user can try now and where to find it in the Phorme app. Every result is a program a member can train in the Phorme app today. It changes nothing, shows no prices and starts no purchase. Results are ordered by fit and never by commission.
| Parameter | Type | Description |
|---|---|---|
| goal | string | Training goal, for example "build strength". |
| sport | string | |
| creator | string | Coach or creator name, only if the user named one. |
| equipment | array | Equipment the user has. |
| experience | string | Training level, for example "beginner". |
| schedule_days | integer | Training days per week. |
| duration_weeks | integer |
{
"name": "search_phorme_programs",
"title": "Search Phorme programs",
"description": "Use this when the user asks for an existing coach-built training program for their sport or goal, for example a structured volleyball program. It returns up to five matching Phorme programs, each with a sample session from its first week that the user can try now and where to find it in the Phorme app. Every result is a program a member can train in the Phorme app today. It changes nothing, shows no prices and starts no purchase. Results are ordered by fit and never by commission.",
"inputSchema": {
"type": "object",
"properties": {
"goal": {
"type": "string",
"maxLength": 200,
"description": "Training goal, for example \"build strength\"."
},
"sport": {
"type": "string",
"maxLength": 80
},
"creator": {
"type": "string",
"maxLength": 120,
"description": "Coach or creator name, only if the user named one."
},
"equipment": {
"type": "array",
"items": {
"type": "string",
"maxLength": 60
},
"maxItems": 20,
"description": "Equipment the user has."
},
"experience": {
"type": "string",
"maxLength": 40,
"description": "Training level, for example \"beginner\"."
},
"schedule_days": {
"type": "integer",
"maximum": 7,
"minimum": 1,
"description": "Training days per week."
},
"duration_weeks": {
"type": "integer",
"maximum": 52,
"minimum": 1
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"programs",
"limits"
],
"properties": {
"limits": {
"type": "array",
"items": {
"type": "string"
}
},
"programs": {
"type": "array",
"description": "Matching programs, best fit first, each with title, coach, weeks, sample_session and access."
}
}
},
"annotations": {
"title": "Search Phorme programs",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Use this when the user picked one Phorme program and wants its details. It returns the program, every session of its first week, where to find it in the Phorme app, and a link to a page that describes it. It reads only, shows no prices and starts no purchase.
| Parameter | Type | Description |
|---|---|---|
| program_id * | string | The program id returned by search_phorme_programs. |
{
"name": "get_phorme_program",
"title": "Get a Phorme program",
"description": "Use this when the user picked one Phorme program and wants its details. It returns the program, every session of its first week, where to find it in the Phorme app, and a link to a page that describes it. It reads only, shows no prices and starts no purchase.",
"inputSchema": {
"type": "object",
"required": [
"program_id"
],
"properties": {
"program_id": {
"type": "string",
"maxLength": 160,
"description": "The program id returned by search_phorme_programs."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"id",
"title",
"first_week",
"info_url",
"access"
],
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"access": {
"type": "string"
},
"info_url": {
"type": "string",
"description": "A page that describes the program. It has nothing to buy on it."
},
"first_week": {
"type": "array",
"description": "Every session of the first week with its exercises and demo links."
}
}
},
"annotations": {
"title": "Get a Phorme program",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}
}Goal: find_coaching_brain; 1:1: find_personal_coach. Program: search_phorme_programs. Sport: preview_sport_week. Race: find_races, plan_for_race. Workout: preview_workout_import, find_exercise_swap. Log: get_training_history, get_lift_progress, get_planned_sessions. Show warnings; confirm writes; share links, then render_training_import. Use only tool output; invent no ids, dates, loads. No prices.
Names, descriptions and schemas were written by the server and are shown as data.
Pattern matches on what the server declares. They show what it says it can do, not what it does.
None yet. Changes appear after a server's second daily check.
{
"name": "coach_client_workout",
"title": "Put a workout on a 1:1 client's day",
"description": "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.",
"inputSchema": {
"type": "object",
"required": [
"brain_id",
"client_id",
"title",
"exercises",
"confirmation"
],
"properties": {
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "The day, YYYY-MM-DD. Today when left out."
},
"title": {
"type": "string",
"maxLength": 80,
"minLength": 2,
"description": "A short name, for example \"Lower A\"."
},
"replace": {
"type": "boolean",
"description": "True to rewrite the workout the coach already put on that day."
},
"brain_id": {
"type": "string",
"maxLength": 80,
"description": "The brain id of the coach's own build, for example \"cameron\"."
},
"client_id": {
"type": "string",
"maxLength": 36,
"description": "The client_id of one of the coach's 1:1 clients, from coach_clients."
},
"exercises": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"sets"
],
"properties": {
"name": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"note": {
"type": "string",
"maxLength": 140,
"description": "A tempo, drop set or cue, on the last set."
},
"reps": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"sets": {
"type": "integer",
"maximum": 10,
"minimum": 1
},
"group": {
"type": "string",
"maxLength": 12,
"description": "The same label on two movements makes them a superset."
},
"meters": {
"type": "integer",
"maximum": 10000,
"minimum": 5,
"description": "A carry, sled or run by distance, instead of reps."
},
"rest_s": {
"type": "integer",
"maximum": 300,
"minimum": 0
},
"load_lb": {
"type": "number",
"maximum": 2000,
"minimum": 0
},
"reps_to": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "The top of a rep range."
},
"seconds": {
"type": "integer",
"maximum": 600,
"minimum": 10,
"description": "A hold or timed set, instead of reps."
}
},
"additionalProperties": false
},
"maxItems": 20,
"minItems": 1
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "True only after the coach said yes to this workout for this client."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"written"
],
"properties": {
"date": {
"type": [
"string",
"null"
]
},
"next": {
"type": "string"
},
"title": {
"type": "string"
},
"result": {},
"written": {
"type": "boolean"
},
"brain_id": {
"type": "string"
},
"client_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Put a workout on a 1:1 client's day",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}| string |
| The place's public phone number, as the owner gave it. |
| prices | ["string","array"] | 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. |
| address | string | The street address. The map pin is found from it. |
| country * | string | For example "United States". |
| website | string | The place's own website, starting with https://. |
| book_url | string | The place's own booking page, starting with https://. |
| timezone | string | The place's IANA time zone, for example "America/Chicago". |
| book_label | string | The words on its booking button, for example "Book a class". |
| confirmation * | boolean | Set to true only after the owner said yes to listing this place. |
| request_email | string | Where booking confirmations and requests are emailed. Never shown in public. |
{
"name": "create_or_claim_place",
"title": "List or claim my place",
"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": {
"type": "object",
"required": [
"name",
"city",
"country",
"confirmation"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude of the map pin, only to set it by hand."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude of the map pin, only to set it by hand."
},
"city": {
"type": "string",
"maxLength": 60,
"minLength": 1
},
"kind": {
"enum": [
"gym",
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string",
"description": "What the place is: gym (also studios and boxes) or a kind of care."
},
"line": {
"type": "string",
"maxLength": 140,
"description": "One line on what the place is, in the owner's words."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "The place's name, as the owner wrote it."
},
"about": {
"type": "string",
"maxLength": 600,
"description": "One or two plain sentences about the place, in the owner's words."
},
"hours": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
},
"maxItems": 8,
"description": "Opening hours, one line each, for example [\"Mon to Fri, 6 am to 9 pm\", \"Sat, 8 am to noon\"]."
},
"phone": {
"type": "string",
"maxLength": 30,
"description": "The place's public phone number, as the owner gave it."
},
"prices": {
"type": [
"string",
"array"
],
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "object",
"required": [
"label"
],
"properties": {
"note": {
"type": "string",
"maxLength": 120
},
"label": {
"type": "string",
"maxLength": 60,
"description": "For example \"Drop-in\" or \"Ten class pack\"."
},
"amount": {
"type": "number",
"maximum": 100000,
"minimum": 0,
"description": "In dollars."
},
"period": {
"enum": [
"drop_in",
"day",
"week",
"month",
"year",
"class_pack",
"other"
],
"type": "string"
},
"amount_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 0
}
},
"additionalProperties": false
}
]
},
"maxItems": 12,
"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."
},
"address": {
"type": "string",
"maxLength": 200,
"description": "The street address. The map pin is found from it."
},
"country": {
"type": "string",
"maxLength": 60,
"minLength": 1,
"description": "For example \"United States\"."
},
"website": {
"type": "string",
"maxLength": 300,
"description": "The place's own website, starting with https://."
},
"book_url": {
"type": "string",
"maxLength": 300,
"description": "The place's own booking page, starting with https://."
},
"timezone": {
"type": "string",
"maxLength": 60,
"description": "The place's IANA time zone, for example \"America/Chicago\"."
},
"book_label": {
"type": "string",
"maxLength": 40,
"description": "The words on its booking button, for example \"Book a class\"."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to listing this place."
},
"request_email": {
"type": "string",
"maxLength": 200,
"description": "Where booking confirmations and requests are emailed. Never shown in public."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"status",
"place",
"next"
],
"properties": {
"next": {
"type": "string",
"description": "What to tell the owner next."
},
"place": {
"type": [
"object",
"null"
],
"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)."
},
"status": {
"enum": [
"created",
"existing"
],
"type": "string"
}
}
},
"annotations": {
"title": "List or claim my place",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}
}| prices | ["string","array"] | 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. |
| address | string | The street address. The map pin is found from it. |
| country | string |
| website | string | The place's own website, starting with https://. |
| book_url | string | The place's own booking page, starting with https://. |
| place_id * | string | The place_id of one of the owner's places, from get_gym_report or create_or_claim_place. |
| timezone | string | The place's IANA time zone, for example "America/Chicago". |
| book_label | string | The words on its booking button, for example "Book a class". |
| confirmation * | boolean | Set to true only after the owner said yes to these changes. |
| request_email | string | Where booking confirmations and requests are emailed. Never shown in public. |
{
"name": "update_place",
"title": "Update my place",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude of the map pin, only to set it by hand."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude of the map pin, only to set it by hand."
},
"city": {
"type": "string",
"maxLength": 60
},
"kind": {
"enum": [
"gym",
"physio",
"sports_medicine",
"chiropractic",
"massage",
"recovery"
],
"type": "string",
"description": "What the place is: gym (also studios and boxes) or a kind of care."
},
"line": {
"type": "string",
"maxLength": 140,
"description": "One line on what the place is, in the owner's words."
},
"name": {
"type": "string",
"maxLength": 60,
"minLength": 2
},
"about": {
"type": "string",
"maxLength": 600,
"description": "One or two plain sentences about the place, in the owner's words."
},
"hours": {
"type": "array",
"items": {
"type": "string",
"maxLength": 80
},
"maxItems": 8,
"description": "Opening hours, one line each, for example [\"Mon to Fri, 6 am to 9 pm\", \"Sat, 8 am to noon\"]."
},
"phone": {
"type": "string",
"maxLength": 30,
"description": "The place's public phone number, as the owner gave it."
},
"prices": {
"type": [
"string",
"array"
],
"items": {
"anyOf": [
{
"type": "string",
"maxLength": 120
},
{
"type": "object",
"required": [
"label"
],
"properties": {
"note": {
"type": "string",
"maxLength": 120
},
"label": {
"type": "string",
"maxLength": 60,
"description": "For example \"Drop-in\" or \"Ten class pack\"."
},
"amount": {
"type": "number",
"maximum": 100000,
"minimum": 0,
"description": "In dollars."
},
"period": {
"enum": [
"drop_in",
"day",
"week",
"month",
"year",
"class_pack",
"other"
],
"type": "string"
},
"amount_cents": {
"type": "integer",
"maximum": 10000000,
"minimum": 0
}
},
"additionalProperties": false
}
]
},
"maxItems": 12,
"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."
},
"address": {
"type": "string",
"maxLength": 200,
"description": "The street address. The map pin is found from it."
},
"country": {
"type": "string",
"maxLength": 60
},
"website": {
"type": "string",
"maxLength": 300,
"description": "The place's own website, starting with https://."
},
"book_url": {
"type": "string",
"maxLength": 300,
"description": "The place's own booking page, starting with https://."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"timezone": {
"type": "string",
"maxLength": 60,
"description": "The place's IANA time zone, for example \"America/Chicago\"."
},
"book_label": {
"type": "string",
"maxLength": 40,
"description": "The words on its booking button, for example \"Book a class\"."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to these changes."
},
"request_email": {
"type": "string",
"maxLength": 200,
"description": "Where booking confirmations and requests are emailed. Never shown in public."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place",
"next"
],
"properties": {
"next": {
"type": "string"
},
"place": {
"type": [
"object",
"null"
],
"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)."
}
}
},
"annotations": {
"title": "Update my place",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}| starts_at | string | When it starts: "YYYY-MM-DDTHH:MM" in the place's own time, or an ISO time with its offset. |
| confirmation | boolean | Set to true only after the owner said yes to this class change. |
{
"name": "set_class_schedule",
"title": "Set my class schedule",
"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": {
"type": "object",
"required": [
"place_id",
"action"
],
"properties": {
"line": {
"type": "string",
"maxLength": 140,
"description": "One line on the class."
},
"title": {
"type": "string",
"maxLength": 60,
"minLength": 2,
"description": "The class name, for example \"Barbell basics\"."
},
"action": {
"enum": [
"list",
"add",
"edit",
"cancel"
],
"type": "string"
},
"minutes": {
"type": "integer",
"maximum": 480,
"minimum": 5
},
"capacity": {
"type": "integer",
"maximum": 500,
"minimum": 1,
"description": "How many people it takes."
},
"class_id": {
"type": "string",
"format": "uuid",
"description": "For edit and cancel: the class_id from action list."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"price_usd": {
"type": "number",
"maximum": 1000,
"minimum": 0,
"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."
},
"starts_at": {
"type": "string",
"maxLength": 40,
"description": "When it starts: \"YYYY-MM-DDTHH:MM\" in the place's own time, or an ISO time with its offset."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to this class change."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place_id",
"next"
],
"properties": {
"next": {
"type": "string"
},
"class": {
"type": [
"object",
"null"
]
},
"classes": {
"type": "array",
"description": "class_id, title, line, starts (local), starts_at, minutes, capacity, booked, paid, status."
},
"place_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Set my class schedule",
"readOnlyHint": false,
"openWorldHint": true,
"destructiveHint": true
}
}{
"name": "update_gym_brain",
"title": "Change my gym's coaching brain",
"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": {
"type": "object",
"required": [
"place_id",
"confirmation"
],
"properties": {
"name": {
"type": "string",
"maxLength": 40,
"minLength": 2,
"description": "The coach's name members see."
},
"color": {
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$",
"description": "The brand colour, as #rrggbb."
},
"voice": {
"type": "string",
"maxLength": 4000,
"description": "How the coach talks to members, in the owner's words."
},
"method": {
"type": "string",
"maxLength": 4000,
"description": "How the gym trains: the principles the coach plans by."
},
"tagline": {
"type": "string",
"maxLength": 80,
"description": "One line under the name."
},
"place_id": {
"type": "string",
"maxLength": 80,
"description": "The place_id of one of the owner's places, from get_gym_report or create_or_claim_place."
},
"confirmation": {
"type": "boolean",
"const": true,
"description": "Set to true only after the owner said yes to these changes to the coaching brain."
},
"cover_image_url": {
"type": "string",
"maxLength": 500,
"description": "An https link to the cover photo."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"required": [
"place_id",
"brain_id",
"next"
],
"properties": {
"lint": {
"type": "array",
"description": "Lines in the voice or method to look at before members read them."
},
"next": {
"type": "string"
},
"brain": {
"type": [
"object",
"null"
],
"description": "name, tagline, look, persona (the voice), method, status and publish_version."
},
"brain_id": {
"type": "string"
},
"place_id": {
"type": "string"
}
}
},
"annotations": {
"title": "Change my gym's coaching brain",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}
}