Skip to main content

Phone System List Active Numbers

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READghl.phone_system_list_active_numbers
  • Contract tier: agent_ready
  • Risk: read
  • Catalog version: 2026-07-12.2
  • Descriptor hash: f8d28e6fff036b499e24d063f6318e802c483e04170996876125beebc7ef32ea

List active GHL Phone System numbers for the authenticated location. GHL category: Conversations / Phone System. This read-only operation can expose business phone routing details. Phone numbers are masked by default; set includePhoneNumbers true only when exact numbers are explicitly needed.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-phone-system-list-active-numbers-example",
"method": "tools/call",
"params": {
"name": "ghl.phone_system_list_active_numbers",
"arguments": {
"query": {},
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false,
"includePhoneNumbers": false,
"includeRoutingDetails": false
}
}
}

Arguments Schema

{
"type": "object",
"properties": {
"query": {
"type": "object",
"description": "Optional GHL-supported query parameters for this official Phone System endpoint, such as documented filtering or pagination fields.",
"additionalProperties": true
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"locationId": {
"type": "string",
"description": "Optional GHL location ID. If provided, it must match the authenticated runtime location; otherwise the runtime location is used for the official Phone System endpoint."
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
},
"includePhoneNumbers": {
"type": "boolean",
"default": false,
"description": "Defaults to false. When false, masks exact phone numbers in output. Set true only when the user explicitly needs exact phone numbers for routing or purchase decisions."
},
"includeRoutingDetails": {
"type": "boolean",
"default": false,
"description": "Defaults to false. When false, strips provider SIDs, friendly names, forwarding numbers, linked users, and routing service configuration. Set true only when the user explicitly needs full phone routing details."
}
},
"additionalProperties": false
}

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-phone-system-list-active-numbers-example",
"method": "tools/call",
"params": {
"name": "ghl.phone_system_list_active_numbers",
"arguments": {
"query": {},
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false,
"includePhoneNumbers": false,
"includeRoutingDetails": false
}
}
}'

Example Responses

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