Add domain
Add a domain to a group with its default search settings.
MCP tool accuranker_write → add_domain
write
Returns the new domain with its ID. A group that does not exist fails with GROUP_NOT_FOUND; create the group in AccuRanker first. It adds no keywords, reaches no one and is undone by deleting the domain in the app, so it does not wait for your OK.
Parameters
| Name | Type | Description |
|---|---|---|
| domain_name string required | string | Domain without https:// and www. |
| group string required | string | Name of an existing group. |
| display_name string | string | Label shown in your data. |
| search_engine string | string | Default search engine: Google, Bing, Baidu or YouTube. |
| country_locale string | string | Default country and language, for example United States (English). |
| location string | string | Default location; leave out for country level. |
| google_business_name string | string | Helps find local ranking data. |
| include_subdomains boolean | boolean | Count results from subdomains. |
| exact_match boolean | boolean | Count only results whose URL exactly matches the domain name. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "accuranker_write",
"arguments": {
"operation": "add_domain",
"arguments": {
"domain_name": "acme-outdoors.com",
"display_name": "Acme Outdoors",
"group": "Clients",
"search_engine": "Google",
"country_locale": "United States (English)"
}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"domain_id": "48501",
"domain": "acme-outdoors.com",
"display_name": "Acme Outdoors",
"group": "Clients",
"default_search_engine": "Google",
"default_country_locale": "United States (English)"
},
"isError": false
}