add_location
Add a place the business runs sessions.
Authentication required
Endpoint
endpoint
https://business.sessions.website/@<handle>/api/mcpWhen to use it
For the "add a location" setup step, or a new studio.
Parameters
namestringrequirede.g. "Main studio".
addressstringrequiredThe full address on one line.
streetstringoptionalcitystringoptionalregionstringoptionalProvince or state.
postalCodestringoptionalcountrystringoptionalISO country code, e.g. "CA".
descriptionstringoptionalisPrimarybooleanoptionalMake this the business's main location.
Returns
The location with its id, or per-field errors.
Example
POST this to the endpoint above.
JSON-RPC
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "add_location",
"arguments": {
"name": "Glebe studio",
"address": "800 Bank St, Ottawa, ON K1S 3V8",
"country": "CA"
}
}
}content
Added location "Glebe studio" [<id>].What the agent is told
The description the model reads when deciding whether to call this. It is the only thing that decides whether the tool fires at the right moment, so it is worth knowing what it says.
add_location
Add a place the business runs sessions: a name and an address, optionally split into street, city, region, postal code and country for maps and taxes.