MCP server
set_country_blacklist
Sets the countries whose visitors are never identified on this website.
Set blocked countries · Deletes or overwrites data
Sets the countries whose visitors are never identified on this website. The list you send replaces the current one: get_country_blacklist first and send the full list; an empty list blocks nothing. Codes are two letters (DE, FR, US).
| Connection | Account URL, team member URL or OAuth |
|---|
Parameters
| Parameter | Type | Required | Accepts | Description |
|---|---|---|---|---|
websiteId | string | Yes | any | Website ID from list_websites. |
countryCodes | string[] | Yes | any | The full list of two-letter country codes to block. |
Tool definition
What your assistant receives from tools/list:
{
"name": "set_country_blacklist",
"title": "Set blocked countries",
"annotations": {
"title": "Set blocked countries",
"readOnlyHint": false,
"destructiveHint": true,
"idempotentHint": true,
"openWorldHint": false
},
"inputSchema": {
"type": "object",
"properties": {
"websiteId": {
"type": "string",
"description": "Website ID from list_websites."
},
"countryCodes": {
"type": "array",
"items": {
"type": "string"
},
"description": "The full list of two-letter country codes to block."
}
},
"required": [
"websiteId",
"countryCodes"
]
}
}get_country_blacklist
Returns the countries whose visitors are never identified on this website (two-letter codes such as DE or FR).
search_locations
Looks up location names as the location filters expect them: every country with city data, US states (optionally matching q) or cities matching q (optionally within one country).