Skip to main content

Audit Inventory Snapshot

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

READghl.audit_inventory_snapshot
  • Contract tier: legacy
  • Risk: read
  • Catalog version: 2026-07-12.2
  • Descriptor hash: 1f1aa1f7d58ce5504d0ba07c4c254c80178531cabb73a7d15fd7dd1833b2527f

Return raw, normalized, and QA-scored inventory across core assets. GHL category: Reporting. This is a local MCP diagnostic/helper operation and does not call GHL.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-audit-inventory-snapshot-example",
"method": "tools/call",
"params": {
"name": "ghl.audit_inventory_snapshot",
"arguments": {
"locationId": "locationId_123",
"tenantId": "tenantId_123",
"includeQa": false,
"includeRaw": false,
"maxFunnels": 1,
"strictTenant": false,
"funnelPageSize": 1,
"maxFunnelPages": 1,
"includeNormalized": false,
"includeFunnelPages": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"locationId"
],
"properties": {
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"includeQa": {
"type": "boolean",
"default": true,
"description": "Include QA scoring and flags (default: true)."
},
"includeRaw": {
"type": "boolean",
"default": true,
"description": "Include raw API payloads (default: true)."
},
"locationId": {
"type": "string",
"description": "Optional location ID override."
},
"maxFunnels": {
"type": "number",
"description": "Optional cap on total funnels returned."
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
},
"funnelPageSize": {
"type": "number",
"default": 20,
"description": "Funnel page size per request (default: 20, max: 20)."
},
"maxFunnelPages": {
"type": "number",
"description": "Optional cap on total funnel pages returned."
},
"includeNormalized": {
"type": "boolean",
"default": true,
"description": "Include normalized payloads (default: true)."
},
"includeFunnelPages": {
"type": "boolean",
"default": false,
"description": "Include funnel pages with auto-pagination (default: false)."
}
},
"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-audit-inventory-snapshot-example",
"method": "tools/call",
"params": {
"name": "ghl.audit_inventory_snapshot",
"arguments": {
"locationId": "locationId_123",
"tenantId": "tenantId_123",
"includeQa": false,
"includeRaw": false,
"maxFunnels": 1,
"strictTenant": false,
"funnelPageSize": 1,
"maxFunnelPages": 1,
"includeNormalized": false,
"includeFunnelPages": false
}
}
}'

Example Responses

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