Skip to main content

Ghl Update Product Review

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

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

Update a product review status or reply. GHL category: Payments / Products / Reviews.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-update-product-review-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_update_product_review",
"arguments": {
"reviewId": "reviewId_123",
"productId": "productId_123",
"status": "status_example",
"reply": [],
"detail": "detail_example",
"rating": 1,
"headline": "headline_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"reviewId",
"productId",
"status"
],
"properties": {
"reply": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": true
},
"description": "Optional review reply payload"
},
"detail": {
"type": "string",
"description": "Optional review detail"
},
"rating": {
"type": "number",
"description": "Optional rating update"
},
"status": {
"type": "string",
"description": "Review status"
},
"headline": {
"type": "string",
"description": "Optional review headline"
},
"reviewId": {
"type": "string",
"description": "Product review ID"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"productId": {
"type": "string",
"description": "Product ID for the review"
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, maps to altId)"
},
"strictTenant": {
"type": "boolean",
"default": true,
"description": "Require tenantId to match locationId routing (default: true)."
}
}
}

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-ghl-update-product-review-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_update_product_review",
"arguments": {
"reviewId": "reviewId_123",
"productId": "productId_123",
"status": "status_example",
"reply": [],
"detail": "detail_example",
"rating": 1,
"headline": "headline_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}'

Example Responses

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