MCPMCP Tools/SEO Rank Tracking/add_seo_keywords

add_seo_keywords

Writelistings:write

Start tracking one or more keywords on a location's local-search ranking grid (geo-grid rank tracker). Up to 25 distinct keywords per request; commas and new lines separate keywords, as in the app ("dentist, emergency dentist" is two). The result lists EVERY keyword in `results` with its outcome — added, reactivated (was removed/inactive), already_tracked, duplicate_in_request (same keyword in another casing), empty, or over_request_limit (beyond the 25; send those in another request) — so check it rather than assuming all were added. Requires the location to have latitude/longitude set (throws otherwise); a website (not a local business) is never tracked on a map grid and is refused. Optionally set gridSize (3, 5, or 7 — default 7) and distanceKm (0.4 to 8 km, default 1.5) the first time you configure a location's grid. excluded skips specific grid points from measurement (e.g. a lake, a rival's territory) — pass the (row, col) cells to exclude, 0-indexed from the grid's top-left, all on the grid and leaving at least one point on. Settings outside those rules are refused, never ignored, and nothing is added or spent. Errors are written for the user and can be passed on as they are.

Parameters
locationIdstringrequired
Location database ID or public loc_ ID from list_locations. Required. Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
keywordsstring[]required
Keywords to track (required, up to 25 per request). Commas and new lines inside one entry separate keywords.
gridSize3 | 5 | 7optional
Grid size: 3, 5 or 7 (default 7).
distanceKmnumberoptional
Distance between grid points in km, 0.4 to 8 (default 1.5).
excludedobject[]optional
Grid points to exclude from measurement, as {row, col} pairs.
rownumberoptional
Row index, 0-indexed.
colnumberoptional
Column index, 0-indexed.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "add_seo_keywords",
    "arguments": {
      "locationId": "string",
      "keywords": [
        "string"
      ]
    }
  }
}
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.