MCPHerramientas MCP/Reseñas/create_review_widget

create_review_widget

Writereviews:write

Create an embeddable review widget for a location. Location-scoped — requires clientId, locationId, name. Optional: minRating, sources, selectionMode (recent | highest | manual), dateWindow, count, includeInternal, layout (carousel | grid | wall), status (draft | published, default published). Use count_widget_matches first to preview how many reviews match.

Parámetros
clientIdstringobligatorio
The client's id (from list_clients).
locationIdstringobligatorio
The location's id (from list_locations).
namestringobligatorio
Widget name
minRatingnumberopcional
Minimum star rating (1–5)
sourcesstring[]opcional
Marketplaces to pull from (empty = all)
selectionMode"recent" | "highest" | "manual"opcional
recent | highest | manual
dateWindow"30d" | "90d" | "1y" | "all"opcional
30d | 90d | 1y | all
countnumberopcional
Max reviews to show (default 10)
includeInternalbooleanopcional
Include first-party feedback
layout"carousel" | "grid" | "wall"opcional
carousel | grid | wall
status"draft" | "published"opcional
draft | published (default published)
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_review_widget",
    "arguments": {
      "clientId": "string",
      "locationId": "string",
      "name": "string"
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.