Skip to main content

Ghl Delete Price

Immutable Catalog Entry

This descriptor comes from the active versioned Portal catalog.

DESTRUCTIVEghl.ghl_delete_price
  • Contract tier: agent_ready
  • Risk: destructive
  • Catalog version: 2026-07-12.2
  • Descriptor hash: f5a7c8edec52f8beaad2aa26aca2f966db665996b1498f8407db90c234aa6ab2

Delete a price for a product. GHL category: Payments / Products / Prices. Requires explicit confirmation.

Request Body

{
"jsonrpc": "2.0",
"id": "ghl-ghl-delete-price-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_delete_price",
"arguments": {
"productId": "productId_123",
"priceId": "priceId_123",
"confirmApply": "confirmApply_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}

Arguments Schema

{
"type": "object",
"required": [
"productId",
"priceId",
"confirmApply"
],
"properties": {
"priceId": {
"type": "string",
"description": "Price ID to delete"
},
"tenantId": {
"type": "string",
"description": "Tenant ID from list_tenants."
},
"productId": {
"type": "string",
"description": "Product ID that owns the price"
},
"locationId": {
"type": "string",
"description": "GHL Location ID (optional, uses default if not provided)"
},
"confirmApply": {
"type": "string",
"description": "Required. Set exactly to \"CONFIRM APPLY\" only after the user explicitly confirms the price should be deleted."
},
"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-delete-price-example",
"method": "tools/call",
"params": {
"name": "ghl.ghl_delete_price",
"arguments": {
"productId": "productId_123",
"priceId": "priceId_123",
"confirmApply": "confirmApply_example",
"tenantId": "tenantId_123",
"locationId": "locationId_123",
"strictTenant": false
}
}
}'

Example Responses

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