MCPMCP-Tools/Bewertungen/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.

Parameter
clientIdstringerforderlich
The client's id (from list_clients).
locationIdstringerforderlich
The location's id (from list_locations).
namestringerforderlich
Widget name
minRatingnumberoptional
Minimum star rating (1–5)
sourcesstring[]optional
Marketplaces to pull from (empty = all)
selectionMode"recent" | "highest" | "manual"optional
recent | highest | manual
dateWindow"30d" | "90d" | "1y" | "all"optional
30d | 90d | 1y | all
countnumberoptional
Max reviews to show (default 10)
includeInternalbooleanoptional
Include first-party feedback
layout"carousel" | "grid" | "wall"optional
carousel | grid | wall
status"draft" | "published"optional
draft | published (default published)
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_review_widget",
    "arguments": {
      "clientId": "string",
      "locationId": "string",
      "name": "string"
    }
  }
}
Beispielantwort
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.