Skip to main content

Create Location

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

WRITEghl.create_location
  • Contract tier: agent_ready
  • Risk: write
  • Catalog version: 2026-07-12.2
  • Descriptor hash: fae2bf0eba89dfdd5d4e0c06b3e95eb2a45ba035446609907019f6b050b12108

Create a new sub-account/location in GoHighLevel (Agency Pro plan required) GHL category: Launchpad. This writes to GoHighLevel and may change account data.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-create-location-example",
"method": "tools/call",
"params": {
"name": "ghl.create_location",
"arguments": {
"name": "name_example",
"companyId": "companyId_123",
"city": "city_example",
"phone": "phone_example",
"state": "state_example",
"address": "address_example",
"country": "country_example",
"website": "website_example",
"tenantId": "tenantId_123",
"timezone": "timezone_example"
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"name",
"companyId"
],
"properties": {
"city": {
"type": "string",
"description": "City where business is located"
},
"name": {
"type": "string",
"description": "Name of the sub-account/location"
},
"phone": {
"type": "string",
"description": "Phone number with country code (e.g., +1410039940)"
},
"state": {
"type": "string",
"description": "State where business operates"
},
"address": {
"type": "string",
"description": "Business address"
},
"country": {
"type": "string",
"description": "2-letter country code (e.g., US, CA, GB)"
},
"website": {
"type": "string",
"description": "Business website URL"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"timezone": {
"type": "string",
"description": "Business timezone (e.g., US/Central)"
},
"companyId": {
"type": "string",
"description": "Company/Agency ID"
},
"postalCode": {
"type": "string",
"description": "Postal/ZIP code"
},
"snapshotId": {
"type": "string",
"description": "Snapshot ID to load into the location"
},
"prospectInfo": {
"type": "object",
"required": [
"firstName",
"lastName",
"email"
],
"properties": {
"email": {
"type": "string",
"format": "email",
"description": "Prospect email"
},
"lastName": {
"type": "string",
"description": "Prospect last name"
},
"firstName": {
"type": "string",
"description": "Prospect first name"
}
},
"description": "Prospect information for the location"
}
}
}

Output Schema

{
"type": "object",
"required": [
"ok",
"data",
"error",
"meta"
],
"properties": {
"ok": {
"type": "boolean",
"description": "Whether the GHL MCP operation completed successfully."
},
"data": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "array",
"items": {}
},
{
"type": "string"
},
{
"type": "number"
},
{
"type": "boolean"
},
{
"type": "null"
}
],
"description": "Tool-specific GHL or local navigation result when ok is true."
},
"meta": {
"type": "object",
"description": "Safe execution, routing, and timing metadata.",
"additionalProperties": true
},
"error": {
"anyOf": [
{
"type": "object",
"additionalProperties": true
},
{
"type": "null"
}
],
"description": "Safe error details when ok is false; credential values are never returned."
}
},
"description": "Normalized GHL MCP response envelope.",
"additionalProperties": false
}

Code Examples

curl -X POST 'https://portal.madpanda3d.com/api/mcp' \
-H 'Authorization: Bearer mad_live_***' \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "ghl-create-location-example",
"method": "tools/call",
"params": {
"name": "ghl.create_location",
"arguments": {
"name": "name_example",
"companyId": "companyId_123",
"city": "city_example",
"phone": "phone_example",
"state": "state_example",
"address": "address_example",
"country": "country_example",
"website": "website_example",
"tenantId": "tenantId_123",
"timezone": "timezone_example"
}
}
}'

Example Responses

{
"ok": true,
"message": "Tool ghl.create_location executed successfully.",
"note": "Response shape varies by MCP tool. Inspect live responses for exact fields."
}