Skip to main content
Glama

Publish my gym's coaching brain

publish_gym_brain
Idempotent

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.

Input Schema

NameRequiredDescriptionDefault
place_idYesThe place_id of one of the owner's places, from get_gym_report or create_or_claim_place.
confirmationYesSet to true only after the owner said yes to publishing the coaching brain.

Output Schema

NameRequiredDescriptionDefault
nextYes
checksNolabel, ok and detail for each publish check.
brain_idYes
place_idYes
publishedYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.7/5.0
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Adds substantial context beyond the annotations: it requires explicit owner confirmation, reuses the same publish checks as the console, and describes the failure path ('when one fails it says what is left and members see no change') — i.e. partial publishes do not leak to members. That matches the idempotentHint=true / destructiveHint=false annotations without contradicting them.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four short sentences ordered by importance: trigger, the confirmation gate, publish behavior/failure semantics, then the account prerequisite. No filler or restatement of the tool name.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described. Everything an agent needs to call this correctly — when to invoke, the mandatory confirmation workflow, what happens on check failure, and the account prerequisite — is present.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters are already documented; the baseline would be 3. The description adds real operational meaning on top: it explains that 'confirmation' must reflect a human yes ('Confirm with the owner first, and set confirmation to true only after they said yes'), which the const:true schema alone cannot convey, and ties place_id to the owner's places.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb (publishes) and resource (the place's coaching brain) plus the observable outcome: changes reach members. The granularity — a brain belonging to a specific place — distinguishes it from nearby siblings like publish_place, update_gym_brain and start_gym_brain.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives a concrete trigger ('when an owner wants the changes to their place's coaching brain to reach members, for example after its voice, look or programs changed') and a prerequisite (a connected Phorme account that owns the place). It does not explicitly say when not to publish or name an alternative tool, so it falls just short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.