MCPMCP Tools/Reviews/hide_review_source
hide_review_source
Writereviews:write
Hide or unhide a review source from a location's review feed and analytics, without deleting its historical reviews. Pass an auto-detected platform slug (e.g. "google") with type "auto" to hide one of the automatically-pulled platforms, or a custom source's id (from validate_review_source's result, or the id returned by add_review_source) with type "custom".
Parameters
locationIdstringrequired
The location whose source visibility you're changing (required, from list_locations). Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
keystringrequired
The auto platform slug (e.g. "google", "yelp") when type is "auto", or the custom source's id when type is "custom" (required).
type"auto" | "custom"required
Whether `key` is an auto platform slug or a custom source id (required).
hidebooleanrequired
true to hide, false to unhide (required).
Example request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "hide_review_source",
"arguments": {
"locationId": "string",
"key": "string",
"type": "auto",
"hide": true
}
}
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Response shape shown for illustration — the actual content depends on the tool and your data.