# get_country_blacklist (/docs/mcp/tools/get-country-blacklist)

{/* Generated by scripts/sync-mcp-tools.mjs from happierleads-api. Do not edit: change src/routes/mcp/toolDocs.json there, or add content/mcp-notes/get_country_blacklist.mdx. */}

**Get blocked countries** · Read-only

Returns the countries whose visitors are never identified on this website (two-letter codes such as DE or FR). Visits from them are not turned into leads and use no credits. Free.

| Connection | Account URL, team member URL or OAuth |
| --- | --- |

## Parameters [#parameters]

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `websiteId` | `string` | Yes | Website ID from list_websites. |

## Tool definition [#tool-definition]

What your assistant receives from `tools/list`:

```json
{
  "name": "get_country_blacklist",
  "title": "Get blocked countries",
  "annotations": {
    "title": "Get blocked countries",
    "readOnlyHint": true,
    "destructiveHint": false,
    "idempotentHint": true,
    "openWorldHint": false
  },
  "inputSchema": {
    "type": "object",
    "properties": {
      "websiteId": {
        "type": "string",
        "description": "Website ID from list_websites."
      }
    },
    "required": [
      "websiteId"
    ]
  }
}
```
