Skip to content

add_location

Add a place the business runs sessions.

Authentication required

Endpoint

endpoint
https://business.sessions.website/@<handle>/api/mcp

When to use it

  • For the "add a location" setup step, or a new studio.

Parameters

namestringrequired

e.g. "Main studio".

addressstringrequired

The full address on one line.

streetstringoptional

citystringoptional

regionstringoptional

Province or state.

postalCodestringoptional

countrystringoptional

ISO country code, e.g. "CA".

descriptionstringoptional

isPrimarybooleanoptional

Make 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.

See also