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 | rotate | manual | ai), dateWindow (all | 6m | 12m), count (1–50), includeInternal, layout (carousel | marquee), 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). Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
locationIdstringerforderlich
The location's id (from list_locations). Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
namestringerforderlich
Widget name
minRatingnumberoptional
Minimum star rating (1–5)
sourcesstring[]optional
Marketplaces to pull from (empty = all)
selectionMode"recent" | "highest" | "rotate" | "manual" | "ai"optional
recent | highest | rotate | manual | ai
dateWindow"all" | "6m" | "12m"optional
all | 6m | 12m — how far back to pull reviews
countnumberoptional
Max reviews to show (default 10)
includeInternalbooleanoptional
Include first-party feedback
layout"carousel" | "marquee"optional
carousel | marquee
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.